Hi,
We have a web application that recently used the above captioned. However, during deployment (we've followed the the guidelines stated in http://www.telerik.com/help/reporting/installation-deploying-on-server.html), we encountered an error.
On the browser, it outputs the following:
Server Error in '/ChatterboxTest2' 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: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.]
System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly) +665
System.Diagnostics.EventLog.SourceExists(String source, String machineName) +104
System.Diagnostics.EventLog.VerifyAndCreateSource(String sourceName, String currentMachineName) +75
System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +205
System.Diagnostics.EventLog.WriteEntry(String message) +12
System.Diagnostics.EventLogTraceListener.Write(String message) +17
System.Diagnostics.EventLogTraceListener.WriteLine(String message) +7
System.Diagnostics.TraceInternal.WriteLine(String message) +184
System.Diagnostics.Trace.WriteLine(String message) +4
Telerik.Reporting.Processing.Timer..ctor(String name) +48
Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, CreateStream createStreamCallback, String& documentName) +74
Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +343
Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +119
Telerik.ReportViewer.WebForms.HttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +121
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
And on the Event log:
Event Type: Information
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1314
Date: 7/28/2009
Time: 4:11:33 PM
User: N/A
Computer: XPVPC
Description:
Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 7/28/2009 4:11:33 PM
Event time (UTC): 7/28/2009 4:11:33 AM
Event ID: 25f3904955754ff2b6ac42f9c85523a7
Event sequence: 35
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/ChatterboxTest2-7-128932276281734416
Trust level: Full
Application Virtual Path: /ChatterboxTest2
Application Path: C:\inetpub\wwwroot\ChatterboxTest2\
Machine name: XPVPC
Process information:
Process ID: 480
Process name: aspnet_wp.exe
Account name: XPVPC\ASPNET
Request information:
Request URL: http://localhost/ChatterboxTest2/Telerik.ReportViewer.axd?culture=en-US&uiculture=en-US&instanceid=da3949441be24c4097c22bbef4b8b4c8&optype=Report&PageIndex=0
Request path: /ChatterboxTest2/Telerik.ReportViewer.axd
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: XPVPC\ASPNET
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Kindly advice how to fix this. Cheers.
Regards,
Julius
We have a web application that recently used the above captioned. However, during deployment (we've followed the the guidelines stated in http://www.telerik.com/help/reporting/installation-deploying-on-server.html), we encountered an error.
On the browser, it outputs the following:
Server Error in '/ChatterboxTest2' 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: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.]
System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly) +665
System.Diagnostics.EventLog.SourceExists(String source, String machineName) +104
System.Diagnostics.EventLog.VerifyAndCreateSource(String sourceName, String currentMachineName) +75
System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +205
System.Diagnostics.EventLog.WriteEntry(String message) +12
System.Diagnostics.EventLogTraceListener.Write(String message) +17
System.Diagnostics.EventLogTraceListener.WriteLine(String message) +7
System.Diagnostics.TraceInternal.WriteLine(String message) +184
System.Diagnostics.Trace.WriteLine(String message) +4
Telerik.Reporting.Processing.Timer..ctor(String name) +48
Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, CreateStream createStreamCallback, String& documentName) +74
Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +343
Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +119
Telerik.ReportViewer.WebForms.HttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +121
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
And on the Event log:
Event Type: Information
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1314
Date: 7/28/2009
Time: 4:11:33 PM
User: N/A
Computer: XPVPC
Description:
Event code: 4010
Event message: An unhandled security exception has occurred.
Event time: 7/28/2009 4:11:33 PM
Event time (UTC): 7/28/2009 4:11:33 AM
Event ID: 25f3904955754ff2b6ac42f9c85523a7
Event sequence: 35
Event occurrence: 2
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT/ChatterboxTest2-7-128932276281734416
Trust level: Full
Application Virtual Path: /ChatterboxTest2
Application Path: C:\inetpub\wwwroot\ChatterboxTest2\
Machine name: XPVPC
Process information:
Process ID: 480
Process name: aspnet_wp.exe
Account name: XPVPC\ASPNET
Request information:
Request URL: http://localhost/ChatterboxTest2/Telerik.ReportViewer.axd?culture=en-US&uiculture=en-US&instanceid=da3949441be24c4097c22bbef4b8b4c8&optype=Report&PageIndex=0
Request path: /ChatterboxTest2/Telerik.ReportViewer.axd
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: XPVPC\ASPNET
Custom event details:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Kindly advice how to fix this. Cheers.
Regards,
Julius