The ASP XML-nutty ecommerce site I'm migrating to W2K3 writes a lot of XML and other files to disc. I kept seeing
\\server\siteroot\subdirectory\filename.xml
Microsoft VBScript runtime error '800a0046'
Permission denied
I was trying to write to a web directory. Recognizing this, I made sure that permissions were set in both IIS for the directory and on the folders themselves. Still I kept getting the permission errors when attempting to write to any .
I then discovered that using UNC to write to a folder that was NOT a web directory worked fine. I encountered this problem with both ASP.NET and ASP, so I can only conclude that there is something unique with W2K3 in using UNC format to write to IIS directories. (“e:\inetpub\sitedir\“, for example, worked fine.)
This is one of those problems that I searched and searched and ended up screwing with way too long when I could employ a temporary workaround and move forward, which is what I did. If anyone knows anything unique about W2K3 permissions in web directory UNC acces, I'd love to know what the deal is with this. Thanks.