Last post Apr 10, 2014 10:35 PM by Shawn - MSFT
Apr 08, 2014 02:13 PM|Alex_DK|LINK
I have a .Net 4.0 assembly (WebPayments) that contains an HttpHandler (PaymentRequestHandler).
The handler processes requests on *.do URLs.
On my machine (VS2012+IIS Dev server) it all works fine but I cannot seem to get it working on IIS 7.5; all requests to *.do result in a 404.0 Not Found error.
(99% of posts related to this issue are due to people using <system.web> instead of <system.webServer> on IIS7+Integrated Mode, which I am doing and I believe to be correct)
- IIS 7.5 (.7600.16385)
- Pipeline: ASP.Net v4.0 (Integrated)
Default Web Site
<add verb="GET,POST" path="*.do" name="PaymentRequestHandler" type="WebPayments.PaymentRequestHandler" resourceType="Unspecified" />
I can see this handler in Handler Mappings:
But If I open a URL:
A 404 is returned:
It looks like Handler is correct, so I can't see whay I am getting a 404.
Can anyone suggest what I'm missing/doing wrong?
Apr 10, 2014 10:35 PM|Shawn - MSFT|LINK
For this situation, you could try to Register and Install IIS webserver again. You could run the following command in the command line/run:
32bit (x86) Windows
64bit (x64) Windows
Note: v4.0.30319 is my .Net Framework version, you could check your own .Net Framework version based on your own situation.