System.Web.AspNetHostingPermission Exception on New Deployment
Posted
by Jason N. Gaylord
on Stack Overflow
See other posts from Stack Overflow
or by Jason N. Gaylord
Published on 2010-02-11T03:22:16Z
Indexed on
2010/03/28
9:23 UTC
Read the original article
Hit count: 336
I have a friend that is moving a web application from one server over to another. The new server has the same settings as the first server, however, he's running into a Security issue. Here's the error details:
Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
The Event Viewer does not point to anything specific in the web.config file or anything. The web applicaiton is on the C: drive. This is a Windows Server 2008 R2 x64 server with a brand new IIS 7 installation. IIS is set in classic mode for this app pool.
© Stack Overflow or respective owner