Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiler Error Message: CS0246: The type or namespace name 'Acme'

Status
Not open for further replies.

frmsasp

Programmer
Sep 2, 2005
9
IN
Dear Friends,

I am receiving the error shown below while importing namespace with C#.

Can someone tell me where am I going wrong.


****************************************************************
****************************************************************

Server Error in '/' Application.
--------------------------------------------------------------------------------

Compilation Error
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: CS0246: The type or namespace name 'Acme' could not be found (are you missing a using directive or an assembly reference?)

Source Error:



Line 2: <%@ Import Namespace="System.Data.SqlClient" %>
Line 3: <%@ Import Namespace="System.Globalization" %>
Line 4: <%@ Import Namespace="Acme" %>
Line 5:
Line 6: <html>


Source File: c:\inetpub\ Line: 4


c:\inetpub\ error CS0246: The type or namespace name 'Acme' could not be found (are you missing a using directive or an assembly reference?)

****************************************************************
****************************************************************
 
Have you set a reference to this assembly in your project? Did you deploy this assembly to your web server?

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Dear Chip,


Kindly thanks for your reply. Will you please guide me how to set reference to this assembly ?
 
In visual studio, right-click on references, and select "Add Reference..." In the dialog, browse out to where the assembly was installed.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top