Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • heavywave 9 posts 29 karma points
    Nov 04, 2009 @ 18:35
    heavywave
    0

    System.Web.AspNetHostingPermission

    I get the following error when I try to open the default umbraco website.

    OS: Windows 7. IIS 7.5 .Net framework 3.5 SP1

    Umbraco 4.0.2

     

    Application information: 

        Application domain: /LM/W3SVC/3/ROOT-3-129018294338359501 

        Trust level: Full 

        Application Virtual Path: / 

        Application Path: C:\Visual Studio\umbraco\ 

        Machine name: MEGABOX 

     

    Process information: 

        Process ID: 3296 

        Process name: w3wp.exe 

        Account name: IIS APPPOOL\manifico 

     

    Exception information: 

        Exception type: ConfigurationErrorsException 

        Exception message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. 

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 04, 2009 @ 19:35
    Chris Houston
    0

    Are you running Windows 7 32 bit or 64 bit version as I have just googled the error and found various posted related to this error occuring on the 64 bit version of Vista so might be related.

    Have you checked all the directory permissions are correct?

    Cheers,

    Chris

  • heavywave 9 posts 29 karma points
    Nov 04, 2009 @ 19:47
    heavywave
    0

    64-bit yes.

    Should be, other websites are running fine. Although I had to give write permission to all user accounts to the folder, but I don't think it's related.

  • Chris Houston 535 posts 980 karma points MVP admin c-trib
    Nov 05, 2009 @ 11:48
    Chris Houston
    0

    Can you try and give the "Everyone" account full access to this sites root folder and all child folders, that should determine if it's a permissions issue on one of the web site folders or not. It's obviously a permissions issue, we just need to find out what it's having a problem accessing!

    Cheers,

    Chris

  • jaizedelmann 19 posts 41 karma points
    Nov 05, 2009 @ 14:26
    jaizedelmann
    0

    Remember to check replace rights on child files and folders when u give "everyone" access

  • heavywave 9 posts 29 karma points
    Nov 05, 2009 @ 15:17
    heavywave
    0

    Nothing changes if I give "Everyone" full access.

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Nov 05, 2009 @ 15:34
    Peter Dijksterhuis
    0

    Check the identity the App-pool runs under. Change to Network Service if it isn't and then check if it works.

  • heavywave 9 posts 29 karma points
    Nov 05, 2009 @ 15:35
    heavywave
    0

    OK, so apparently the web.config for .Net 3.5 is broken: http://umbraco.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=23321#DownloadId=70203

    I switched to Classic mode and everything works now.

  • heavywave 9 posts 29 karma points
    Nov 05, 2009 @ 15:36
    heavywave
    0

    The identity thing works too! Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft