简体   繁体   中英

Failed to load resource: the server responded with a status of 500 (Internal Server Error) - Web API hosted on IIS

When I try to see data by using the Web API URL in the browser, in the console I see "Failed to load resource: the server responded with a status of 500 (Internal Server Error)"

Web API works on localhost(development database) but not when deployed to IIS(using production database). Localhost works even if i connect to production database. May i know what could be the problem. Thank you.

There could be lots of problems, Starting from IIS it self and ending on FireWalls, You should check

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM