Click here to Skip to main content
15,909,591 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am developing asp.net website..
every thing is fine in developing & on local host.
when i am publish on host server it or directly upload code files it gives error class not found.
it clearly seen by me files added in the App_Code has giving error.

please help me to solve the problem.
Posted

You are missing a dll. You should publish your code and copy that up to the server.
 
Share this answer
 
Comments
Maciej Los 11-May-14 16:37pm    
Good one!
Member 8825505 12-May-14 0:21am    
that is already known by me i ma also uploading the all dll but it gives error that dll is missing although it is available in App_Code Folder.
ZurdoDev 12-May-14 7:54am    
It needs to be in bin folder.
Member 8825505 12-May-14 7:55am    
it is in bin folder only then also it giving error dll not available.
ZurdoDev 12-May-14 8:00am    
You are not being very clear. You said there was an error about a class not available. Now you say it is about a dll not available. It would be helpful if you gave the exact error message so we can all stop guessing.
Solution 1 by RyanDev is very good!

For more detailed information, please see: Deploying Your Site Using Visual Studio (C#)[^] - very interesting tutorial ;)
 
Share this answer
 
v2
Comments
ZurdoDev 11-May-14 16:53pm    
+5 for including link.
Maciej Los 11-May-14 17:02pm    
Thank you ;)
Member 8825505 12-May-14 0:23am    
after doing this whole procedure it giving me error in form where ever i have used class add in the App_Web that dll is missing or not available.
as it is already available in the Bin Folder.
Maciej Los 12-May-14 2:42am    
?
Member 8825505 15-May-14 3:03am    
i solved by my self the problem is that i need to create the virtual directory on the server.
i have created just directory & upload my content so i searching the class files in the root app code folder..
so it giving error.

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