vamsi krishna

vamsi krishna

  • NA
  • 370
  • 7k

That assembly does not allow partially trusted callers.

Sep 10 2012 9:54 AM
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: App_Web_pv6va9hc.8.cs Line: 0
 
Stack Trace:
 

[SecurityException: That assembly does not allow partially trusted callers.]
Jobseeker_Profileview.readFileContent(String path) +0
Jobseeker_Profileview.Page_Load(Object sender, EventArgs e) +27
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.jobseeker_profileview_aspx.ProcessRequest(HttpContext context) in App_Web_pv6va9hc.8.csBlush | :O 
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
 

Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456

Answers (1)