jeffchs Posted July 2, 2003 Posted July 2, 2003 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 Quote
Administrators PlausiblyDamp Posted July 3, 2003 Administrators Posted July 3, 2003 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) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.