I developed an .net framework WebApi and integrate the SwaggerUI. It works in my local IIS express.
Then I deploy my project into a local folder restapi
and I copy this folder to my remote IIS server and configure it. The webpage is running well bet the SwaggerUI doesn't. Here is the screenshot:
The error message is:
500 : {"Message":"An error has occurred."} http://myserver:80/swagger/docs/v1
What could be the reason? Don't know where to start to fix the issue. Can anybody help? Thanks.
By the way, I'm using Swashbuckle 5.0.