Philippsen's Blog

Everyday findings in my world of .net and related stuff

Posts Tagged ‘SVC extension missing’

SVC error when deploying AIF service to IIS

Posted by Torben M. Philippsen on November 21, 2011

If you are viewing an IIS error page like this after having published Your AIF service to IIS, the svc extension is probably missing in IIS:



This is probably caused by WCF not being correctly installed or registered in IIS.
To fix this do the following:

  1. Open a command prompt
  2. run the following command %windir%\\framework\v3.0\WindowsCommunicationFoundation\servicemodelreg -i

If you are running a 64 bit OS, You will have to decide whether to run the above command from the “framework64” folder og just the “framework” folder. The easy way to determine this, is to find out whether Your application pool for AIF is running in 32 bit mode. If not you can run the command for the 64 bit version  – otherwise You will have to use the 32 bit version.

To find out whether yourt application pool runs in 64 bit mode do the following:



  1. Go to the application pool section in IIS
  2. right click Your application pool – in this case the “MicrosoftDynamicsAXAif50” pool and select advanced settings
  3. Search the property “Enable 32 bit applications”. A value equal to false means we are running in 64 bit mode and vice versa.

Posted in AIF, Microsoft Dynamics AX | Tagged: , , | 5 Comments »

%d bloggers like this: