| |
ActiveReports for .NET 3.0 Support
Started by dstites at 03-09-2010 8:58 AM. Topic has 1 replies.
 
 
 
|
|
Sort Posts:
|
|
|
|
03-09-2010, 8:58 AM
|
dstites
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
Joined on 03-03-2009
Posts 844

|
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...'
|
|
|
|
|