Request for the permission of type 'System.Web.AspNetHostingPermissio n
Hello guys. I have tried a lot of things to make it work. I have 3 win2003 servers with IIS6 using a shared volume as home directory working fine. Im working on a new server but after make a portable backup from existing server and restore to the new server (and some configs like IP and certificates) i got the error: Server Error in '/' Application. -------------------------------------------------------------------------------- Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. (\\storage.client.lwo.domain.com.br\dis-web$\sites\client.com.br\web\web.config line 281) Source Error: Line 279: <httpModules> Line 280: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 281: <add name="ClickTaleIntegrationModule" type="ClickTale.IntegrationModule.ClickTaleIntegrationModule, ClickTaleIntegrationModule" /> Line 282: </httpModules> Line 283: </system.web> Source File: \\storage.client.lwo.domain.com.br\dis-web$\sites\client.com.br\web\web.config Line: 281 -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:2.0.50727.3643; ASP.NET Version:2.0.50727.3634 Im not sure what is happening, i used caspol to grant full trust and installed aspnet sdk to use graphical interface. Anybody can help? Thanks Luiz Mercante MCITP SQL 2008 | MCTS SQL 2008 | MCTS Windows Apps | MCTS Windows Network | MCP 2003 sqldicas@outlook.com http://sqldicas.com.br Se a resposta foi til de alguma forma, classifique.
November 23rd, 2012 9:33am

OK, after few hours with focus, i found 3 DLL "locked". It was not the ClickTaleIntegrationModule DLL but another DLL was "locked". Right click and "unlock" solve my problem. Look all your DLLs in /bin folder (it is not a nice task but...) and find one or more DLL locked. I hope it helps someone. RegardsLuiz Mercante MCITP SQL 2008 | MCTS SQL 2008 | MCTS Windows Apps | MCTS Windows Network | MCP 2003 sqldicas@outlook.com http://sqldicas.com.br Se a resposta foi til de alguma forma, classifique.
Free Windows Admin Tool Kit Click here and download it now
November 23rd, 2012 1:22pm

Thanks for your sharing the solution with us.
November 25th, 2012 8:09am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics