Error: “Handler “WebServiceHandlerFactory-Integrated” has a bad module “ManagedPipelineHandler” in its module list”
This error showed up when I tried to deploy an ASP.Net Web Service to IIS 7. I tried multiple thongs, including: adding Script Handlers, changing ports and what not.
But thanks to the post here, I just ran the following command and I was able to access the web service.
C:\Windows\Microsoft.NET\Framework\(version)>aspnet_regiis.exe –i
This command invokes the ASP.Net IIS Registration tool. Detailed here.