Previous Next

Thread: access denial in web app

Last post 08-04-2008 7:07 PM by see-sharper. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 08-04-2008, 12:31 AM

    access denial in web app

     I have an ASP.NET 2.0 website which contains a forum in a virtual directory, running as a separate web application. Now the main site loads fine, but the forum application falls over with this message:

    An error occurred loading a configuration file: Failed to start monitoring changes to 'C:\Inetpub\vhosts\menslineaus.org.au\httpdocs' because access is denied.

    Source Error:

    [No relevant source lines]


    Source File: C:\Inetpub\vhosts\menslineaus.org.au\httpdocs\web.config    Line: 0


    I've looked this error up of course, and gathered that this is most likely a permission problem - but what?? I've added NETWORK SERVICE and ASP.NET Machine Account to the permissions. I tried altering the processModel setting in machine.config so ASPNET runs in the System process (but that was probably wrong anyway because the server is WS2003/IIS6.) I even tried temporarily giving full control to everyone. No cigar. So I'm thinking maybe this isn't a permission problem after all.

    Oddly - don't know if this is in any way related - I have no ASP.NET panel in IIS. Haven't worked that out either though I've tried a few things I've dug up on posts.

    Ideas? I should point out I'm a noob in the world of IIS admin - my thing is mainly the web development side, but cost cutting has meant I'm now the web server administrator as well ... sigh...
     


     

  • 08-04-2008, 3:57 AM In reply to

    Re: access denial in web app

    Hello,

    Do you have such file: C:\Inetpub\vhosts\menslineaus.org.au\httpdocs\web.config ?

    Also, what is your forum based- asp.net, php or other?

    Regards

  • 08-04-2008, 3:18 PM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 6:27 AM
    • Lawrenceville, NJ
    • Posts 3,836
    • IIS MVPs

    Re: access denial in web app

    For starters, make sure that IIS_WPG has at least NTFS Read permissions to C:\Inetpub\vhosts\menslineaus.org.au\httpdocs.

  • 08-04-2008, 7:07 PM In reply to

    Re: access denial in web app

    Thank you Tom - that has at least got me through to the next layer of the error onion! Now I've got "ConnectionString property has not been initialized", but that at least is something I have a hope of understanding. Cheers.

Page 1 of 1 (4 items)
Page view counter