Cannot create virtual diractory
From: Chris Davis (webmaster.pi_at_tycoelectronics.com)
Date: 02/18/04
- Next message: Alec: "IISState - Which process?"
- Previous message: Jure Spik: "Can someone explain IISState @ IIS6 logfiles to me"
- In reply to: Teeravee Sirinapasawasdee: "Cannot create virtual diractory"
- Messages sorted by: [ date ] [ thread ]
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:
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?
>.
>
- Next message: Alec: "IISState - Which process?"
- Previous message: Jure Spik: "Can someone explain IISState @ IIS6 logfiles to me"
- In reply to: Teeravee Sirinapasawasdee: "Cannot create virtual diractory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|