Click here to Skip to main content
15,888,579 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear friends,
When I deploy a ASP.NET web application on IIS server in windows server 8 I am getting object reference not set to an instance of an object error after hosting but when I run local machine it'll working fine... kindly anybody can give me the solution on this problem?

Thanks and regards,
Parthiban K
Posted
Updated 13-May-14 18:53pm
v2
Comments
DamithSL 14-May-14 0:50am    
can you update the question with full error details? what is the .net framework you target for your web application? what is the .net framework in your hosted web site/application?
Parthi_Karnan 14-May-14 1:58am    
I'm using .NET Framework 3.5 and when i run an asp.net application on local machine it'll working fine but after IIS hosting i'm getting object reference not set to an instance of an object error... here what can i do?

1 solution

you better learn how to do a deployment correctly in IIS. please check below articles
Deploying ASP.NET Websites on IIS 7.0 [^]
http://www.dotnetfunda.com/articles/show/1247/how-to-host-aspnet-application-on-the-web-server-iis[^]
 
Share this answer
 

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