Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Wrox Announcements and Feedback > All Other Wrox Books
All Other Wrox Books Do you have a question about a Wrox book that isn't listed anywhere on p2p.wrox.com or where the forum is locked? Here's a forum to post questions about any other Wrox book so that other readers or one of the authors can help you with your questions. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the All Other Wrox Books 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 September 17th, 2005, 09:13 AM
Registered User
Join Date: Sep 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compiler Error Message: CS0246: The type or namesp

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\wwwroot\samples\sample5.aspx Line: 4

c:\inetpub\wwwroot\samples\sample5.aspx(4,11): error CS0246: The type or namespace name 'Acme' could not be found (are you missing a using directive or an assembly reference?)

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler Error Message: BC30456: 'dgproducts_editc sunitha50 ASP.NET 2.0 Basics 0 February 27th, 2007 12:43 PM
Compiler Error Message: BC30456: crmpicco ASP.NET 2.0 Basics 3 November 30th, 2006 07:40 AM
Compiler Error Message: BC30456 yaip All Other Wrox Books 6 October 12th, 2006 02:56 PM
Compiler Error Message: CS1010: Newline in constan @shish Crystal Reports 0 May 10th, 2006 04:39 AM

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