Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-19-2009, 11:58 AM
I have an old license for .net version 1.0 and need to port my system to .net 2.0.

What's the least expensive product I can purchase to accomplish this?

Is there any upgrade path?

Will my old 1.0 .rpx files work with the 2.0 version.

Thanks

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-21-2009, 2:47 AM
Archis,

From the description of your requirements it seems that you are looking to upgrade from the .NET framework 1.0 to .NET framework 2.0 and till now you have been using Active Reports for .NET 1.0. If this is the said scenario then, I would like to tell you that you may want to take a look at our latest product ActiveReports 6 which is supported in .NET framework 2.0 as well as 3.5.

I would suggest taking a look at this link for more information on the features of ActiveReports 6. Apart from this there have been a number of additions made to ActiveReports after ActiveReports for .NET 1.0. To know more about what’s new in ActiveReports 6, you may want to check this link.

If you are looking to use the old RPX files from ActiveReports for .NET 1.0 then you may use it by first running the converter utility. I would suggest you to check this link for more information on upgrading reports.

Regards,
Sankalp
Sankalp Sen
GrapeCity- DataDynamics

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-21-2009, 4:46 AM
Sankalp,

Thanks for the info. You product has become quite expensive, and for me to justify the purchase the conversion of my 1.0 .rpx files must be seamless.

Have folks had any major issues converting these old .rpx files to the latest version?

Is it possible to display reports with embedded .doc, .pdf, .gif, .jpg and .xls's in a report viewer control?

My application has a requirement to display .pdf, .doc, .xls and images in an IE browser. I'm hoping to leverage AR 6.0 to accomplish this by embedding these object in a report. Will this work?

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-21-2009, 10:48 AM
Hello,

You can easily convert your reports build in ActiveReports for .Net 1.0 or 2.0 to ActiveReports 6.0 without any major issues. Also using the ActiveReports export filters you can export the report to different formats like PDF, XLS, TIFF, RTF, TXT.
To know more about custom exporting you can click here.

You can use OleObject control to import the .doc, .pdf, .xls etc in reports. For the image in the formats .gif and .jpg you can use Picture control to show these images on the report.

You can download the evaluation version of ActiveReports 6.0 from here.


Regards,
Ankit Nigam

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-22-2009, 4:09 AM
Sounds good. The instructions for the conversion are for converting .rpx's that are already included in a VS project.

In my situation I have abandonded the old VS project and have a new VS2005 project with no references for AR. What's the process to get my old .rpx's into my new VS project?

Thanks

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-22-2009, 9:48 AM
Hello,

I would like to inform you that ActiveReports 6.0 is compatible with frameworks 2.0 or later whereas ARN1.0 is compatible with framework 1.0 thus you will need to convert first from ARN1.0 to ARN3.0 then ARN3.0 to ActiveReports 6.0. The reason for sandwiching ARN3.0 is it is compatible with both the frameworks. Here I have described the steps to convert ARN1.0 to ActiveReports 6.0:

1) Please download the latest Active Reports for .NET 3.0 build 5.2.1236.1 from here and install it in both VS 2003 and VS 2005.
If you have not installed ActiveReports 6.0 in VS2005 please download the latest version from here.

Please make sure that you followed the recommended steps to convert your project from ARN1.0 to ARN3.0:

2) Backup your project.
3) Open your project in VS2003.
4) Click 'Tools' > 'Convert ActiveReports' - should show all of your report RPX files in the project - Click 'OK'.
You may also check the link in this regard:
5) Make sure all the project references are pointing to the ARN3 assemblies.
6) Run the project to makes sure everything is working correctly.
7) If everything is working then open the project in VS2005.
8) Click ‘Tools’> ‘Convert to ActiveReports 6.0’ – should show all of you report .cs files in the project- Click ‘OK’
You may also check the link in this regard:
9) Again check if all the project references are pointing to ActiveReports 6.0 assemblies.
10) Run the Project.

Please do let me know if you face any issue.

Regards
Subodh Normal 0 false false false MicrosoftInternetExplorer4

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-22-2009, 11:33 AM
Thanks for the info, but what I wanted to know was if there ws a utility tool outside of VS for the conversions. Like a command line tool that would process my .rpxs (as files not as part of a VS project).

A command line tool such as : AR30Convert my.rpx

Thanks

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-22-2009, 2:47 PM
Hello Archis,

As far as I know there is no command line conversation tool is available. As Subodh had told you in the previous post, you need to use the Visual Studio for converting the reports build in ActiveReports for .Net 1.0 to ActiveReports 6.

Do let us know if you need further assistance.

Regards,
Ankit Nigam

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-23-2009, 1:31 PM

Ok, I'm trying to convert 1.0 to 3.0 and have ran the utility.  My code still references an ActiveReport and WebViewer object.  I can't seem to find the 3.0 assembly's that host these objects .  I'm trying to complete this task over the holiday, so a quick response would be appreciated.

 

Thanks

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-23-2009, 1:36 PM
I've added every ar3.0 reference possible and the WebViewer problem went away but I still can't resolve the ActiveReport reference.

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-23-2009, 1:40 PM
I've replaced ActiveReport with ActiveReport3, please let me know if this is correct.

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-23-2009, 1:52 PM
Hello Archis,

Yes, you need to change the Base class to ActiveReports3. Could you please let me know whether it’s a website project or windows application? Did you run the conversion utility from the tool tab of VS studio? What error message you are getting?

Regards,
Ankit Nigam

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-23-2009, 2:01 PM
It's a webproject and I have not ran it since converting all of the ActiveReports to ActiveReport3.  Will I have a similar issue when I go to 6.0?  Thanks for you quick reply.

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-23-2009, 2:08 PM

I'm getting this runtime error:

Server Error in '/TDS' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: The base class includes the field 'WebViewer1', but its type (DataDynamics.ActiveReports.Web.WebViewer) is not compatible with the type of control (DataDynamics.ActiveReports.Web.WebViewer).

Source Error:

Line 25: 	<body MS_POSITIONING="GridLayout" onload="Init();">
Line 26: 		<form id="Form1" method="post" runat="server">
Line 27: 			<ActiveReportsWeb:WebViewer id="WebViewer1" style="Z-INDEX: 101; LEFT: 0px; POSITION: absolute; TOP: 168px"
Line 28: 				runat="server" height="900px" width="928px" ViewerType="AcrobatReader"></ActiveReportsWeb:WebViewer>
Line 29: 			<DIV style="Z-INDEX: 110; LEFT: 8px; WIDTH: 888px; POSITION: absolute; TOP: 0px; HEIGHT: 160px"

Source File: e:\inetpub\wwwroot\TDS\UnitDataSheet.aspx    Line: 27


Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0


12-23-2009, 2:08 PM
Could you please confirm me the steps you have taken to convert your reports build in ActiveReports for .Net 1.0 to ActiveReports 6.0?
Also make sure that in ActiveReports 6 the base class is "ActiveReports" not ActiveReports3.

You may check the following link in this regard:
http://www.datadynamics.com/Help/ActiveReports6/arChangesFromPreviousVersions.html

Regards,
Ankit Nigam