Telerik Forums
Reporting Forum
11 answers
163 views
Hi,

I'm getting a crash on my install. This has happened straight after the upgrade to Q1 2013.  I can access the code behind for a reporyt and work on that however as soon as I start the designer and click on a report object VS 2008 falls over.  I've got the DEVENV.log file and shown below although it seems very concise for a log file.  Could the "Assembly resolution failed" lines be causing this?

Regards,

Jon

Entering constructor for: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering Initialize() of: Telerik.CommonPackage.Telerik_CommonPackagePackage
Entering constructor for: Telerik.VSX.UserSettingsPackage.UserSettingsPackage
Entering Initialize() of: Telerik.VSX.UserSettingsPackage.UserSettingsPackage
Entering constructor for: Telerik.Web.UI.VSPackage.VSPackage
Entering Initialize() for: Telerik.Web.UI.VSPackage.VSPackage
Entering constructor for: Telerik.WinControls.VSPackage.VSPackage
Entering Initialize() for: Telerik.WinControls.VSPackage.VSPackage
Entering constructor for: Telerik.Reporting.VsPackage.VsPackage
Entering Initialize() of: Telerik.Reporting.VsPackage.VsPackage
ToolboxInstaller::GetVsVersion VS RegistryRoot HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\9.0
Assembly resolution failed: Telerik.UserSettings.2013.1.219.0.XmlSerializers, Version=2013.1.219.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.UserSettings.2013.1.219.0, Version=2013.1.219.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.2013.1.219.0.XmlSerializers, Version=2013.1.219.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.2013.1.219.0, Version=2013.1.219.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.UserSettings.2013.1.215.0.XmlSerializers, Version=2013.1.215.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.UserSettings.2013.1.215.0, Version=2013.1.215.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.2013.1.215.0.XmlSerializers, Version=2013.1.215.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Assembly resolution failed: Telerik.VSX.2013.1.215.0, Version=2013.1.215.0, Culture=neutral, PublicKeyToken=0dfdc51bd06071b4
Entering constructor for: Microsoft.VisualStudio.ShellConfig.ShellConfigPackage
Entering Initialize() of: Microsoft.VisualStudio.ShellConfig.ShellConfigPackage


Jon
Top achievements
Rank 1
 answered on 16 Apr 2013
14 answers
546 views
Hi,
I'm totally new to Telerik reporting and I have a question. I'd like to create a report that displays all of the products that I sell on my website and the quantity sold for each product. I was thinking of doing it with a bar chart report. Are there any good examples out there that would walk me through this?

Thanks
Stef
Telerik team
 answered on 16 Apr 2013
3 answers
120 views
Hi,
I have successfully created a "Radar with Markers" in the standalone report designer. The only thing missing is the line between the last dot and the first dot in each series. Is there a checkbox somewhere or is it my data source.

My data source looks like this:
Created Label   QuestionHeader  Score
2012-12-21  21. december 2012   1. Har du en ide om hvilket arbejde, du gerne vil have? 2
2012-12-21  21. december 2012   2. Hvordan har du det med at tage kontakt til nogle du ikke kender? 4
2012-12-21  21. december 2012   3. Hvor god er du til at samarbejde med andre?  4
2013-01-28  28. januar 2013 1. Har du en ide om hvilket arbejde, du gerne vil have? 4
2013-01-28  28. januar 2013 2. Hvordan har du det med at tage kontakt til nogle du ikke kender? 5
2013-01-28  28. januar 2013 3. Hvor god er du til at samarbejde med andre?  4
2013-03-12  12. marts 2013  1. Har du en ide om hvilket arbejde, du gerne vil have? 2
2013-03-12  12. marts 2013  2. Hvordan har du det med at tage kontakt til nogle du ikke kender? 4
2013-03-12  12. marts 2013  3. Hvor god er du til at samarbejde med andre?  4
... ... ... ...

Best regards,
René
Stef
Telerik team
 answered on 16 Apr 2013
3 answers
213 views
Is there a method for dropping fields onto the report during design time. Like in MS Access where you can pull up the field list and drag and drop the fields onto the report rather than having to go through the process of dropping a textbox then going in and setting the binding. Its very time consumming when there are lots of textboxes. Also is ther a default setting for when you click the Value property of a control to open directly to the Fields rather than having to always click on it, seems like the vast majority of the times that is what is needed. Thanks for any help
Altec
Top achievements
Rank 1
 answered on 16 Apr 2013
1 answer
96 views
Hi,

We have some library that specifically take a PrintDocument object and then handle printing in a very customized manner.  We would like to feed a rendered report to the library but it seems that there is no way for us to process the report and convert it to a PrintDocument.  

It seems that Telerik Reporting still make use of PrintDocument internally when performing report printing.  Is there anyway that we can get the PrintDocument from the processing engine?

Thanks~
Peter
Telerik team
 answered on 16 Apr 2013
5 answers
211 views
Hello,

When i try to run my asp.net website it runs perfectly well on local machine.
But,
       when i publish & upload the website,and try to run the site, I get the following 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=2.9.9.202, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 76:     <httpHandlers>
Line 77:       <remove path="*.asmx" verb="*"/>
Line 78:       <add verb="*" path="Telerik.ReportViewer.axd" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=2.9.9.202, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"/>
Line 79:       <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
Line 80:       <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>

/************************************************************************************************************************************************************************/

Please help me to solve the problem.

Thanks,
Jaspreet.
Elliott
Top achievements
Rank 2
 answered on 15 Apr 2013
