0

When I am publishing my ASP.NET website, VS 2010 shows an error:

Error 1 Object reference not set to an instance of an object.

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.

psubsee2003
  • 8,395
  • 8
  • 60
  • 77
zkanoca
  • 9,174
  • 9
  • 44
  • 90

1 Answers1

0

After restarting Visual Studio, the error message has gone. Thanks to C Baurer

Community
  • 1
  • 1
zkanoca
  • 9,174
  • 9
  • 44
  • 90
  • When an error occurred it is not simple to carefree by restarting because it might happen again, Check your Event Viewer. – Aria Dec 26 '14 at 14:26