Click here to Skip to main content
11,806,026 members (54,800 online)
Rate this: bad
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

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 0:44am

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

  Print Answers RSS
0 Richard Deeming 225
1 OriginalGriff 215
2 Sergey Alexandrovich Kryukov 170
3 ppolymorphe 125
4 Abhinav S 118
0 OriginalGriff 3,300
1 Maciej Los 1,990
2 KrunalRohit 1,907
3 CPallini 1,855
4 Richard MacCutchan 1,227

Advertise | Privacy | Mobile
Web02 | 2.8.151002.1 | 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