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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't save to xml file

Status
Not open for further replies.

ryan101

Programmer
Jul 11, 2001
13
US
I'm getting some kind of access restrictions when trying to update an xml file.

The following code works fine. It will read in the file and I can display and manipulate the data:
<%
Set xmlDoc = Server.CreateObject(&quot;Microsoft.XMLDOM&quot;)
xmlDoc.async = false
xmlDoc.load server.mappath(&quot;oncall.xml&quot;)
%>

However, when I attempt to save it back to the disk with this:
<%xmlDoc.save server.mappath(&quot;oncall.xml&quot;)%>
it gives some users an access restriction error.

I'm doing this site in Frontpage, and the users who can update this xml file are those with edit permissions to the site. I set the permissions on this particular file to let everyone edit it, but that still doesn't work; it still gives the same error.

I've also tried moving the file off of this server, but I still get an access restriction.

Does anyone know if there are any special groups I need to add to this file's permissions to let my asp update this file?
 
Check folder permissions within IIS on the path where the file is stored...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top