Last post Feb 16, 2021 01:52 AM by YihuiSun
Feb 15, 2021 01:32 AM|daimaku|LINK
hi, i had made a webApi using asp.net, using net framework 4.72.
i tested my WebApi on my localhost using Postman and all the endpoints worked just fine.
i published my WebApi and uploaded it to me windows host, but i can't get a response even from a test endpoint that i made.
i'm using this url format to access my web api
i'm not using ports because i'm using a basic shared windows web host, i don't have access to use remote connections, but my hosting provider told me that it was fine to run mi webApi.
i'm receiving this error message from the host
Feb 16, 2021 01:52 AM|YihuiSun|LINK
Web API applications can be hosted in two ways:
i always had used linux server, but now i'm moving to windows server
IIS 10.0 Detailed Error - 500.19 - Internal Server
Based on the information you provided, it looks like you are using IIS Hosting.
There may be many reasons for receiving the IIS 10 500 internal server error.
click this link to see how to host ASP.NET Web API REST service on IIS 10.