Hello,
first of all i post some Information to the Server:
Windows Server 2008 v6.0 SP2
IIS : 7.0
We have a Problem with an
ASP.Net MVC 4 Website (running as independent Site with own App-Pool and Net-Framework 4.5) calling
a
ASP.Net MVC 4 WebApi (runnings as independent Site with own App-Pool and Net-Framework 4.5, with Basic Authentication)
Both of these Websites are on the same IIS and while I am debugging local on my PC the Calls to the WebApi have worked as expected (the webapi is deployed yet,even durning my local Testing), but when i deploy the Website, the Api Calls wont work anymore.
I always get an Error saying
The connection to the remote server can not be established.
Could anyone give me an Advise what i should do?
Do i have to call the WebApi in another Way because the Site are on the same IIS? Unfortunately i can test if I reach the Webapi on the Server directly, because our Server Administrators say that the IE on the Server is very restrictive and we cant Test Websites directly there. But i can ping it.
Do i need to change or add a Config?
Im happy if someone can Point me in the right direction or give me a Way i can follow to solve the Problem.
Many Thanks