vista iis, created new virtual directory, getting error

Posted on 2009-02-13
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

    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.
    LVL 2

    Assisted Solution

    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

    Live: Real-Time Solutions, Start Here

    Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

    Join & Write a Comment

    What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
    Lync server 2013 Backup Service Error ID 4049 – After File Share Migration
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    746 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

    15 Experts available now in Live!

    Get 1:1 Help Now