I get this error message when I\'m trying to start the application.
An error occurred attempting to determine the process id of the DNX process host
Microsoft changed the hosting model as described in the release notes.
In project.json
replace the dependency
"Microsoft.AspNet.Server.IIS": "1.0.0-beta7"
with
"Microsoft.AspNet.Server.Kestrel": "1.0.0-beta8"
In web.config
in the handlers
section remove every entry except
The complete web.config
will look like this:
RC1: While using RC1 I had the error after moving the solution folder. After deleting the bin
and obj
folders everything worked again.
As user764754 noted, simply restarting Visual Studio can also help.