Hi all,
I have a serviceComponent .NET component which is installed in COM+ (using
regsvcs) which queries Active Directory for user information and server names.
Occasionally it throws exception
Logon failure: unknown user name or bad password
while i am trying to access serverName property of DirectoryEntry object. If
i do ipconfig /release and ipconfig /renew and wait for like 20 seconds, it
works fine without any change. Sometime this is not sufficient and i need to
reboot my machine and after reboot it works. I dont make any changes to COM+,
component or anything.
Identity tab in Component services is set to use credential of currently
logged in user.
I am not sure what is the problem because it does not happen always but once
a while.
Please help.
--------------------------------
From: Salim Ansari
|