ERROR CS0234: The type or namespace name 'DataAccessHelper' does not exist in the namespace 'BCC' (a

Discussion in 'ASP .Net' started by li.eddie@gmail.com, Jan 6, 2006.

  1. Guest

    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!
     
    , Jan 6, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bill Johnson
    Replies:
    0
    Views:
    1,381
    Bill Johnson
    Jul 8, 2005
  2. LT
    Replies:
    7
    Views:
    2,360
    Phlip
    Jul 25, 2004
  3. Replies:
    3
    Views:
    1,609
    Eliyahu Goldin
    Feb 6, 2007
  4. sharat
    Replies:
    13
    Views:
    1,242
  5. jwburr
    Replies:
    1
    Views:
    3,509
    jwburr
    Jan 22, 2008
  6. Montand
    Replies:
    1
    Views:
    684
    Alexey Smirnov
    Feb 20, 2008
  7. Bill Johnson

    CS0234 Global does not exist ... but it genuinely does

    Bill Johnson, Jul 8, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    378
    Bill Johnson
    Jul 8, 2005
  8. programmingzeal
    Replies:
    0
    Views:
    1,697
    programmingzeal
    May 6, 2012
Loading...