DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
jputnam 12/2/2016 2:45:26 PM

Adding an AD user to an IIS7 Web Site/Application Pool for use with Web Services

* This article, and all our great .NET Development documentation, Is available on the .NET Development menu

Adding a User to GP Security
ACCESS DENIED
I created a web application that used Web Services to return a list of purchase orders. The app ran fine locally but once I published it (to our internal server) I received an error. Here is a screenshot of App with error and Dynamics Web Service Exception Console (Fred is the server that the app is published to).

This is the result of the app using the Default App Pool with the identity of Application Pool Identity which GP knows nothing about. The solution is to create a new user in Active Directory, create a new app pool in IIS using the new user, add your app to the new pool and finally add the new user to GP security.


Version: All
Section: Web Services,.NET Development