Rahul Sharma

Solutions Architect - Microsoft Dynamics AX | Azure

Blog
This is a technology blog covering Microsoft Dynamics AX, Microsoft Dynamics CRM, Microsoft Azure, IoT, .Net, SharePoint, SQL Server, SSRS, SSAS, SSIS, Apache Cassandra, MongoDB, and related technologies. Join this blog on facebook {Rahul Sharma}, to start a discussion !!! NOTE: My employer is not responsible for the content published here.

Index | MS Dynamics AX | MS Dynamics CRM
View blog as >> Magazine | Sidebar | Flipcard | Mosaic | Snapshot | Timeslide

Dynamics Ax Workflow (IIS 7 64 bit - Http error 405 - Http error 404.17)

This is the error you receive while trying to access ASMX web service from Windows 7 64-Bit / Windows 2008 Server 64-Bit and IIS 7.

If you try to validate Dynamics Ax 2009 workflow web service from Ax, you receive below error.


The request failed with HTTP status 405: Method Not Allowed.

When you validate workflow from Dynamics Ax, it actually tries to invoke ping method on AxWorkflowInstance.asmx web service. If successful, returns true else false.

And if you try to browse this ASMX web service directly, most probably you will hit the error mentioned below...

HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.


Now seeing this error it should be clear that there is some problem with the http handler of your web application.

To resolve this do following two things:

Step 1: Set application pool correctly.
Set "Enable 32-Bit Application" property to true in the advance settings of your application/virtual directory's application pool.


Also make sure that application pool is running in Classic mode and on 2.0 version of the .NET Framework.

Step 2: Check if you have 32 bit mapping for ASMX files.
  • Open Handler Mappings of your site, application or virtual directory. This is the place where you setup all ISAPI extensions and native modules.


  • Check for 32 bit WebServiceHandlerFactory-ISAPI-2.0 ISAP mapping for all ASMX files. Create one if does not exist by clicking on Add Module Mapping...


    Click yes on the dialog box.

    You can also add it manually to the web.config of your web application. In this case Ax workflow application (C:\Program Files\Microsoft Dynamics AX\50\Workflow). Setting is...



Please join this blog if you liked this post.
Also feel free to post your comment / feedback / queries.
Comments
2 Comments