Published Core App crashes on IIS

  • Thread starter Thread starter devGalaxy
  • Start date Start date
D

devGalaxy

Guest
The WebApi runs fine on Visual Studio 2017. It is core 2.1 application.

After I publish it and deploy on IIS, I can see swagger.

On testing the endpoint, the IIS crashes on random lines of code for every endpoint giving unhandled exception

Object reference not set to an instance of an object.

An unhandled exception has occurred while executing the request.


I know for a fact that there is nothing wrong with the code.

Continue reading...
 
Back
Top