Error with Telerik Reporting objectdatasource with MVC

6 posts, 0 answers
  1. nikky
    nikky avatar
    3 posts
    Member since:
    Oct 2012

    Posted 05 Nov 2012 Link to this post

    When trying to use Telerik Report Wizard to connect to an objectdatasource, I get the error "An error occurred while invoking data retrieval method"  Try restarting VisualStudio."

    Please can someone help me troubleshoot this. I am using version Q3_2012_v6_2_12_1017.

    Thanks.
  2. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 08 Nov 2012 Link to this post

    Hi NIkky,

    We will need some additional information about your issue since we are not able to reproduce it at our end. For example you can provide us with a step-by-step guide on how to reproduce it.

    Other than that you can try actually restarting Visual Studio, since this is the actual problem in most cases and doing so will resolve your issue.

    Greetings,
    IvanY
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. nikky
    nikky avatar
    3 posts
    Member since:
    Oct 2012

    Posted 08 Nov 2012 Link to this post

    Thanks IvanY  for the reply.

    Here are detailed steps of what I am trying to accomplish.

    I am working on Windows Server 2003 R2 and Visual Studio 2010. I have an MVC web application on the machine. I installed "Telerik_Reporting_Trial_Installer_Q3_2012_v6_2_12_1017.exe" on the server and the following references:
    1. Telerik.Reporting
    2. Telerik.ReportViewer.WebForms

    I then added a new "Telerik Report Q3 2012" report to the solution. When the Telerik Report gets created, I get a Telerik Report Wizard Screen. I hot "Nest" on the screen. For next screen, I select "New Report" and click on "Next". Then on the 3rd screen when I try to add a new DataSource, I select Object Data Source and access the function from one of my DataAccess classs file. As soon as I select the business object and the data member and click on "Finish", I get the above error. The data member has a simple function to access the database and retrieve information from a table.

    I have already tried the following with no success:

    • Restarting Visual Studio
    • Restarting machine
    • Re-installing the software
    • adding connection string to the data member function "Data Source=MACHINE1;Initial Catalog=TEST;Integrated Security=True"

    Please let me know if you need any other information.

    Nikky

  5. IvanY
    Admin
    IvanY avatar
    417 posts

    Posted 12 Nov 2012 Link to this post

    Hi Nikky,

    Since we were not able to reproduce your issue following the steps you have provided it will be best if you can open a support ticket and attach a sample report that reproduces it so that we are able to view/debug it at our end - this will help us identify the culprit faster and advise you more accordingly.

    Greetings,
    IvanY
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  6. Pravallika
    Pravallika avatar
    30 posts
    Member since:
    Mar 2014

    Posted 29 Sep 2014 Link to this post

    Hai IvanY ,

    I am also getting the same problem my version is 8.0.14.225 and runtime version v4.0.30319 and i am adding like this
    Add=>new item=>Reporting=>Telerik Report Q1 2014=>report1.cs

    Telerik report Wizard window is opening there i followed these steps
    Add New Datasource=>Object Datasource =>ObjectDatasource1=>Ok
    in Choose a business Object  window
    Avaliable datasource types tab i selected =>DatatableAdapter1 =>Next
    in choose a datamember i selected Choose a Data source Membe selected=>GetData()=>finsh

    now i am getting  an Alert Box like "An eroor Occurred while invoking data retrieval method .try restarting visual studio"

    how to slove
    i am using Visual studio 2013 and my pc is Windows 8 ,64-bit operating system


  7. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 01 Oct 2014 Link to this post

    Hi Pravallika,

    Please check my reply in the forum thread you opened on the same question: Telerik Reporting using objectDataSource.

    Regards,
    Stef
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017