This issue is starting p*ss me off a bit.
I created a page in regular ASP/IIS 5.0 on my PDC to go find files on my file server and write the links back to the page as HTTP links using a Virtual Directory Path.
So users can click and download the files.
All works fine. I do remember adding a IUSR_IISSERVERNAME account to the File Server to allow me access to the shared files.
Or atleast thats what i thought it was for.
Now I am in the process of doing the exact same thing on a Different IIS server in ASP.net to speed up performance.
I get the error: Logon failure: unknown user name or bad password.
Regardless of how i reference the path. \\Server\Share or H:\Share (Mapped Drive) i get this error. I even tried \\server\H$\Share
I tried adding the new IUSR_IISSERVERNAME to the File Server and gave the account read permissions but with no success.
i call the file lookup with the System.IO.Directory.GetFil
I am sure this a permissions issue relating to the IUSR_SERVERNAME account not having the rights to access the network share.
Any help would be greatly appreciated with this.
To make things more clear here is a link with basically my exact same problem