Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

EDMS Problem with IIS - Unknown error (0x80041455)

$
0
0

Hi,

We have C# code deployed on IIS 7.5 in Windows 2008 R2. The code add/remove/search users in active directory using edms. The ARS has been upgraded to 7.0 from 6.0 so we upgraded the .net version to 4.5. The URL has been changed in settings file that's the only change we did. Ever since we changed the url we are getting the below error.

User not added with exception so return 1System.Runtime.InteropServices.COMException (0x80041455): Unknown error (0x80041455)

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

   at System.DirectoryServices.DirectoryEntry.Bind()

   at System.DirectoryServices.DirectoryEntry.get_AdsObject()

   at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne)

   at System.DirectoryServices.DirectorySearcher.FindOne()

its failing at

DirectoryEntry groupDE = newDirectoryEntry("EDMS://"+ server + "/"+ groupName, userID, password, auth);

This code was running for 3 years with old url. I tried all the options available on google related to authentication and no way out from this error. But the same code with new ars url works if I run it through windows job scheduler. Only on IIS it gives the below issue. Can someone please suggest a solution?


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>