[Last Call] Learn how to a build a cloud-first strategyRegister Now


vista iis, created new virtual directory, getting error

Posted on 2009-02-13
Medium Priority
Last Modified: 2012-06-21
I published from visual studio to a directory on my desktop.  When I try to load the page, I get this error:

The requested page cannot be accessed because the related configuration data for the page is invalid.

Config Error Cannot read configuration file due to insufficient permissions  

Is there some security settings I have to worry about?

I am very new to iis7
Question by:jackjohnson44
LVL 15

Accepted Solution

aibusinesssolutions earned 1000 total points
ID: 23643885
If you created a new virtual directory, you will need to give IIS permission to read from the folder that you pointed it to.

You can do this either through IIS, or you can simply right click on the folder that contains your virtual directory, and make sure that IUSR, IIS_IUSRS and Network Service have read access to the folder.

Assisted Solution

dhananjayad earned 1000 total points
ID: 23643926
grant the read permission to IIS_IUSRS to the folder where your web app is located.

Also it might be a better idea to convert your application to a web application via II7. To do this, simply right click in the folder within IIS7 and chose convert to Application option.

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Question has a verified solution.

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

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month18 days, 12 hours left to enroll

834 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