1

I developed an .net framework WebApi and integrate the SwaggerUI. It works in my local IIS express.

enter image description here

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:

enter image description here

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.

Bagusflyer
  • 12,675
  • 21
  • 96
  • 179
  • Turn out it's the xml document issue. Please refer to: http://stackoverflow.com/questions/33914842/swagger-ui-returns-500-after-deployment – Bagusflyer Sep 06 '16 at 10:11

0 Answers0