I have a website that I published before adding it in IIS. After that I set the published website as the default website in IIS.
I got an error that the \"Object referen
Try this:
enabled
.Such solution helped me to solve null reference exception problem after publish.
That exception is caused by an object not being instantiated. Open the project and attach a debugger to the IIS process. A web service which is consuming the ASP.NET page is throwing the exception.