Click here to Skip to main content
11,409,801 members (47,692 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi firends, i face this error while loading stimulsoft report viewer in asp.net

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: Request failed.

Source Error:


[No relevant source lines]

Source File: c:\windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\a01a021c\75a8234a\App_Web_i4d3kuyw.1.cs Line: 0

Stack Trace:


[SecurityException: Request failed.]
Stimulsoft.Report.CodeDom.StiLanguage.GetGeneratedCodePos(String text, Int32& index, Int32& length, StiLanguage language) +0
Stimulsoft.Report.CodeDom.StiLanguage.RemoveGeneratedCode(String text, StiLanguage language) +32
Stimulsoft.Report.StiReport.ScriptPack() +40
Stimulsoft.Report.StiReport.Load(StiReportSLService service, Stream stream) +258
Stimulsoft.Report.StiReport.Load(Stream stream) +273
Stimulsoft.Report.StiReport.LoadFromString(String reportStr) +220
Stimulsoft.Report.StiReport.LoadPackedReportFromString(String reportStr) +25
Stimulsoft.Report.Web.StiWebReport.GetReport() +71
Pages_Document_DocumentReport.Page_Load(Object sender, EventArgs e) +384
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) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +8431
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +253
System.Web.UI.Page.ProcessRequest() +78
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.pages_document_documentreport_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\a01a021c\75a8234a\App_Web_i4d3kuyw.1.csBlush | :O
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Posted 26-Jun-13 1:44am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 270
1 OriginalGriff 255
2 Maciej Los 138
3 Andy Lanng 115
4 Sascha Lefévre 85
0 Sergey Alexandrovich Kryukov 8,771
1 OriginalGriff 6,905
2 Maciej Los 3,390
3 Abhinav S 3,248
4 Peter Leow 3,059


Advertise | Privacy | Mobile
Web04 | 2.8.150414.5 | Last Updated 26 Jun 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100