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,563
  • 8
  • 61
  • 79
zkanoca
  • 9,664
  • 9
  • 50
  • 94

1 Answers1

0

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

Community
  • 1
  • 1
zkanoca
  • 9,664
  • 9
  • 50
  • 94
  • 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