Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. namespaces in web site

namespaces in web site

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-netdatabasequestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mack Ait Aoudia
    wrote on last edited by
    #1

    Hello everyone, I developed a web site with asp.net 2005 (c#). I put in app_code three directories that conatin my classes: BIZ: contains bizuness classes DAL: data access layer MODEL: contains models of my database's table When I run the project locally on my computer everything is allright. But I published the site, I get this error: CS0246: The type or namespace name 'BIZ' could not be found (are you missing a using directive or an assembly reference?) This error is in a function like follow: private void DisplayBlogLaUne(){ BIZ.Blog o; o = new BIZ.Blog(); Model.InfoBlog info; ... } This site bugs on BIZ.Blog o; Could anyone tell me what's the problem?

    Just Relax And Keep It Simple.

    C 1 Reply Last reply
    0
    • M Mack Ait Aoudia

      Hello everyone, I developed a web site with asp.net 2005 (c#). I put in app_code three directories that conatin my classes: BIZ: contains bizuness classes DAL: data access layer MODEL: contains models of my database's table When I run the project locally on my computer everything is allright. But I published the site, I get this error: CS0246: The type or namespace name 'BIZ' could not be found (are you missing a using directive or an assembly reference?) This error is in a function like follow: private void DisplayBlogLaUne(){ BIZ.Blog o; o = new BIZ.Blog(); Model.InfoBlog info; ... } This site bugs on BIZ.Blog o; Could anyone tell me what's the problem?

      Just Relax And Keep It Simple.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      sounds like the dll is missing.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      M 1 Reply Last reply
      0
      • C Christian Graus

        sounds like the dll is missing.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        M Offline
        M Offline
        Mack Ait Aoudia
        wrote on last edited by
        #3

        hello Christian, I don't have any DLL in my website. I don't need any and I don't use any! The BIZ.Blog is falling and BIZ is the directory who is the namespace of Blog class. thanks.

        Just Relax And Keep It Simple.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups