Cannot create virtual diractory

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Chris Davis (webmaster.pi_at_tycoelectronics.com)
Date: 02/18/04


Date: Wed, 18 Feb 2004 14:52:22 -0800

There were a couple of times that I needed to link to
automated test results in our test lab. Files were
stored on its local drive and I needed to display them
through our intranet to any user inside the company.
Here's steps I took:

PREPARATION
-----------
* Create Low-Priviledged NT Domain account
This allows communication between the web server and the
test machine. Let's call this account "MYDOMAIN\WebUser".

* Create share to folder
On the test computer, I created a share. Let's call the
computer \\TESTCOMPUTER. I created a share to the folder
which has the test results that is updated hourly. Let's
call the share "TESTRESULTS".

* Verify File and Share permissions
I set the __share permissions__ so that only the
MYDOMAIN\WebUser account could have read access only.
I verified/set the __file permissions__ so that the
Everyone group had change control to the files themselves.

Sidenote: The steps above permits anyone who is logged in
to the local system to change files, but share
permissions are limited to read-only for the
MYDOMAIN\WebUser account.

MAKING THE CONNECTION
---------------------
* On the web server in the Internet Services Manager, I
created a virtual directory (right-click -> New ->
Virtual Directory).

* I named the new virtual folder "TestResults" which
pointed to the "\\TESTCOMPUTER\TESTRESULTS" share.

* Suppy the MYDOMAIN\WebUser account information so that
the web server could access the files through the share
we created.

* Specify the kind of IIS permissions the folder needs
(Execute, etc.)

If you see a red stop sign in place of your virtual
folder, there's a permissions problem. Make sure you
connect as the proper user and don't forget to include
the domain name with the user account. In this example,
don't use just "WebUser" for the username. Instead,
enter "MYDOMAIN\WebUser" in the Username field.

If all goes well, you should now be able to connect to
the share using a web address like:

http://myserver/TestResults/

If you don't have a default document like default.asp,
default.htm, then you may get a page which looks like an
error. If this is so, add a default.htm to the folder or
point web visitors directly to the document that you need
to access.

Hope this helps.

-Chris Davis

>-----Original Message-----
>I want to create virtual directory on IIS 5.1 (Windows
XP) which point to network drive but I cannot. Windows
alert me that multiple connection on a server or same
resources with same user did not allow. What should I do
if I want to point my virtual directory to network drive?
>.
>



Relevant Pages

  • Re: For those of you who have disabled UAC while using user/admin, you dont have full admin rights &
    ... In Vista, an admin user doesn't have permissions to ... has the ability to take ownership and change permissions. ... all one has to do is add a second user account on the folder ...
    (microsoft.public.windows.vista.general)
  • Re: User Account lost when XP had to be reinstalled
    ... you can set XP Home permissions in Safe Mode. ... This is not your administrator account, ... >Open Explorer, go to Tools and Folder Options, on the ... >tab, click advanced, go to the Owner tab and select the ...
    (microsoft.public.windowsxp.accessibility)
  • Re: For those of you who have disabled UAC while using user/admin, you dont have full admin rights &
    ... In Vista, an admin user doesn't have permissions to do everything they did in previous verions of Windows, but still has the ability to take ownership and change permissions. ... Really, all one has to do is add a second user account on the folder or file and give full rights as like the Administrator group, which would be the User account of the user/admin that logs into the machine. ...
    (microsoft.public.windows.vista.general)
  • Re: For those of you who have disabled UAC while using user/admin, you dont have full admin rights &
    ... In Vista, an admin user doesn't have permissions to do everything they did in previous verions of Windows, but still has the ability to take ownership and change permissions. ... Really, all one has to do is add a second user account on the folder or file and give full rights as like the Administrator group, which would be the User account of the user/admin that logs into the machine. ...
    (microsoft.public.windows.vista.general)
  • Re: How to unlock the user account files in an previous Window XP
    ... > ownership and permissions supersede administrator rights. ... This is not your administrator account, ... > Open Explorer, go to Tools and Folder Options, on the view tab, scroll to ... > tab, click advanced, go to the Owner tab and select the user that was logged ...
    (microsoft.public.windowsxp.accessibility)