In IIS Manager (Start β Run β inetmgr), select the website or virtual directory that you want to set to classic mode.
In the right Actions pane, click Basic Settings.
Next to the application pool (DefaultAppPool is used by default), click Select and change it to Classic .Net AppPool.
Walkthrough here .
Update: Sorry, I misunderstood your question. There are a few things you can try:
First, you need to double-check the capabilities of installing IIS from the control panel (Programs and Features β Turn Windows Features on and off β Internet Information Services β World Wide Web Services β Application Development Features). I have everything that is included in CGI and Server-side).
Secondly, make sure your site is configured correctly as an application (select website β Actions β View applications). If it is not there, you need to add it.
Thirdly, to check, in particular, the handlers accessed through the IIS manager β Select a website β Handler mapping β Open a function β Make sure .asmx is there. I have it three times, WebServiceHandlerFactory-Integrated (System.Web.Handlers.WebAdminHandler handler), WebServiceHandlerFactory-ISAPI-2.0 (Isapi module) and WebServiceHandlerFactory-ISAPI-2.0-64 (Isapi module).
Finally, you will be sure to use the correct .NET version for this application.
Again, apologies for Duff's original answer.
source share