• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Virtual directory access in IIS website

flapster

n00b
Joined
Jul 5, 2007
Messages
30
On my home network I have my XP workstation (192.168.1.100) and a Win 2003 Server virtual machine (192.168.1.10) hosting a webpage with IIS. It's a simple set up, i have an index.htm on the web server that I can view from my xp machine by putting its IP address in my browser. I want to have a directory within my website that links to a share on my XP machine (because the win2003 server doesn't have much disk space). So I created a virtual directory (called "files") for my website and specified that the content should come from the share located on my xp machine (\\192.168.1.100\shared). All seems well and I can see the files in that share if I open the virtual directory from within IIS Manager.

The problem I'm having is, if I try to access "http://192.168.1.10/files" from my XP machine browser it brings up a login box that says "Connect to 192.168.1.10". But entering the administrator credentials doesn't even get me in. So I tried entering the admin credentials for the XP machine since the virtual directory is linking to a share on the XP machine, but that doesn't get me in either. I've messed around with the directory security options for the virtual directory and even specified that both IP addresses should be "Granted Access" but that doesn't work either.

Any help/suggestions would be greatly appreciated.

Thanks
 
Couple things comes to mind...

(Before starting, please bounce both machines)

1 - Try from the Server 2003 machine to access the XP "files" folder. Do you get a authentication prompt?

2 - What do you want to happen when you do successfully connect to the re-mapped "files" directory - do you want to see the file listing contained therein, or will there be HTML or some other webpage that will be displayed? If a webpage, what language?

3 - These machines are not on a domain, correct? If not on a domain, did you create an identical username/password on both machines? (also advisable to add the user account to the "administrators" group on both machines just for testing purposes)
 
1 - Try from the Server 2003 machine to access the XP "files" folder. Do you get a authentication prompt?

No authentication prompt. It may have the very first time I tried to access the XP machine, but I dont really remember.

2 - What do you want to happen when you do successfully connect to the re-mapped "files" directory - do you want to see the file listing contained therein, or will there be HTML or some other webpage that will be displayed? If a webpage, what language?
Yeah, I would just like a file listing. If I added a page it would just be simple html.

3 - These machines are not on a domain, correct? If not on a domain, did you create an identical username/password on both machines? (also advisable to add the user account to the "administrators" group on both machines just for testing purposes)
No domain. I didn't create identical usernames/passwords until I read this. I did just now but it still isn't working. When I use the identical username/password I still get the following error:
HTTP Error 401.3 - Unauthorized: Access is denied due to an ACL set on the requested resource.
Internet Information Services (IIS)


One time I got a "page does not exsist" error but I can't seem to get that one again.

Thanks for the help so far.
 
I was able to reproduce what you want to see happen between XP/2003 here, but I'm on a domain. Basically, I went to my website root folder in IIS, setup a new virtual directory, enabled "Browse" permissions, and pointed it to a local folder (we'll change this later). After the folder was setup, I went to my //localhost/test url from IE, and saw the contents of my C: drive. I then edited the properties of the virtual folder, told it to goto a network share, gave it the username/password credentials (in your case, you'll do MACHINE_NAME\user_name), entered the password, confirmed the password after clicking "ok", and then things worked fine for browsing a network share from my local IIS mappings.

I can also tell that you've got some permissions issues/conflicts, but where at I'm not yet certain. Workgroup permissions can get a little funky sometimes.

After stepping through these steps locally, I've got another question - is the target folder setup as a folder share?

Also, please set both the 2003 and XP boxes to both use static IP addresses. You may want to bounce your machines and the router as well before continuing testing.
 
After reading your last post I realized something, I completely forgot to check the 'browse' permission and also didn't set a user/password for "Connect As". I Recreated the virtual directory (even though I could have just changed it in the properties) and gave the browse permisssion and set the "connect as" account and password, it's working fine now!

Ugh, what a noob mistake, I shouldn't have looked over those settings. Thank you so much for taking the time to test the setup in your environment. Much appreciated!
 
Back
Top