Total Pageviews

Search This Blog

Wednesday, July 21, 2010

Troubleshooting Dynamics AX 2009 AIF, WCF, IIS on Windows Server 2008 R2

Issue: We installed AIF on Windows Server 2008 R2 running 64 bit, but was unable to browse the website as it was throwing HTTP – 403 Error and the application pool was getting stopped by itself.

Checked the application pool service account and tried restarting the application pool. Restarted IIS but still the application pool stops when we browse the website.

Also, IIS was unable to recognise the .svc extension.

Troubleshooting Steps:

a. Firstly, .svc extension was not getting recognized by IIS, So had to run the servicemodelreg utility which registers WCF (.svc mime type and related handlers into IIS)

b. Then, the next error which I got was aspnetcompatibility, which got resolved by turning off the aspnetcompatibility flag in web.config

c. Then, encountered this error, and it got resolved by giving permission for the business connector account to read/write to %windir%/temp folder

d. Finally, in order to access the webservice from a different machine, had to go turn on the anonymous access at DynamicsAXAIF website.

1 comment:

Anonymous said...

I would like to exchange links with your site
Is this possible?