app migration active directory problem

jeffchs

Member
Joined
Jun 17, 2003
Messages
17
I have an asp.net web app that accesses active directory to change a users password. it runs fine on the the machine I developed it on. win XP with IIS 5.1. but when migrating the app to our main server (windows 2000 server, iis 5.0) it produces an error when trying to access the active directory.

Unknown error (0x80005000) at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_NativeObject() at System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args) at adpwd.WebForm1.Button1_Click(Object sender, EventArgs e)

I am at a loss and have looked for solutions, but to no avail. If anyone has any ideas please help!



Jeff
 
Is the windows 2000 server part of a domain?
Also are you running the WebApp using the default ASPNET account or impersonating another user? Whatever account the app runs as will need permissions to access AD. (probably)
 
Back
Top