1 answer
91 views
I am trying to render a report as an image in my web service and return a byte[] to my client. The byte[] is then converted back into an image for display in the browser. From my debug sessions, I can see that byte[] does have data in it and the view appears to have a correctly sized image; however, the image is completely blank.

This report in particular requires one Integer parameter, ArgID, to be passed in. Blank values can not be accepted. Below is the code I am using (function names and arguments have been modified for brevity).

Web-Service code to render the report as an image:
public byte[] GetReport(int ArgID)
{
    try
    {
        Telerik.Reporting.Processing.ReportProcessor proc = new Telerik.Reporting.Processing.ReportProcessor();
        Telerik.Reporting.InstanceReportSource irs = new Telerik.Reporting.InstanceReportSource();
  
        Report1 report = new Report1();
        report.ReportParameters.Add(new Telerik.Reporting.ReportParameter("ArgID", Telerik.Reporting.ReportParameterType.Integer, ArgID));
        irs.ReportDocument = report;
  
        RenderingResult item = proc.RenderReport("IMAGE", irs, null);
        return item.DocumentBytes;
    }
    catch (Exception ex)
    {
        throw new FaultException(new FaultReason(ex.ToString()));
    }
}

View file img tag:
@model int
<
img src="@Url.Action("GetReport", "Report", new { ID = Model })" alt="" />

Action called from img tag:
[HttpGet]
public ActionResult GetReport(int ID)
{
    byte[] img;
    using (var client = new MyService.MyServiceClient())
    {
        img = client.GetReport(ID);
    }
    return File(img, "image/tiff");
}


I've only just started using Telerik Reporting over SSRS and would like to make the case for switching to Telerik for a long-term solution if I can manage to get programmatic generation working within specifications. Any and all support is greatly appreciated.

Thank you,
-J
Justis
Top achievements
Rank 1
 answered on 15 Apr 2013
3 answers
328 views
I have a DLL with a report. When I go from design mode to preview in VS the report constructor is executed and it does what's required.

Using the stand-alone designer I import the DLL, and on initial creation the constructor is invoked - twice actually. But from then forward, it's never invoked on preview or at any other time.

I created a Windows Form with a report viewer, set the ReportSource to the TRDX via a URL/file reference. Same thing - ODS is called but the report constructor is never invoked.

I'm using the ODS only to retrieve design-time schema. At run-time I'm using report parameters to determine what data to return, and the ODS is invoked manually from NeedDataSource. Someone might think I need to set the ODS to null in the constructor. Again, the constructor is not being called.

The stand-alone designer does show my class name "ReportTemplate" in the Property Browser. So I know it found that class. My report has the ODS pre-loaded, and when the designer first opens that ODS is there, obviously coming from execution of the InitializeConstructor() method, executed from my constructor. So On initial creation it finds what it needs in that class.

From the report viewer, the interactive mode does display a text box that was placed for the header. So it seems InitializeComponent() is getting executed for that report, but nothing else. This is very confusing. It's almost like the report base class is getting executed but not my derived class - and once a report is imported, the derived class isn't invoked anymore. Or perhaps I just don't know what setting to check to get it to instantiate my report class at run-time. Maybe it's a namespace issue and at run-time it can't find my report class within my namespace.

Side note: Originally the interactive mode did not display that report header, but going to preview mode it did. My ODS is returning a DataTable with columns defined and no rows. When I changed that to return a single row of null column data, interactive mode started to show the header too - it's like a null DataSource causes one mode to not render anything but it's different in the other mode. I dunno if anyone would call that a bug but it's certainly slightly anomalous behavior.

Thanks.
Peter
Telerik team
 answered on 15 Apr 2013
1 answer
140 views
I just started using telerik reporting and I can't figure out how to get a marker symbol to show up for my line series.

I am using a Graph control with 1 line series. On the series, I have specified MarkerMaxSize, MarkerMinSize, MarkerSize, and MarkerType, but I still don't see these symbols along my line.
Peter
Telerik team
 answered on 15 Apr 2013
3 answers
280 views
Hi team,
I use an object data source in my report and when I check the preview mode I get an error but if I use the report in report viewer in aspx and run the page i don't get any error.

first i want to know how to debug my business method when I use the preview mode in my report to not always have to run my aspx screen to do the debugging process.

second i want why i get this error, kindly find below the details :

my business method is very simple :
 [DataObjectMethod(DataObjectMethodType.Select)]
        public List<CreatedQRCodesCountBEL> GetCreatedQRCodesCount(int SuperAcctID) { //my code } 

in my report i have one report parameter "SuperAcctID" and i just give it a default value no binding to data source:
An error has occurred while processing Report 'rptCreatedQRCodesCount':
An error occurred while invoking data retrieval method.
Try restarting Visual Studio. ------------- InnerException -------------
Exception has been thrown by the target of an invocation. -------------
InnerException ------------- Object reference not set to an instance of an object.

in my aspx code behind i do the below and it is working without the error:

protected void Page_Load(object sender, EventArgs e)  {
        if (!IsPostBack) {
            var objCreatedQRCodesCountReport = new rptCreatedQRCodesCount();
            objCreatedQRCodesCountReport.ReportParameters["SuperAcctID"].Value = SuperAcctID.ToString();
            radrvCreatedQRCodesCount.ReportSource = objCreatedQRCodesCountReport;
        }
    }

I hope you can help me.
Regards,
Mohammed
Squall
Top achievements
Rank 1
 answered on 15 Apr 2013
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?