This is a migrated thread and some comments may be shown as answers.

Issue Using Telerik Report

1 Answer 112 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mohit
Top achievements
Rank 1
Mohit asked on 10 Jun 2011, 05:34 AM
I am using telerik reports in Web Cloud Service.
when i preview the report in the PREVIEW tab of the report, it works fine.
but when i see the report in the viewer the following error message is shown after the "Generating Report" Progress.

" Not running in a hosted service or the Development Fabric "

Exception Details: System.InvalidOperationException: Not running in a hosted service or the Development Fabric.
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:
[InvalidOperationException: Not running in a hosted service or the Development Fabric.]
   Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitor.GetDefaultStartupInfoForCurrentRoleInstance() +169
   Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener..ctor() +57
[ConfigurationErrorsException: Could not create Microsoft.WindowsAzure.Diagnostics.DiagnosticMonitorTraceListener, Microsoft.WindowsAzure.Diagnostics, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35.]
   System.Diagnostics.TraceUtils.GetRuntimeObject(String className, Type baseType, String initializeData) +6190124
   System.Diagnostics.TypedElement.BaseGetRuntimeObject() +45
   System.Diagnostics.ListenerElement.GetRuntimeObject() +91
   System.Diagnostics.ListenerElementsCollection.GetRuntimeObject() +150
   System.Diagnostics.TraceInternal.get_Listeners() +176
   System.Diagnostics.TraceInternal.WriteLine(String message) +113
   System.Diagnostics.Trace.WriteLine(String message) +4
   Telerik.Reporting.Processing.Timer..ctor(String name, Stopwatch stopwatch) +92
   Telerik.Reporting.Processing.Timer..ctor(String name) +61
   Telerik.Reporting.Processing.ReportProcessor.RenderReport(String format, IReportDocument reportDocument, Hashtable deviceInfo, Hashtable renderingContext, CreateStream createStreamCallback) +121
   Telerik.ReportViewer.WebForms.ServerReport.Render(HttpResponse response, String format, Int32 pageIndex) +900
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride() +262
   Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(NameValueCollection urlQuery, HttpContext context) +77
   Telerik.ReportViewer.WebForms.HttpHandler.ProcessRequest(HttpContext context) +202
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +100
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


Kindly help me..

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 10 Jun 2011, 07:54 AM
Hi Mohit,

The error is not directly related to Telerik Reporting. More information and suggestions how to fix it are available on the net e.g.:
  • http://michaelcollier.wordpress.com/2011/01/16/not-running-in-a-hosted-service-or-the-development-fabric-what/
  • http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/0500f5b8-e456-42c9-8e20-98e3a0ff51b7/

Kind regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Mohit
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or