My web.config is setup as following. My handler lives in an assembly called TestProject.Custom. I am calling this handler via jQuery post, works great in VS 2010 (of course!) but when I push it out to IIS 7.5 or IIS 7, it throws 404 about not being able to find TestHandler.ashx. Not sure what I am missing.
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="TestHandler"
verb="*" preCondition="integratedMode"
path="TestProject.Custom.HttpHandlers.TestHandler.ashx"
type="TestProject.Custom.HttpHandlers.TestHandler, TestProject.Custom"/>
</handlers>
Edit: I am calling this handler with jQuery and the handler is behind forms authentication (which I don't think is the problem):
jQuery(function () {
jQuery.ajax({
type: "POST",
url: "TestHandler.ashx",
data: { "test_data": "some test data" }
});
});