Click here to Skip to main content
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 OriginalGriff 8,284
1 Sergey Alexandrovich Kryukov 7,407
2 DamithSL 5,614
3 Maciej Los 4,989
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 26 Jun 2013
Copyright © CodeProject, 1999-2014
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