Solved

Permission for a Virtual Directory

Posted on 2014-02-24
7
255 Views
Last Modified: 2014-02-27
Hello Experts,

on my dev machine, which I just re-formatted, I'm trying to re-setup my websites and I am having trouble with my virtual directories.

When I setup my virtual directory, and test its connection, I get the error message below. The physical path of the virtual directory is in another website under the same environment, and when I access it from that site as a physical directory it works, but when I access it virtually it says path not found.

This did work before I reformatted, and still works on my live machine, so my code should be fine.

Any help will be greatly appreciated.

The error I get is:
Test Connection
0
Comment
Question by:APD_Toronto
  • 4
  • 3
7 Comments
 
LVL 21

Expert Comment

by:RK
ID: 39885478
Hi,

As per the error, the physical path of the virtual directory is missing the domainname\servername$ permission. Try to add it and see it connects fine?. Also, have a look at this thread http://forums.iis.net/t/1148262.aspx?Cannot+verfy+access+to+path 

I hope this helps
0
 

Author Comment

by:APD_Toronto
ID: 39885986
How do I add the "domainname\servername$ permission"?

FYI I am not on an Active Directory environment.
0
 

Author Comment

by:APD_Toronto
ID: 39886008
As well, my IIS is on the same PC as where I am trying to browse. In other words, there is no multiple PCs as per your link.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 21

Expert Comment

by:RK
ID: 39886021
Hi,

Locate the physical path (I.e - C:\inetpub\wwwroot)>>Right click and properties>>Security>>Edit>>Add>>Click on "Object type">>Tick "Computers" and OK>>Add the DomainName\servername$ and click check names. Select the appropriate permissions and click ok.
0
 

Author Comment

by:APD_Toronto
ID: 39886051
Under security, I do not have Object Type>>Computers.wwwroot properties
0
 
LVL 21

Accepted Solution

by:
RK earned 500 total points
ID: 39886059
Click "Add" you'll get the Object type button. Since you don't have a domain environment, just type servername$. Perform IISRESET and check the issue.
0
 

Author Comment

by:APD_Toronto
ID: 39886158
When I type "servername$" and <actual server name>$, both not found
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
OfficeMate Freezes on login or does not load after login credentials are input.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question