Telerik Forums
Reporting Forum
1 answer
129 views
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..
Steve
Telerik team
 answered on 10 Jun 2011
1 answer
72 views
I want to be able to save my chart styles for re-use. How can I achieve this ?

I know i can save report styles by exporting. I'm also aware that skins can be defined for re-usable chart styles. 
Neither of these two features allow me to save the styles I've defined for a specific chart. Is this possible ? If its not possible is this feature on your product road map??

BTW... the product road map for telerik reporting is kinda useless... just fyi...
Steve
Telerik team
 answered on 09 Jun 2011
0 answers
102 views
Hi,

I have a table, where one of the columns has pictures that have a ReportAction.
In development environment (windows 7) and in a production environment with Windows 2003 Server we have no problems.
In a production environment with Windows 7 the pictures don't have the links to the reports.
Everything is similar in the various environments.
Anyone with the same problem? Any suggestion?

Thanks
Carlos
Carlos
Top achievements
Rank 1
 asked on 09 Jun 2011
1 answer
93 views
Hi,

I would like to test multivalue report parameters but I don't find any example or any tutorial about this.
Is there anyone who can explain how to use them please ?
I'm using Telerik reporting into a silverlight application.

Thanks

Steeve
IvanDT
Telerik team
 answered on 09 Jun 2011
0 answers
78 views
Hello,

I am some issue on using an objectdatasource with return an item which implements the ICustomTypeDescriptor interface.

The properties doesn't work and the reporting engine is not calling the ICustomTypeDescriptor methods (such as GetProperties). Can you help me?
Raffaele
Top achievements
Rank 1
 asked on 09 Jun 2011
3 answers
120 views
Dear all,

I am fine to create and run most of my direct reports, now I have moved to the complex ones.
By complex I mean that contain a complex logic to combine the who;e data needed for the report.

I first create a class to bind to my report object, that will hold all my data.
I then define an IEnumerable<myclass> GetData method to fetch the data:
1- The method first call another method marked with [invoke] to populate the primary data as IEnumerable<myclass>
2- The method then add new entities to my IEnumerable variable holding my initial values.
and so on ..

When I call the method that doesn't require any additional data to be added to my initial IEnumerable variable, I am fine & the report is displaying the data, BUT if the scenario require additional data to be added ... the report doesn't display anything.

What is wrong with this ...
Regards
Ubuntu
Top achievements
Rank 1
 answered on 08 Jun 2011
1 answer
119 views
After reviewing the documentation article found here: http://www.telerik.com/help/reporting/table-working-with-table-cross-table-list-items.html. I am unclear as to whether or not i can customize the way my data is displayed. I'm trying to add a second row to my template so that for each item in my datasource I am able to have 3 columns on the first row and 1 column that spans the length of the table. Is this possible in telerik reporting ? I tried with a table and a crosstab but i was only able to add a row group with 3 columns when i only need one. 

Thanks, 

Stefen 
Stefen
Top achievements
Rank 1
 answered on 08 Jun 2011
4 answers
277 views
We have a Telerik report that includes a stacked bar chart. The chart gets data from a SQL datasource. The chart is created fully at design time (not programmatically), including adding two series entries with titles and column names. The y axis contains currency amounts, and we'd like it to show as currency. We've tried setting the valueformat appropriately, and it appears to change it on the visual display, but when we preview or run the report the numbers are unformatted.. I notice that the following line is added to the designer.vb file;

Me.ChartSpendByTier.PlotArea.YAxis.Appearance.ValueFormat = Telerik.Reporting.Charting.Styles.ChartValueFormat.Currency

But the problem is that it just doesn't seem to work! Ideally we'd like to use a custom format (ie {C0}), but none of this seems to produce the expected behaviour.

Are we doing something wrong?

A second question; is it possible to add a total value to the stacked bar (ie the sum of all the segments)?

TIA.
Stefen
Top achievements
Rank 1
 answered on 08 Jun 2011
1 answer
64 views

Line chart and Logarithmic setting

 

Hi ,

Whenever I change the Plot Area-> Y-Axis-> IsLogarithimic setting to true, I’m getting "Parameter is not valid" error in Visual Studio 2010. Does anybody else have the same problem?

 

Attached is the screen shot.


 

Steve
Telerik team
 answered on 08 Jun 2011
3 answers
116 views
I have a simple Report / SubReport scenario.  i see that the main report footer displays before the subreport even starts.  Even though I place the subreport in the detail section of the main report.  How can I print the last part of the main report at the very end of the report.  I thought that a report footer should only print once at the end of the report?  And I also assumed that a subreport would finish before the rest of the main report?  I couldn't find anything in the documentation or forum.

Thanks.
Stephan
Telerik team
 answered on 08 Jun 2011
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?