Solved

Permission for a Virtual Directory

Posted on 2014-02-24
7
258 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
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…

740 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