当我在Windows服务器8中的IIS服务器上部署ASP.NET Web应用程序时,我收到对象引用错误 [英] When I deploy an ASP.NET web application on IIS server in windows server 8 I am getting object reference error

查看:99
本文介绍了当我在Windows服务器8中的IIS服务器上部署ASP.NET Web应用程序时,我收到对象引用错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,

当我在Windows服务器8上的IIS服务器上部署ASP.NET Web应用程序时,我发现对象引用未设置为托管后的对象错误实例但是当我运行时本地机器它会工作得很好...亲切的任何人都可以给我这个问题的解决方案吗?



谢谢和问候,

Parthiban K

解决方案

您最好学习如何在IIS中正确部署。请查看以下文章

部署ASP.NET网站IIS 7.0 [ ^ ]

http://www.dotnetfunda.com/articles/show/1247/how-to-host-aspnet-application-on-the-web-server-iis [ ^ ]

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

解决方案

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[^]


这篇关于当我在Windows服务器8中的IIS服务器上部署ASP.NET Web应用程序时,我收到对象引用错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