如何将网站发布到mywindowshosting [英] How do publish website to mywindowshosting

查看:139
本文介绍了如何将网站发布到mywindowshosting的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对发布网站很新,所以我会尝试解释我的最佳。我在尝试发布网站时不断收到错误

引用:

对象引用未设置为对象的实例。





我尝试过:



我试过删除.compiled文件

解决方案

嗯,你的代码假设有些操作当它没有返回一个实际工作的对象时。



你正在尝试使用一个不存在的对象。您正在尝试调用方法或访问null上的属性。



这可能有很多原因,具体取决于错误发生时代码执行的操作

I am quite new to publishing sites so I will try to explain my best.I keep getting the error when I try to publish the site

Quote:

Object reference not set to an instance of an object.



What I have tried:

I have tried deleting the .compiled files

解决方案

Well, you're code is making the assumption that some operation that returned an object actually worked when it didn't.

You're trying to use an object that doesn't exist. You're trying to call a method or access a property on null.

There's lots of possible causes for this, depending on what your code is doing when the error occurs.


这篇关于如何将网站发布到mywindowshosting的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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