Originariamente inviato da Gluck74
puoi postare l'intero errore?
Certo.
Ripeto certe pagine che sono presenti funzionano, solo 2 da questo errore
codice:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.
Source Error:
[No relevant source lines]
Source File: d:\aspnettemp\site\accelerauto.com\v2.0\root\0682d4b3\48a16b89\App_Web_pagamento.aspx.3ceaea17.i-ng6unr.0.cs Line: 0
Stack Trace:
[SecurityException: That assembly does not allow partially trusted callers.]
Carrello_Chekout_wbpagamento..ctor() +0
ASP.carrello_chekout_pagamento_aspx..ctor() in d:\aspnettemp\site\accelerauto.com\v2.0\root\0682d4b3\48a16b89\App_Web_pagamento.aspx.3ceaea17.i-ng6unr.0.cs:0
__ASP.FastObjectFactory_app_web_pagamento_aspx_3ceaea17_i_ng6unr.Create_ASP_carrello_chekout_pagamento_aspx() in d:\aspnettemp\site\accelerauto.com\v2.0\root\0682d4b3\48a16b89\App_Web_pagamento.aspx.3ceaea17.i-ng6unr.1.cs:0
System.Web.Compilation.BuildResultCompiledType.CreateInstance() +32
System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +119
System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5446; ASP.NET Version:2.0.50727.5420