We have our servers in a server farm in a domain. Let me call him LIVE.
Our development computers live in a completely separate corporate domain, in miles and miles. Let me call him CORP.
We have a large central storage unit (unix) that stores the images and other media needed by many web servers in the server farm. IIS application pools run as (let them say) LIVE \ MediaUser and use these credentials to connect to the central repository as a virtual directory, retrieve images and serve them as if they were local to each server.
The problem is in development.
On my development machine. I log in as CORP \ MyName. My IIS 6 application pool runs as a network service. I cannot start it as a user from the LIVE domain, because my machine is not (and cannot be) joined to this domain.
I'm trying to create a virtual directory, point it to the same network directory, click "Connect as", uncheck "Always use authenticated user credentials when checking access to the network directory" so that I can enter login information, enter credentails for LIVE \ MediaUser, click OK, check your password, etc.
This does not work. I get "HTTP Error 500 - Internal Server Error" from IIS.
The IIS log file reports sc-status = 500, sc-substatus = 16, and sc-win32-status = 1326.
The documentation states that this means that the UNC authorization credentials are incorrect, and Win32 status means "Login failed: unknown username or invalid password."
It would be good and good if it were close to the exact. I doubled and fixed the problem. I tried several well-known good logins. IIS Manager allows me to view the file tree in its window, but only the browser kicks me out.
I even tried going to the Directory Security tab, and in the Authentication and Access Control section I tried to use the same LIVE username for anonymous access credentials. Bad luck.
I am not trying to run any ASP, ASP.NET or other dynamic information from a virtual directory. I just want IIS to be able to upload static images, css and js files.
If anyone has bright ideas, I would be very grateful!