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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

namespaces and web site asp.net 2005 (c#)

Status
Not open for further replies.

MackAA

Programmer
Mar 21, 2006
13
CA
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;
...
}


Ths bug is on
BIZ.Blog o;

Could anyone tell me what's the problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top