V
VJBU C
Guest
Hi,
We have developed a website and deployed it in IIS enabling windows authentication. Everything works fine until infra team decommissioned a domain controller and added a new one instead of that. But the application is still pointing to old domain controller. We haven't used LDAP connection string in our application anywhere.
When we try to get the groups the user is added in the active directory it throws error. The error contains the domain controller name which is decommissioned. Not sure from where it is getting this name? Please help me to find this issue.
[ActiveDirectoryServerDownException: The server is not operational.
Name: "XXXX.DOMAIN.COM"
]
System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName) +510
System.DirectoryServices.ActiveDirectory.DirectoryEntryManager.ExpandWellKnownDN(WellKnownDN dn) +239
System.DirectoryServices.ActiveDirectory.DomainController.get_Domain() +71
System.DirectoryServices.AccountManagement.ADStoreCtx.GetGroupsMemberOf(Principal p) +839
System.DirectoryServices.AccountManagement.Principal.GetGroups() +32
Regards,
Vijay.C
Continue reading...
We have developed a website and deployed it in IIS enabling windows authentication. Everything works fine until infra team decommissioned a domain controller and added a new one instead of that. But the application is still pointing to old domain controller. We haven't used LDAP connection string in our application anywhere.
When we try to get the groups the user is added in the active directory it throws error. The error contains the domain controller name which is decommissioned. Not sure from where it is getting this name? Please help me to find this issue.
[ActiveDirectoryServerDownException: The server is not operational.
Name: "XXXX.DOMAIN.COM"
]
System.DirectoryServices.ActiveDirectory.PropertyManager.GetPropertyValue(DirectoryContext context, DirectoryEntry directoryEntry, String propertyName) +510
System.DirectoryServices.ActiveDirectory.DirectoryEntryManager.ExpandWellKnownDN(WellKnownDN dn) +239
System.DirectoryServices.ActiveDirectory.DomainController.get_Domain() +71
System.DirectoryServices.AccountManagement.ADStoreCtx.GetGroupsMemberOf(Principal p) +839
System.DirectoryServices.AccountManagement.Principal.GetGroups() +32
Regards,
Vijay.C
Continue reading...