Solved

Permission for a Virtual Directory

Posted on 2014-02-24
7
256 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows login to server issues 1 33
multiple reboots in a pc.. (event id 6006) 5 58
Invalid Profile Message On Windows 7 8 30
Sony EVI-D70 and Skype 2 32
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…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
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). …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

808 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