Windows 7 IIS 7.5 Install

Topics: ASP.NET 2.0
Dec 20, 2010 at 5:39 PM

How do you configure BlogEngine.NET_1.6.1 to run on Windows 7 IIS 7.5?

IIS7.5

1) Added virutal directory BlogEngineNET - check
2) Convert to application using DefaultAppPool - check
3) Try to access - failed
   HTTP Error 500.19 - Internal Server Error
     ErrorCode 0x80070005
     Config Error Cannot read configuration file due to insufficient permissions
     Config File \\?\C:\Usr2\BlogEngineNET\web.config

4) Add IIS_IUSRS, IUSR with 'Read & Execute', 'List folder contents', and 'Read' permission to C:\Usr2\BlogEngineNET

5) Try to access - failed


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

 
Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955

Thank you in advance for the help.

PS. My ultimate plan is to run this from my GoDaddy account.

Coordinator
Dec 20, 2010 at 6:15 PM

See this:
http://dbvt.com/blog/post/AspNetHostingPermission-Security-Exception-Fix-with-Ajax-in-IIS7.aspx

Dec 27, 2010 at 1:27 PM

Thank you.

That did the trick.

Jim Rand

From: BenAmada [email removed]
Sent: Monday, December 20, 2010 1:16 PM
To: jimrand@ix.netcom.com
Subject: Re: Windows 7 IIS 7.5 Install [blogengine:239024]

From: BenAmada

Dec 27, 2010 at 1:28 PM

That did the trick.

Thank you.

Jim Rand