After upgrading from ASP.NET 5 beta 7 to RC1, an attempt to start a web application in IIS Express from Visual Studio ends with "Error trying to determine the process ID of the DNX process where your application is hosted."
In the Windows event log, I see the following errors:
- Failed to start process "1828". Port = 31115, Error code = '-2147024891'. (EventID 1000, it's always)
- Warning: Failed to create stdoutLogFile \? \ C: _temp_httpplatform-stdout.log_6072_2015128124832.log, ErrorCode = -2147024864. (EventID 1004, this only happens sometimes)
The log files configured in the HttpPlatformHandler Configuration are created but completely empty, as well as the VS output window.
How can I diagnose the cause of the failure?
Relevant Versions:
- Visual Studio Enterprise 2015 Update 1
- DNX SDK Version: 1.0.0-rc1-update1
- Windows 7 Enterprise SP1 (64-bit)
Relevant sections from web.config:
<system.webServer> <handlers> <add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" /> </handlers> <httpPlatform processPath="%DNX_PATH%" arguments="%DNX_ARGS%" stdoutLogEnabled="true" stdoutLogFile="C:\_temp\_httpplatform-stdout.log" startupTimeLimit="3600" forwardWindowsAuthToken="false" /> </system.webServer>
What may be interesting is that initially, when I tried to launch a completely new ASP.NET 5 web application created from a template, it worked. Now this is also not so.
UPDATE . Despite the error triggered by IIS Express, it returns error 502.3 Bad Gateway
metalheart
source share