Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Problem with publishing to IIS - getting HTTP Error 502.3 - Bad Gateway

$
0
0

I  am failing to get a web service written in ASP.Net Core RC2 running using IIS. 

I've set up everything as per the supplied instructions and have deployed the service using publish from VS 2105. When I to browse to the website root or attempt any GET operation,  I am getting this error:

HTTP Error 502.3 - Bad Gateway There was a connection error while trying to route the request.


Most likely causes: The CGI application did not return a valid set of HTTP errors. A server acting as a proxy or gateway was unable to process the request due to an error in a parent gateway.

The event viewer error is:
Failed to start process with commandline 'dotnet .\GHC DB API.dll', Error Code = '0x80004005'.

where "GHC DB API.dll" is the name of the dll for my service.

Running  dotnet "GHC DB API.dll" from the command line works ok but I really need to get it working via IIS.  All/any guidance much appreciated.


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>