Posted on: 2/20/2014 2:35:21 AM | Views : 767

HI Folks,
I need to be able to create a new user in Active Directory.  I am making a call to Membership.GetUser(username)  to check if the user already exists and if not  making a call to Membership.Createuser(username, password, null, null, null, true, guid, out status);
what is happening is that the application (web process w3wp) is terminating closing down the web application.  I have the call wrapped in a try/catch block but it is not throwing an exception.
The windows event log   is showing a warning (A process serving the application pool suffered a fatal communication error with the WPAS (Event ID 5011).  An error is also logged: Faulting application name w3wp.exe, Model KERNELBASE.dll, Event ID 1000.
My web application is running under a service account - I am assuming that I need to grant some permissions in A/D for this service account to be able to create new users - but I cannot find any documentation ...

Go to the complete details ...