SQlDataSourceParameterCollection error after upgrading to 5.3.12.119

7 posts, 0 answers
  1. Ganesh Shivshankar
    Ganesh Shivshankar avatar
    78 posts
    Member since:
    Sep 2009

    Posted 27 Jun 2012 Link to this post

    Hi,

    I just installed version 5.3.12.119 in my windows 7 machine. Now when I open reports which have a sqldatasource i get this error in the designer

    "Object of type 'Telerik.Reporting.SqlDataSourceParameterCollection' cannot be converted to type 'Telerik.Reporting.SqlDataSourceParameterCollection'. "

    Not sure how to fix this. I have restarted my machine and tried as well. Need help on this urgently!

    Thanks.
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 27 Jun 2012 Link to this post

    Hello Ganesh,

    Open the .resx file of the report as xml and delete the base64 encoded values i.e. delete the whole:

    <data name="XXXXX_SQLDataSource.DefaultValues" mimetype="application/x-microsoft.net.object.binary.base64">
    ....
    </data>

    section. Close the report designer (if any open) and rebuild your solution.

    Greetings,
    Steve
    the Telerik team

    FREE WEBINAR ON THE NEW REPORT DESIGNER! Join us on Friday, June 29 at 10:00 AM PST for a comprehensive demo of the official version of the standalone Report Designer and find out how easy it is to empower your users with creating, editing and sharing ad-hoc reports. You may even win a free Telerik Ultimate Collection license! Register today >>

  3. DevCraft banner
  4. Ganesh Shivshankar
    Ganesh Shivshankar avatar
    78 posts
    Member since:
    Sep 2009

    Posted 27 Jun 2012 Link to this post

    HI Steve,

    That worked! Thanks a ton. I hope this wont be a problem when opening this report in Windows XP machine or running it on Windows server?

    Thanks.

  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 27 Jun 2012 Link to this post

    Hi Ganesh,

    You should not have any problem opening those reports on another machine.

    All the best,
    Steve
    the Telerik team

    FREE WEBINAR ON THE NEW REPORT DESIGNER! Join us on Friday, June 29 at 10:00 AM PST for a comprehensive demo of the official version of the standalone Report Designer and find out how easy it is to empower your users with creating, editing and sharing ad-hoc reports. You may even win a free Telerik Ultimate Collection license! Register today >>

  6. Ganesh Shivshankar
    Ganesh Shivshankar avatar
    78 posts
    Member since:
    Sep 2009

    Posted 27 Jun 2012 Link to this post

    Great! Thanks Steve,

    Just curious to know why this happened in the first place. Never faced this issue when upgrading previously.
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 28 Jun 2012 Link to this post

    Hi Ganesh,

    This was a problem we have addressed in newer versions by utilizing the Upgrade Wizard.

    All the best,
    Steve
    the Telerik team

    FREE WEBINAR ON THE NEW REPORT DESIGNER! Join us on Friday, June 29 at 10:00 AM PST for a comprehensive demo of the official version of the standalone Report Designer and find out how easy it is to empower your users with creating, editing and sharing ad-hoc reports. You may even win a free Telerik Ultimate Collection license! Register today >>

  8. Fridli Jacober
    Fridli Jacober avatar
    89 posts
    Member since:
    Dec 2009

    Posted 02 Jun 2015 in reply to Steve Link to this post

    Thank you! Similar/Same problem here with Telerik Q1 2015 / VS 2015 RC and no Upgrade wizard available (which I think wouldn't have solved our problem anyway).

    Global search and replace solved the issue: <metadata.*DefaultValues" mimetype="application/x-microsoft.net.object.binary.base64">(.|\n)*?</metadata>

Back to Top
DevCraft banner