Click here to Skip to main content
15,906,567 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends,
I having compilation error when upload my project but it is working normally in LocalHost I can't able find what's the actual problem.

It show's that Type are namespace could not be found but i'm having that namespace in my project....

What Can I do now? Please Help Me Thanks in Advance......

Bellow error only come for me after uploaded my project




MSIL
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

'dotne' could not be found (are you missing a using directive

or an assembly reference?)


Source Error:

Line 14: public partial class Operators_Login : System.Web.UI.Page

Line 15: {

Line 16: dotne.DBconnection objfunc = new dotne.DBconnection();

Line 17: DataSet ds = new DataSet();

Line 18: protected void Page_Load(object sender, EventArgs e)

Source File: c:\inetpub\vhosts\zentruminfotech.com\httpdocs\Live Chat\Operators\Login.aspx.cs Line: 16


What Can I do now? Please Help Me

Thanks in Advance......



Regards
Shiva
Posted

1 solution

Are you using any third-party DLLs?

Check to make sure that any DLLs are being copied to your output directory. It looks like the server isn't able to find the dotne.DBconnection class.

Are you using the local web server, or IIS on your machine for development? I would try deploying to another IIS box, preferably where you have admin rights, so that you can work through this a little better.

Finally (or maybe firstly), clean and rebuild your entire solution, then try another deployment.

Cheers.
 
Share this answer
 
Comments
TheyCallMeMrJames 16-Jun-11 16:34pm    
Seriously? Downvoting on this answer? How about a comment as to why? ...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900