ASMX operation 404s, but ASMX service description doesn't, url routing issue?

前端 未结 1 1941
既然无缘
既然无缘 2021-01-14 17:41

So I\'ve found myself with a conundrum. We have some old asmx web services in our app that have worked fine for ages.

All of the sudden they stopped working on th

相关标签:
1条回答
  • 2021-01-14 18:22

    I've just encountered the same error, after stumbling over this SO entry:

    Handlers returns 404 error on IIS7.5 integrated pipeline

    and tried the solution of adding the asmx handler to the web.configs webServer section all was well:

    
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules runAllManagedModulesForAllRequests="true"/>
        <handlers>
          <add verb="*" path="*.asmx" name="asmx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </handlers>
      </system.webServer>
    
    
    
    0 讨论(0)
提交回复
热议问题