Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > XML
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 2nd, 2006, 09:33 AM
Authorized User
Join Date: Feb 2006
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default xml DOM saving error (msxml3.dll)

I have the following procedure in a asp file. Its design to remove a element from kart.xml using DOM. When I save the node tree back to kart.xml using xmldoc.Save(strPath). I get the following error

msxml3.dll (0x80070005)
Access is denied

My msxml3.dll files is store in my windows/system32 dir which is read only. I prefer to keep this dir read only. How do I over come this problem ?

My code is below

private sub deleteKart(v_ISBN)
   dim xmldoc,v_counter,v_counter2,v_counter3,v_test,xmlR oot,xmlNodes,xmlItem,curNode,tempNode
   dim strPath
   dim v_foundone
   dim v_shopISBN, v_shopTITLE, v_shopPRICE, v_shopDATE
   'dim fileObject

   strPath = Server.MapPath("kart.xml")
   set xmldoc = Server.CreateObject("Microsoft.XMLDOM")
   xmldoc.Async = false
   if not xmldoc.Load(strPath) then
      response.Write "did not load"
      'do some here not sure what
   end if
   set xmlRoot = xmldoc.documentElement
   set xmlNodes = xmlRoot.ChildNodes
   for each xmlItem In xmlNodes
      set curNode = xmlItem.firstChild
      set tempNode = curNode
      if v_ISBN = curNode.firstChild.NodeValue then
      end if
   'response.Write xmldoc.xml
end sub

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"msxml3.dll error '80072ee7' kamn98 XML 5 June 21st, 2013 08:13 PM
msxml3.dll error '800c0008' a.verta Classic ASP XML 3 June 5th, 2008 10:27 AM
msxml3.dll error '800c0014' prakharbirla XML 0 March 24th, 2007 09:35 PM
msxml3.dll error '800c0014' Harry P XML 1 January 31st, 2007 11:18 AM
msxml3.dll error '80072f78' looc Classic ASP XML 3 September 24th, 2004 02:46 PM

All times are GMT -4. The time now is 05:59 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.