-
saving an XML document
i am using an XML configuration file for a menu on my website. I want to be able to write changes to the file from a page on the site, but i keep on getting an "Access Violation" when I try to write to disk.
I have setup the directory to allow write access from the IIS configuration.
Any help would be greatly apprectiated!
Thanks, Rich
-
Make sure you have permissions to write. Check int the IIS console if write permissions are set. Also, if you are using a server OS with NTFS file system, check the security options for the directory you want to write to.
-
the solution
thanks for your input..
it just so happens that i have figured out how to do it in the meanwhile:
as you said, it is important to have the settings correct in IIS. also, you have to set the directory permissions for the IUSR_<computername> account to allow writing.
The IUSR_<comptuername> account is the internet guest account used when someone logs into your IIS server.
regards,
richard