Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

system.drawing not found error - ASP.NET

Posted on 2002-06-10
6
Medium Priority
?
701 Views
Last Modified: 2007-12-19
I just installed asp.net on a windows 2000 server. I would like to create a pie chart.  I found a sample pie chart script on the 123aspx site... here's the URL:
http://www.123aspx.com/redir.aspx?res=27396

This script seems very straightforward.  I copied the createpiechart.aspx file to c:\inetpub\wwwroot and copied the utCharting.dll file to a new "bin" folder which I created under c:\inetpub\wwwroot.  When I try to run the application, I get this error message:
File or assembly name System.Drawing, or one of its dependencies, was not found.

My understanding of ASP.NET is that system.drawing is a built in interface.  Is there some setting that needs to be set for this to take effect? Or is it possible I installed the script and/or DLL for this charting program incorrectly?

Thanks
0
Comment
Question by:scottwb_98
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 

Expert Comment

by:softomatix
ID: 7071848
You need to add reference to System.Drawing.dll assembly to your project.

Create a virtual folder under main wwwroot folder and copy aspx file there. Create a bin folder under that folder and copy the DLL there.
0
 

Accepted Solution

by:
softomatix earned 450 total points
ID: 7071851
Here is a URL to a much more elaborate charting library.

http://www.pardesiservices.com/Softomatix/ASPChartNet1.asp

0
 

Author Comment

by:scottwb_98
ID: 7071854
I tried creating a virtual folder under wwwroot and putting the aspx file there, and then putting the DLL in a bin folder under that virtual folder.  That did not make a difference.

How would I go about adding a reference to the system.drawing.dll assembly?  I searched my system for "system.drawing.dll" and the file was not found.  Could that be the problem?  Should it have come with the .NET framework?

Thanks
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Expert Comment

by:softomatix
ID: 7071861
System.Drawing.dll does gets installed with .Net framework. Infact without this there would not be any graphics operations in .Net apps. It should be present in <windows folder>/Microsoft.Net/<framewotk version> folder.

If this file is not there then there is serious problem with your installation of .Net framework.
0
 

Author Comment

by:scottwb_98
ID: 7071912
Ok I checked and the system.drawing.dll file is in that folder.  What else could be wrong?  How would I add a reference to system.drawing.dll to the project??
0
 
LVL 33

Expert Comment

by:hongjun
ID: 7516165
This question appears to have been abandoned. Please come back to this question and do the necessary evaluation or feedback. I will invite a Moderator to close this question if there's no reply from you after seven days.

I suggest
<delete>

** PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER **

hongjun
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question