ActiveReports for .NET Support

Started by Archis at 12-23-2009 2:26 PM. Topic has 24 replies.

Print Search Rate
Sort Posts:    
   12-23-2009, 2:26 PM
Archis is not online. Last active: 6/6/2010 7:18:43 PM Archis

Top 500 Posts
Joined on 11-08-2003
Posts 45
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0

1 Downloaded and installed  ar30

2) Opened my vs 2003 project and selected the convert  option from the tools menu

3) I added every ar 5.3.1436.1 assembly I could find

4) changed ActiveReport to ActiveReport3 in my code

5) Ran and got the error above.

6) I changed the page reference to

<%@ Page language="c#" Codebehind="UnitDataSheet.aspx.cs" AutoEventWireup="false" Inherits="TDS.UnitDataSheet" %>
<%@ Register TagPrefix="activereportsweb" Namespace="DataDynamics.ActiveReports.Web" Assembly="ActiveReports.Web, Version=5.3.1436.1, Culture=neutral, PublicKeyToken=cc4967777c49a3ff" %>
 

 

 

 


   Report 
   12-23-2009, 2:34 PM
Archis is not online. Last active: 6/6/2010 7:18:43 PM Archis

Top 500 Posts
Joined on 11-08-2003
Posts 45
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0
I've stepped all the way through my code without error.  The report used to display as a .pdf, now it display as a blank page.
   Report 
   12-23-2009, 2:41 PM
Archis is not online. Last active: 6/6/2010 7:18:43 PM Archis

Top 500 Posts
Joined on 11-08-2003
Posts 45
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0
If I set the viewtype to HTML I can see my report.  Is there a specific version of Acrobat required?  I also have an evaluation copy.
   Report 
   12-24-2009, 3:10 AM
Amit Pal is not online. Last active: 2/7/2012 10:11:10 PM Amit Pal

Top 25 Posts
Joined on 12-11-2008
Posts 855

DDStaff
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0
Does it gives any error when you set the ViewerType to PDFViewer?
Amit Pal
GrapeCity- DataDynamics
   Report 
   12-24-2009, 7:44 AM
Archis is not online. Last active: 6/6/2010 7:18:43 PM Archis

Top 500 Posts
Joined on 11-08-2003
Posts 45
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0

It's now working with Adobe in my vs2005 project.

I'm going to convert to 6.0.


   Report 
   12-24-2009, 7:54 AM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

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

Try to convert you reports to ActiveReports 6 and let us know your observation. Also make sure that your project should reference to the version of ActiveReports 6, currently installed on your machine. Also if it is a web project then you will need to ensure that the version numbers in the web.config and HTML view (HTML Markup/source view) match the version numbers of the 6 assemblies.

Regards,
Ankit Nigam


   Report 
   12-24-2009, 8:12 AM
Archis is not online. Last active: 6/6/2010 7:18:43 PM Archis

Top 500 Posts
Joined on 11-08-2003
Posts 45
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0

I had a error about a licesnse file permission during the conversion.  The conversion left me with .cs files is this correct?  As of now I can't

run my site due to an error with ActiveReports.Interop64.dll - vs complains about it:

Error 1 Could not load file or assembly 'ActiveReports.Interop64' or one of its dependencies. An attempt was made to load a program with an incorrect format. 

I delete this reference from be website, but it keeps coming back.


   Report 
   12-24-2009, 8:24 AM
Archis is not online. Last active: 6/6/2010 7:18:43 PM Archis

Top 500 Posts
Joined on 11-08-2003
Posts 45
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0

I've removed the refrence to the 64 bit interop lib in a sub project and now I'm left with a GAC problem:

Error 1 The type 'DataDynamics.ActiveReports.Web.WebViewer' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\ActiveReports.Web\6.0.2019.0__cc4967777c49a3ff\ActiveReports.Web.dll' and 'c:\WINDOWS\assembly\GAC\ActiveReports.Web\5.3.1436.1__cc4967777c49a3ff\ActiveReports.Web.dll' e:\ConEd\ConEdSubstation\TDS\UnitDataSheet.aspx 21


   Report 
   12-24-2009, 8:46 AM
Archis is not online. Last active: 6/6/2010 7:18:43 PM Archis

Top 500 Posts
Joined on 11-08-2003
Posts 45
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0

I've got it all worked out, here's the steps:

1) Install AR3

2) Run the Tools Convert Active Report in my VS2003 Project.

3) Convert all ActiveReport object to ActiveReport3 objects

4) Upgrade all webviews in .aspx files to AR3 web viewers.

5) Confirm that the HTTPHandlers section in the web.config files point to the correct AR3 assemblies

6) Changed All Refrence in VS 2003 to point to AR3.

7) Convert the project to VS 2005

- At this point AR3 worked fine in VS2005

Conversion from AR3 to AR6

1) Backup AR3 project

2) Install AR6 on Computer

3) Choose Tools Convert to ActiveRepor 6 from VS menu

4) Change ActiveReport3 object back to ActiveReport object (if necesary)

5) Confirm all project references are not pointing to AR6

6) Swap all AR3 webviewers in .aspx for AR6 webviewers

7) Update HTTPHandlers in webconfig to point to AR6 assemblies

8) Make sure that no AR3 assemblies are in the <Assemblies> section of the web config. - will cause errors when compiling.

That's it.

The only other gotcha was that my license file was readonly, and the conversion tool couldn't update it.  I found the file made it writable and reran the conversion to solve this issue.

 


   Report 
   12-24-2009, 9:23 AM
AnkitN is not online. Last active: 6/8/2010 6:43:55 AM AnkitN

Top 25 Posts
Joined on 03-03-2009
Posts 844

DDStaff
Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0
Could you please provide me your contact number or you can call us on (425) 947-1548.

Regards,
Ankit Nigam

   Report 
  Page 2 of 2 (25 items) < 1 2
GrapeCity » Product Support » ActiveReports f... » Re: Upgrading from AR1.03312009 to Visual Studio 2005 .Net 2.0

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.