Last post Oct 16, 2008 12:30 AM by amolinmicrosoft
Mar 29, 2007 05:01 PM|GreyPonyTailCoder|LINK
Server 2003 machine running a web app has a virtual directory pointing to a Data Server (also Server 2003). The web app wants to read files from the Data Server and write results to the Data Server. The web app is running asa domain account that does have
permissions to the shared directory on the Test Server. Additionally, the virtual directory is set to use those same domain account credentials.
When on the Web App server, I can look at the virtual directory from within the Computer Management console, and see that it is indeed pointing to the virtual directory (It shows a little plus sign next to the folder, and the virtual directory's subordinate
folders show up).
If I try to access the virtual directory using the UNC path (\\WebServer\virtdir), I get the Network Path Not Found Error. There are no new entries on the Data Server's Security Event Log. If I try to access the virtual directory using the HPPT address, it
If I log on to my XP machine on my domain account, I can use the virtual directory on the Web App server (\\WebServer\virtdir).
If I log on to my XP machine as Administrator ( a non-domain account), I can use the virtual directory on the Web App server (\\WebServer\virtdir).
I logged on to the Data Server (as Administrator) and attempted to use the Web Server's virtual directory, and got the Network Path Not Found error. When I looked at the security log for the Data Server, there were no new entries at all from that attempt.
When I developed all of this on my XP machine, it all worked fine.
Summary: Access virtual directory from Server 2003 machine - no luck, Access virtual directory from XP - works fine.
The server 2003 machine is a new installation and is very locked-down. I suspect that there is a setting somewhere that I can change and it will all start working???
Apr 03, 2007 10:32 AM|sandeepantony|LINK
from the setup you've described it looks like your web application is using delegation
this is the architecture i believe
XP(client)---------->Web Server (vir dir)------------------------->File share
i've a couple of questions
1) what is the authentication mode? If anonymous u said u've set to use the domain credentials
2) when u say u can access it from ur XP machine do u mean http://webserver/virdir or do u mean \\webserver\virdir
the later one is not possible as \\webserver is a network share unless u've mapped the file share to same name as ur virdir
lets get one thing straight
Are you trying to access over http://webserver/virdir or \\webserver\virdir
I can help you with the first one, the second one would need a networking person to help u out.
Apr 03, 2007 05:31 PM|GreyPonyTailCoder|LINK
Thank you for your reply.
I was trying to get the second method to work.
I figured out what was wrong. The Web Client service was disabled, so enabled it and started it. I can now access my files, and my Web App can read/write to/from our Data Server.
Now I'm concerned about how much of a security hole I opened up, but at least we have our basic functionality.
Oct 16, 2008 12:30 AM|amolinmicrosoft|LINK
I am facing a similar issue when creating a virtual directory.I have some image files on a network share and I want to map that folder to avirtual folder in IIS. After the Virtual directory wizard is completed when I try to browse the image file it says
"File not found".When I enter my domain credentials in the Authentication method box under Directory Security tab it never authenticates me with my credentials.I tried giving full control to Network service User ,My machine Network service user and my self
but with none of it I can browse the images.
Would you be able to help me in this?
Thanks in advance.