Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML Insert error

Status
Not open for further replies.

bearfish

Programmer
Nov 10, 2003
28
MY
Hi, i got this message when trying to insert from web form into xml file.
Error Type:
msxml3.dll (0x80070005)
Access is denied.
/person/VerifyPerson.asp, line 64
// 7) Now save the nodes to the file
line 64 -> xmlDoc.save(Server.MapPath("Person.xml"));

What does Server.MapPath point to actually?
Anyone have any idea how to get around with this error?
Thanks.
 
Do you have write permissions for the target folder?

Remember that the user will be the internet account.
 
I've added the folder Person as virtual directory in the IIS. Have enabled Script source access, read, write. I guess this should allow to write into the folder. Execute Permission, I've set to scripts only. Any idea whats gone wrong?
 
This seems ok - but check on the server that the properties are set to full control fro the iuser_machinename user
 
ok. i uncheck the anonymous access, then able to write to xml. thanks for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top