我尝试发布我的网络应用程序时显示错误 [英] Show error when i try to publish my web-application

查看:68
本文介绍了我尝试发布我的网络应用程序时显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次发布网页时,

我需要在localhost中发布我的网络应用程序但显示此例外:

< pre lang =text>例外细节:; System.NullReferenceException:对象引用未设置为对象的实例。



和此:

 < span class =code-keyword> public   static  BaseLanguage语言
{
get { return _language.Invoke(); }
}





有什么问题?

请帮帮我??

解决方案





第一眼看,我怀疑,你的代表对象 _language 为空。尝试在 localhost 上运行调试模式。验证所有的东西,然后去发布。



希望它有效。


Hi,it is my first time when i like to publish a web,
I need to publish my web-application in localhost but show this Exception :

Exception Details:; System.NullReferenceException: Object reference not set to an instance of an object.


and this :

public static BaseLanguage Language
{
   get { return _language.Invoke(); }
}



What is problem ?
Please help me ??

解决方案

Hi,

On the first look, I doubt, your delegate object "_language" is null. Try by running in debug mode on localhost. verify all the things and then go for publishing.

hope it works.


这篇关于我尝试发布我的网络应用程序时显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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