Converting report project from VS2003 and AR 4.2.1.1238 to VS2008 and AR 5.2.1236.1


06-26-2009, 7:28 AM
I've been given an old web reporting project that includes a couple of hundred reports. It was developed in VS2003, with AR 4.2.1.1238. I need to upgrade everything to the latest version, VS2008 and AR 5.2.1236.1.

I've been unable to get the reports converted properly. When I open the website in VS2008, it will convert the project to VS2008. I then run the Active Reports Conversion wizard on all the reports. This completes without errors, but I end up with 2 copies of the report ".vb" files.

A little research shows me that the ".vb" files under the "App_Code" folder are the old ones that may have been moved there during the VS2008 migration process. The other ".vb" files are the ones that have been created by the ActiveReports conversion wizard. So I drop the ".vb" files in the App_Code folder and move the converted ".vb" files into the App_Code folder.

Now, I get a ton of error messages about all the controls on the form like this:

Error 2 'Detail' is not a member of 'rptOpenTicketsOverTimespan'. C:\Projects\ReportServer2008\App_Code\ParameterReports\rptOpenTicketsOverTimespan.vb 34 13 C:\Projects\ReportServer2008\
Error 3 'PageHeader' is not a member of 'rptOpenTicketsOverTimespan'. C:\Projects\ReportServer2008\App_Code\ParameterReports\rptOpenTicketsOverTimespan.vb 35 13 C:\Projects\ReportServer2008\
Error 4 'PageFooter' is not a member of 'rptOpenTicketsOverTimespan'. C:\Projects\ReportServer2008\App_Code\ParameterReports\rptOpenTicketsOverTimespan.vb 36 13 C:\Projects\ReportServer2008\


Researching your forum, I see this link that describes what sounds like the same problem:

http://www.datadynamics.com/forums/104337/ShowPost.aspx

It states that you have to upgrade the reports in VS2003 following the steps shown here:

http://www.datadynamics.com/forums/Help/ARNET3/ar3tskUpgradingPreviousVersionsActiveReportsfor.NET.html

This link is no longer valid though (page not found when I go to it)...

I don't have access to VS2003 at this time though. Is there any way to convert the reports to VS2008 (or even 2005) and the latest version of AR without having VS2003? I have VS2005, VS2008, AR 2, AR 2 for .NET, and AR 3 for .NET...


If it is a requirement to upgrade using VS2003 first, can you give me the correct link to the directions to do this? I'd have to install VS2003 on a new system somewhere to do this - a big pain, but doable...


Thanks,


Dean

Re: Converting report project from VS2003 and AR 4.2.1.1238 to VS2008 and AR 5.2.1236.1


06-26-2009, 8:15 AM
dbaskin,

If I understand correctly, ActiveReports for .net 2.0  projects are web application project and you are trying to convert them to website projects with ActiveReports for .net 3.0 .  Am I correct?

Re: Converting report project from VS2003 and AR 4.2.1.1238 to VS2008 and AR 5.2.1236.1


06-26-2009, 8:53 AM
The old project is an VS 2003, with ".rpx" files. Now that I look at it, I'm not sure if it's using ActiveReports 2.0 for .NET or ActiveReports 2.0. The version number is accurate, but I see the http handlers in the web.config of:








The only "Assembly" I see referenced in this older web.config is for the HTMLExport.

Not sure if the "rpx" files and HTTP Handlers mean it is ActiveReports 2.0 instead of ActiveReports for .NET 2.0...


Anyway, the old project is a VS2003 website project. I'm trying to get it upgraded to VS2008 and AR for .NET 3.0...

Re: Converting report project from VS2003 and AR 4.2.1.1238 to VS2008 and AR 5.2.1236.1


06-29-2009, 12:43 AM
Hello,

I would recommend upgrading reports of ARN 2.0 to ARN 3.0 in the same version of Visual Studio in which they were created.
After successful upgrade to Active Reports 3.0, upgrade the solution to Visual Studio 2008.
You would find instructions for running this utility here.

Regards,
Aashish