Exception message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
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?
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.
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!
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.
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
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.
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
Remember to check replace rights on child files and folders when u give "everyone" access
Nothing changes if I give "Everyone" full access.
Check the identity the App-pool runs under. Change to Network Service if it isn't and then check if it works.
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.
The identity thing works too! Thanks!
is working on a reply...