[英]Error with no line number and class: “Object reference not set to an instance of an object.”
When I am publishing my ASP.NET website, VS 2010 shows an error: 当我发布ASP.NET网站时,VS 2010显示错误:
Error 1 Object reference not set to an instance of an object. 错误1对象引用未设置为对象的实例。
There is not neither a class name nor a line number. 既没有类名,也没有行号。
What could cause this error? 是什么导致此错误?
Another point, the web site works with no error when debugging. 还有一点,该网站在调试时不会出错。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.