When I try to run a web site directly through iisexpress.exe, I am getting an error. This happens for all web sites. The command I used is as below:
.\iisexpress.exe /site:MultipleRoutes
The site starts up successfully but I am getting the following error:
HTTP Error 500.21 - Internal Server Error
Handler "ExtensionlessUrl-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list
I am assuming that somehow the website is not running under ASP.NET but when I fire up the sites through VS, there is no problem.
Any idea?
Edit:
Here is another fact: when I try to run the web site by specifying the path instead of the site name registered inside the applicationHost.config file, the site runs perfectly fine:
.\iisexpress.exe /path:D:\Dropbox\Apps\MultipleRoutes /port:1672 /clr:v4.0
This worked for me:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With