We are upgrading our intranet web server from a Windows Server 2000, IIS 4 environment to Windows Server 2008, IIS 7 environment. As part of the upgrade, I'm modifying a classic ASP application to make it work in the new environment.
One of the pages attempts to create a new Word file by copying a template file (.dot) into a Word file (.doc) in the same directory on the web server, using the command:
fs.CopyFile docRoot & templateFile,docRoot & docName, true
Note - docRoot is an absolute path, not a virtual path.
The destination folder is set to have full permissions for:
- Everyone
- Administrators
- IUSR
- IWAM accounts
I still get the following error:
Microsoft VBScript runtime error '800a0046'
Permission denied
Just wondering if anyone had seen this, and if there was a workaround available. (I attempted to set a default application user to use my permissions, but that didn't work, either...)