Click here to Skip to main content
15,891,951 members

security exception while stimlusoft web report

Pooyan Behroozfar asked:

Open original thread
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.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
Tags: C#, ASP.NET

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900