Telerik Forums
Reporting Forum
4 answers
93 views
Hi,

When I run my report on a 3G connection it crashes.  I've tested with a very slow WIFI connection but that is OK so it isn't a timeout issue.  Any pointers?

Error is below:

Server Error in '/' Application.Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.]
Telerik.ReportViewer.WebForms.ViewerState.get_CurrentPage() +19
Telerik.ReportViewer.WebForms.ReportPageOperation.RenderReport(String format, IList`1 processingReports, Hashtable deviceInfo, IRenderingContext renderingContext) +336
Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride() +170
Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride() +85
Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(HttpContext context, ICacheManager cacheManager) +42
Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context) +142
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

Stef
Telerik team
 answered on 03 Nov 2014
1 answer
451 views
Dear Sir,

I have seen the demo  of Product Sales per Period Demo by Telerik Reporting.
I want to see the source code of this demo application. demo link is "https://demos.telerik.com/reporting/product-sales/silverlight-demo.aspx" for Telerik Reporting. I have tried but not found . my requirement is same like this. adding subtotal , grand total and grouping row data. Please anybody help me for same this.


thanks
Vilas jadhav
Stef
Telerik team
 answered on 03 Nov 2014
1 answer
435 views
Hello,
I am currently working on a telerik report. I need to assign an image to a picture box depending on the value of a field that I retrieves my datasource .
I want to use an expression but I do not know how to send the image.

My two images are stored in the resources of my project.

Should I create a function that returns me the right image or art that I can retrieve the image directly in the expression.

kind regards ,

Julien
Stef
Telerik team
 answered on 03 Nov 2014
1 answer
226 views
I am using the Stanalone Report Designer Version 7.0.13.426 (Q1 2013 SP1). We want to change the behaviour of the footer rendering when exporting to excel. Because we are using fields to calculate function in the footer of the template.
I know that we have to set 'UseNativePageFooter' to 'false'. But I simply can't find 'UseNativePageFooter', not in the 'Telerik.ReportDesigner.exe.config', not in the .trdx file of the template and not in the gui of the Report Designer. 
Is this function not available for the Standalone Report Designer, or did I overlook it?
If it is not available, what other option do I have to achieve the expected output?
Stef
Telerik team
 answered on 31 Oct 2014
1 answer
97 views
Hi

I would like to show lines connecting child nodes to parent nodes on report. How can I do that.
Or can I change background color of level 2 and its child nodes on report.
Thanks
Nasko
Telerik team
 answered on 31 Oct 2014
2 answers
91 views
I'm getting an ArguementException when setting the viewer's ReportSource to the instanceReportSource.
It was working fine in 2013 Q1, but is broken in 2014 Q3.
Thanks
Stef
Telerik team
 answered on 31 Oct 2014
8 answers
1.2K+ views
I am trying to publish my first Telerik Report to the web. I can display the report when I run it in my development environment. However, when I publish it, I get the following error. (The first error I got told me to insert this     

<add verb="*" path="Telerik.ReportViewer.axd" type = "Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
Line 48: </httpHandlers>
Line 49: <httpModules> ,

and then it says it cant find it.) If I delete it, it tells me to insert it. If I insert it, it says it cant find it. Any ideas?



Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 45: 			<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource" validate="false"/>
Line 46: 			<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2009.2.1007.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
Line 47: <add verb="*" path="Telerik.ReportViewer.axd" type = "Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />Line 48: 		</httpHandlers>
Line 49: 		<httpModules>

Source File: E:\readinessandsustainmentwebsite\ActiveWebPages\MPFMods\web.config    Line: 47

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Marcus
Top achievements
Rank 1
 answered on 31 Oct 2014
1 answer
125 views
My employer has decided to give the Telerik Reporting tools a try. I am only able to use VS2008 @my employer. I just installed the latest version and noticed that VS2008 is not listed. What is the latest version that works with VS2008.
Stef
Telerik team
 answered on 31 Oct 2014
1 answer
168 views
while trying to open craystal report , getting error as attached, with extra details and this error coming because Crystal Reports XI R2 doesnt support on 64 bit machine. due to this error trying to convert craystal report to telerik report

followed all steps mentioned at http://www.telerik.com/support/kb/reporting/details/converting-reports-from-various-versions-of-crystalreports and http://www.telerik.com/help/reporting/faq-available-converters.html

But after this all steps again got same error as attached screenshot. seems like to convert Crystal Reports XI R2 to telerik need 32 bit machine, Is there any way to convert Crystal to telerik reports on 64 bit machine ?




Stef
Telerik team
 answered on 30 Oct 2014
3 answers
167 views
Hi,
Following an test upgrade to .Net 4.5.1 I have had a problem with reporting.  Webpages that used to work now don't workl properly.

I have reduced the page down to a small sample.  The problem is that when a filter button is pressed the ajax call is done with the reportviewer flashing a loading panel then it shows the "The source of the report definition has not been specified." message.  Looking at the codebehind the report is generated OK and is in fact applied to the report viewer.  As mentioned this all works fine with .Net 3.5.

To further test I disable Ajax on the AjaxManager and then following the post back the control works as it should so this is definitly an Ajax issue of some sort.  I am posting the code below.

It is worth noting that I have tried this on two distinct website solutions that I have and exactly the same issue appears.  

Many thanks for any help.

Regards

Jon

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Reports.aspx.vb" Inherits="NJC.WasteMonitor.Web.Gen.Reports" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
            <telerik:RadStyleSheetManager ID="pgRadStyleSheetManager" runat="server"></telerik:RadStyleSheetManager>
            <telerik:RadScriptManager ID="pgRadScriptManager" runat="server"></telerik:RadScriptManager>
            <telerik:ReportViewer ID="uxReportViewer" runat="server" Width="100%" Height="500px" Skin="Office2007"></telerik:ReportViewer>
            <telerik:RadButton ID="uxLoginButton" Text="Test" runat="server" UseSubmitBehavior="false"  OnClick="uxLoginButtonClick"
                               CausesValidation="false"></telerik:RadButton>
            <telerik:RadAjaxManager ID="uxRadAjaxManager" runat="server"  >
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="uxLoginButton">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="uxReportViewer" LoadingPanelID="uxLoadingPanel" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="uxReportViewer">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="uxReportViewer" LoadingPanelID="uxLoadingPanel" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
            <telerik:RadAjaxLoadingPanel ID="uxLoadingPanel" runat="server"></telerik:RadAjaxLoadingPanel>
        </form>
    </body>
</html>


Partial Public Class Reports
    Inherits System.Web.UI.Page
 
    Protected Sub uxLoginButtonClick(ByVal sender As Object, ByVal e As EventArgs)
        Dim _report As WasteReportReport = New WasteReportReport(GetWasteMonitorConnectionString, "4,5,2", _
                                                                      1, _
                                                                      CDate("01-Aug-2014"), _
                                                                      CDate("06-Aug-2014"), _
                                                                      "", _
                                                                      "", _
                                                                      "", _
                                                                      "", _
                                                                      "")
 
 
        ' Define a reportsource and add the report to it
        Dim _instanceReportSource As Telerik.Reporting.InstanceReportSource = New Telerik.Reporting.InstanceReportSource()
        _instanceReportSource.ReportDocument = _report
 
        ' Add the report source to the report viewer
        uxReportViewer.ReportSource = _instanceReportSource
    End Sub
End Class


Jon
Top achievements
Rank 1
 answered on 29 Oct 2014
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?