Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ERROR CS0234: The type or namespace name 'DataAccessHelper' does not exist in the namespace 'BCC' (are you missing an assembly reference?)

Reply
Thread Tools

ERROR CS0234: The type or namespace name 'DataAccessHelper' does not exist in the namespace 'BCC' (are you missing an assembly reference?)

 
 
li.eddie@gmail.com
Guest
Posts: n/a
 
      01-06-2006
Hi All,
I'm new to ASP.NET and trying to create a Database application with
MS Visual Web Dev 2005. In my project, I wrote a generic abstract class
called DataAccessHelper.cs under App_Code folder which handles all the
Database related work, so all my WebForm classes can inherit from it
and consume its functions.
Inside the dev env, when I press F5, it launches the browser with
http://localhost:2739 and everything shows up as expected. However,
when I try to access it through a regular port 80, I get the following
error:

*********************************************
Compiler Error Message: CS0234: The type or namespace name
'DataAccessHelper' does not exist in the namespace 'BCC' (are you
missing an assembly reference?)

Source Error:
Line 12: namespace BCC
Line 13: {
Line 14: public partial class AddNewProgram : BCC.DataAccessHelper
Line 15: {
Line 16: int startTimeParam = 0;
*********************************************

I have searched the web for this error without much progress, but I did
get an impression that the helper class needs to be built into a
library and placed under application's root directory, so tried, but
still didn't work. This is the part where I'm very confused.

Can someone please help me with this?

Thanks in advance!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CS0246: The type or namespace name 'sconnection' could not be found(are you missing a using directive or an assembly reference?) ShailKumar ASP .Net 1 09-13-2011 02:14 PM
Compiler Error Message: CS0246: The type or namespace name could not be found (are you missing a using directive or an assembly reference?) infinetinc@gmail.com ASP .Net 4 12-26-2006 04:46 PM
The type or namespace name 'IssueDataSetTableAdapters' could not be found (are you missing a using directive or an assembly reference?) tarscher@gmail.com ASP .Net 0 09-22-2006 08:41 AM
ASP.NET 2.0: What is the namespace and assembly name of generated assembly SA ASP .Net 0 08-09-2004 05:09 PM
Help:Why can't I use namespace System.Web? It is said that this namespace doesn't exist. But it should exist. ASP .Net 1 07-29-2003 04:31 PM



Advertisments