Within the web site, an asp file uses CPSHost.dll to upload a file. (The upload is successful when the uploads destination folder is local to the IIS server.)
However, when the web site uploads virtual directory points to a destination folder in on a computer different than the IIS server, the failure message in the subject is returned.
For the failure, Process Monitor shows the process w3wp.exe successfully writes the uploaded file to the IIS Server's local temp location of C:\Windows\Temp\D356C8. It also shows the uploaded file is successfully deleted from the temp folder (presumably in the attempt to move it to the destination folder on the networked computer, \\testing-HA3\
The address shown in the browser on the IIS Server is https://testing-ha2.momsys.com/webmailbox/cpshost.dll?PUBLISH?.
The identity of the Application pool is NetworkService
My guess is either
- A destination permissions issue exists
- or CPSHost.dll can't move a file from the temp area to the destination on another computer.
To try to address the possible permissions issue, I've granted the IIS Server computer\\testing-HA2 (via Testing-HA2$) full control on the destination directory and its parent directory. The logged on Active Directory user also has full control on the destination folder and read access to its parent directory.
So is another permission needed here?
Or does the temp folder need to be configured for the destination disk? (If so, how?)
Or is something else the issue?
Thanks!