This is a migrated thread and some comments may be shown as answers.

can't open old version reporting design

4 Answers 426 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
leesam
Top achievements
Rank 1
leesam asked on 18 Sep 2010, 06:25 AM
hi, i have created a report with version 2009 Q3, now i have upgraded to version 2010 Q2, but i can't open the design of the reports. How to solve this issues? Thank.

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 20 Sep 2010, 09:29 AM
Hi leesam,

Do you receive any error/exception and if yes, can you share it with us? Generally if you use the Upgrade Wizard to upgrade an existing project, it would take care of properly upgrading all necessary files and references. Please start the upgrade wizard manually from the Telerik Reporting Menu to make sure the project is upgraded. Close all designers, rebuild your project and try again.

Greetings,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Scott
Top achievements
Rank 2
answered on 20 Sep 2010, 06:07 PM
I had the same issue I just rolled back to 2009 Q3 and my report came back.  I used the upgrade wizard for the project when I was complete it told me my report1 object could not be found.
0
Steve
Telerik team
answered on 21 Sep 2010, 07:30 AM
Hello Scott,

Please open a support ticket and attach your report class library (and anything it depends on) and we would investigate what is going on).

Kind regards,
Steve
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Scott
Top achievements
Rank 2
answered on 21 Sep 2010, 02:54 PM
I think I found a solution.  At least this worked for me. 

I rolled back to my previous version of the report by changing the references to the project to point back to the Q3 2009 reporting components and updated my report resx.

In order to change the report1.resx in my case it was readonly which I think might have been contributing to something not working correctly during the upgrade even though the upgrade wizard said everything updated correctly and the resx file appeared to be updated.

for the case of going back to 2009 Q3 change this line in the resx file:

<metadata name="$this.SnapGridSize" type="Telerik.Reporting.Drawing.Unit, Telerik.Reporting, Version=4.1.10.714, Culture=neutral, PublicKeyToken=a9d7983dfcc261be">
    <value>0.1in</value>
  </metadata>

to put in the Version=3.2.9.1211

and remove your 2010 Q2 DLLs from your project reference and replace with your Q3 2009 DLL's

Located at Program Files\Telerik\Reporting Q3 2009\Bin  You will need to reference 2 dlls.  Telerik.Reporting.dll and Telerik.Report.Viewer.Winforms.dll.

Once you do this re run your project and make sure your old reports are working again.  This will get you back to the previous version of the reporting. If your reports are working again close out of Visual Studios completely and open it back up.  The Telerik Report Upgrade wizard should prompt you to upgrade again.  Go ahead and do the upgrade again on your project.  Once this is complete in your debug options choose clean project and rebuild project.  Then run your project and your reports should now be upgraded.

This worked for me.  Not sure why it didn't work correctly on the first pass even though it said everything upgraded fine.  But I did notice that there seemed to be a change in the size of the resx file between the old copy I had that didn't work and the new copy that finally upgraded.

Hopefully this works for you as well.

Thanks,
-Scott Cline

Tags
General Discussions
Asked by
leesam
Top achievements
Rank 1
Answers by
Steve
Telerik team
Scott
Top achievements
Rank 2
Share this question
or