I updated my vNext poject from RC1 to 1.0 (preview2), everything went fine, I can debug in Visual Studio without problems. Next I would like to upload the site on a Windows Server 2008 R2 and IIS 7.5. I installed the necessary Windows Hosting tools, and created the web application in the IIS. The problem is, that after I tried to open the page, it retued a 404 error. As I see in the task manager, my application is ruing, but stops in listening mode, I mean I see only these entries in the log file:
Hosting environment: Production
Content root path: C:inetpubwwwrootMySite
Now listening on: http://localhost:20706
Application started. Press Ctrl+C to shut down.
It seems like there is some problem with the iis integration. My web.config file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="....approotMySiteMySite.exe" arguments="" forwardWindowsAuthToken="true" stdoutLogEnabled="true" />
<httpErrors errorMode="Detailed" />
</system.webServer>
</configuration>
I tried some workarounds from github, which affected the Startup.cs file's Configure method without any success.
Any ideas?
Thanks.
