0

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.

skaffman
  • 398,947
  • 96
  • 818
  • 769
Jason N. Gaylord
  • 7,910
  • 15
  • 56
  • 95

1 Answers1

4

Have you tried changing the "Load User Profile" App Pool setting to True (the default is False)?

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
lance
  • 16,092
  • 19
  • 77
  • 136