Asp.net Web Application trying to write to UNC virtual directory on another member server
Posted on 2007-11-20
Currently we have a virtual directory setup on our web server, and it is pointing to a unc share on a member server.
I.E Server A has Virtual Directory 1 pointing to a share on Server B.
We have created a domain user account, and given full control permissions to the share. We also have taken advantage of the "Connect As" option in IIS 6.0.
We can see the contents of the share when browsing the virtual directory in IIS manager, but when trying to upload a file to the directory we are presented with the following error. "Access to the path \\localhost\scandocs\rready is denied". Our virtual directory is the scandocs portion and the rready portion is pulled from login on the web site. What should happen is if there is no directory matching the user that is logged in it should create the parent i.e rready and then put the uploaded file under that directory. If the directory already exists it should write the file under the existing directory.
This works neither when trying to write a new directory or using an existing.
Also it is very important to note that on our development machine (windows xp) everything works as it should, and that we have multiple websites using host headers. With that said we do have the virtual under the default website in IIS. We do not have a host header setup for that though. Any help will be greatly appreciated.