Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old February 10th, 2009, 01:24 PM
Registered User
Join Date: Feb 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default compilation error

Hi Here is the error I am getting: I tired many things but no help. This prob occurs when i try to deploy my app on Windows 2000 server, where as When it is ran under xp development machine it works fine. in my references system.design.dll, system.drawing.dll are present But when i try to add system.drawing from .NET tab it is not doing anything, not adding reference. Could youpls have a lok at it

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

Compiler Error Message: CS0012: The type 'System.Drawing.Color' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Drawing, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

Source Error:

Line 18: <td colspan="2" style="border-bottom: olive thick solid; height: 1px; background-color: #003399">
Line 19: <img align="absmiddle" src="Images/logo.gif" style="border-left-color: olive; border-left-style: none; border-right-width: thick; border-right-color: olive; width: 87px; height: 97px;" />
Line 20: <asp:SiteMapPath ID="SiteMapPath1" runat="server" ForeColor="FloralWhite" style="vertical-align: top">
Line 21: <NodeStyle BackColor="#80FFFF" />
Line 22: <CurrentNodeStyle ForeColor="Blue" />
  #2 (permalink)  
Old February 10th, 2009, 05:09 PM
Friend of Wrox
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default ** CROSSPOST ** already answered

This post is a duplicate of a post in
p2p.wrox.com Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics

to wit, this post:
compilation error

Please don't post the same question to more than one forum. It just causes duplication of effort.

Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation error venkatad ASP.NET 2.0 Basics 7 February 12th, 2009 06:01 PM
Error: Microsoft VBScript compilation error '800a0409' webXtreme Classic ASP Basics 4 February 4th, 2009 03:58 AM
C++ Compilation error indupriyav C++ Programming 0 February 5th, 2007 08:37 AM
Compilation Error don baroo ASP.NET 1.0 and 1.1 Basics 2 August 26th, 2005 08:05 PM
compilation error saint Classic ASP Databases 2 June 23rd, 2003 04:08 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.