ActiveReports for .NET 3.0 Support

Started by dstites at 03-09-2010 8:58 AM. Topic has 1 replies.

Print Search Rate
Sort Posts:    
   03-09-2010, 8:58 AM
dstites is not online. Last active: 3/9/2010 10:46:56 PM dstites

Not Ranked
Joined on 03-09-2010
Posts 1
Could not load file or assembly 'System.Drawing, Version=1.0.5000.0...'
I am currently using Active Reports 3 v5.2.3.685 to create and view various reports.  I have a separate project for the actual reports, and the access to these reports, as my application is available in both webform and winform environments.  The webform version has been online for nearly 3 months, and I have not encountered any problems with filling/displaying the forms. 

I have recently begun development on the winform version of my application, and have reached the point where I would like to display the reports using the "viewer" control provided.  I drag the viewer control onto the winform, set it to Dock = Fill.  If I attempt to run my application, I receive an Invalid File Exception, relating to System.Drawing version 1.0.5000.0.  Two problems with this.

1.  My project targets the .Net 3.5 framework, and includes a reference to System.Drawing 2.0.50727.
2.  The exception is thrown on activation of my application, not when the actual form is loaded.

If I remove the viewer, the exception goes away, and my application continues to work as intended.  Is there something I am doing wrong, or is this a bug in the Viewer component?

--
Daryl Stites
Judicial Technology and Automation Committee
Division of State Courts Administration
Indiana Supreme Court

   Report 
   03-09-2010, 10:20 PM
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: Could not load file or assembly 'System.Drawing, Version=1.0.5000.0...'
Hello Daryl,

I am not sure why you were getting this exception. I would suggest you to upgrade to the latest build 5.3.1436 of ActiveReports for .net 3.0. Currently you are using quite an old build of ActiveReports for .Net 3.0. You can download the latest build from here.

If the issue persists then I request you to provide me the stack trace of the error message.

Regards,
Ankit Nigam


   Report 
GrapeCity » Product Support » ActiveReports f... » Re: Could not load file or assembly 'System.Drawing, Version=1.0.5000.0...'

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