We have some HTTP handlers specified in our web.config. When we were running this site via a Web Site Project, all worked fine. But for some reason, after porting this ove
For ASP.NET applications running on IIS7, HttpHandlers should be mapped in the <system.webServer>
section of your web.config. In IIS6, they were mapped in the <system.web>
section.
<system.webServer>
<handlers>
<add name="HandlerName"
path="HandlerPath" verb="*" type="Handler.Type"
resourceType="Unspecified" />
</handlers>
</system.webServer>
What you need to do is build your code.
You need to copy all the C# code out into a .ashx.cs file. In fact, I recommend you create a new .ashx and copy the C# code into its .ashx.cs file.
Web sites build dynamically. Web Application Projects, like every other similar project type in Visual Studio, need to have code in source files, and to have that code build into an assembly.