IIS - Vitrual Directory

Reply

Join Date: Jul 2004
Posts: 11
Reputation: roda is an unknown quantity at this point 
Solved Threads: 0
roda roda is offline Offline
Newbie Poster

IIS - Vitrual Directory

 
0
  #1
Aug 9th, 2004
Hi,

I am having problem with my IIS on Windows 2000 Server. I've been trying to create a virtual directory from a shared folder on another computer. After the directory was created, I see the red icon on the left of the folder. It is the error icon. But I still see all it's contents.
- Anything wrong?

Then I open my internet explorer, type the address to a page in the virtual directory, I am asked to login. The directory security is set to anonymous access.
- Why am I still asked to login? I try to login but still fail.

Anyone can help me please?


===============
Roda
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 321
Reputation: bentkey is an unknown quantity at this point 
Solved Threads: 8
bentkey bentkey is offline Offline
Posting Whiz

Re: IIS - Vitrual Directory

 
0
  #2
Aug 9th, 2004
I believe you have to tell IIS what user and password to use to access the folder, even if it's set for anonymous access.

Here's what MS says: note points 9, 10,11 and 12
  1. Log on to the Web server computer using an account that has administrative privileges.
  2. Click Start, point to Programs, point to Administrative Tools, and then click Internet Services Manager.
  3. In the Internet Information Services window, expand * server name (where server name is the name of the server).
  4. Right-click the Web site that you want (for example, Default Web Site), point to New, and then click Virtual Directory.
  5. On the Welcome to the Virtual Directory Creation Wizard page, click Next.
  6. On the Virtual Directory Alias page, type the alias that you want (for example, Sales), and then click Next.
  7. On the Web Site Content Directory page, type the UNC path to the remote folder that you have created (for example, \\Server\Share), and then click Next.
  8. On the User Name and Password page, type the user name and password that has sufficient privileges to gain access to the remote folder.

    NOTE: To maintain the highest levels of security, use an account that has the minimum permissions that are necessary to provide access to the remote content.
  9. Click Next, re-type the password that you used in step eight in the Confirm Password dialog box, and then click OK.
  10. On the Access Permissions page, click to select the check boxes of the permissions that you want to set for the virtual directory.

    By default, Read permissions and Run scripts permissions are already selected. For example, if you want to allow users to change the content in the virtual directory, click to select the Write check box.
  11. Click Next, and then click Finish.
bentkey MCSE,CCNA

SupportWindow Remote Desktop Software
Bytewiser Data Systems
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 11
Reputation: roda is an unknown quantity at this point 
Solved Threads: 0
roda roda is offline Offline
Newbie Poster

Re: IIS - Vitrual Directory

 
0
  #3
Aug 10th, 2004
I did as you said and I followed all steps, but still failed. The virtual directory's status is Access Denied.

Please see the attached screen shot for more detail.
Attached Thumbnails
IIS_AccessDenied.jpg   IIS_VirtualDirContent.jpg  
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 321
Reputation: bentkey is an unknown quantity at this point 
Solved Threads: 8
bentkey bentkey is offline Offline
Posting Whiz

Re: IIS - Vitrual Directory

 
0
  #4
Aug 10th, 2004
Try this, select properties on the Virtual directory in IIS then select "connect as". The default group of users that shows up are the local users on the IIS machine. If you are on a domain, you will need to select your domain from the drop down and then pick a user for the logon account. You didn't specify whether you are in a domain environment or not so I'm guessing. IF this doesn't get you going please specify if you indeed are in a domain environment or not. Where you selected the user from, is the shared resource a domain resource? Anything else you can think of. I've set up a test case here where my IIS server is a stand alone server within the domain, the shared folder is on a windows 2000 Pro workstation and it works fine using a domain account. It does not work using any local server account from the IIS server. Let me know how you do.
bentkey MCSE,CCNA

SupportWindow Remote Desktop Software
Bytewiser Data Systems
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 11
Reputation: roda is an unknown quantity at this point 
Solved Threads: 0
roda roda is offline Offline
Newbie Poster

Re: IIS - Vitrual Directory

 
0
  #5
Aug 11th, 2004
My IIS server is a stand alone server within a domain and the shared folder is on another stand alone server within a domain. Both servers do'nt join domain. So how can I connect to the resource?
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 11
Reputation: roda is an unknown quantity at this point 
Solved Threads: 0
roda roda is offline Offline
Newbie Poster

Re: IIS - Vitrual Directory

 
0
  #6
Aug 11th, 2004
Bentkey, you really made me get success. Just now, my problem has been fixed. Yes, the problem was really with access permission. I fixed it by creating the same account, the same username and apssword, on both server, the IIS server and the shared resource server. When I created the virtual directory, and was asked to enter username and password to access the network resource, I just enter the username and apassword that I just created. That's all I did.

Thanks you vermuch for your help, Bentkey.

Any idea or advise will be much appreciated.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 321
Reputation: bentkey is an unknown quantity at this point 
Solved Threads: 8
bentkey bentkey is offline Offline
Posting Whiz

Re: IIS - Vitrual Directory

 
0
  #7
Aug 11th, 2004
Glad to help!
bentkey MCSE,CCNA

SupportWindow Remote Desktop Software
Bytewiser Data Systems
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Windows NT / 2000 / XP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC