HTTP 500.21 error while starting a web site directly through iisexpress.exe

smarketing

New Member
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:\[quote\] .\iisexpress.exe /site:MultipleRoutes\[/quote\]The site starts up successfully but I am getting the following error:\[quote\] HTTP Error 500.21 - Internal Server Error Handler "ExtensionlessUrl-Integrated-4.0" has a bad module "ManagedPipelineHandler" in its module list\[/quote\]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:\[quote\] .\iisexpress.exe /path:D:\Dropbox\Apps\MultipleRoutes /port:1672 /clr:v4.0\[/quote\]
 
Top