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:
- Open a command prompt
- run the following command %windir%\Microsoft.net\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:
- Go to the application pool section in IIS
- right click Your application pool – in this case the “MicrosoftDynamicsAXAif50” pool and select advanced settings
- Search the property “Enable 32 bit applications”. A value equal to false means we are running in 64 bit mode and vice versa.