Solved

Permission for a Virtual Directory

Posted on 2014-02-24
7
253 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 20

Expert Comment

by:Radhakrishnan Rajayyan
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 20

Expert Comment

by:Radhakrishnan Rajayyan
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 20

Accepted Solution

by:
Radhakrishnan Rajayyan 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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
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…

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now