Active Directory Discovery - Current security context is not associated with an Active Directory domain or forest

Hiya,

I'm having some problems with the Active Directory discovery methods, I select the new active directory container button and whenever I click ok on that dialog box it crashes out with the following error:

System.DirectoryServices.ActiveDirectory.ActiveDirectoryOperationException: Current security context is not associated with an Active Directory domain or forest.
at System.DirectoryServices.ActiveDirectory.DirectoryContext.GetLoggedOnDomain()
at System.DirectoryServices.ActiveDirectory.DirectoryContext.IsContextValid(DirectoryContext context, DirectoryContextType contextType)
at System.DirectoryServices.ActiveDirectory.DirectoryContext.isDomain()
at System.DirectoryServices.ActiveDirectory.Domain.GetDomain(DirectoryContext context)
at Microsoft.ConfigurationManagement.AdminConsole.ActiveDirectory.Utils.TryParseSiteServerDomain(String domainName, String& ldapPath)
at Microsoft.ConfigurationManagement.AdminConsole.ActiveDirectory.DiscoveryPageControl.ListViewItemAdd()
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Any help would be much appreciated,

Thanks

Paul

August 14th, 2008 8:19am

Sorry for the really basic question here, but are you logged on to a domain (on the site server)?

BH

Free Windows Admin Tool Kit Click here and download it now
August 14th, 2008 12:24pm

Hey,

I was logged on locally, all works fine when I use a domain login...silly me.

Paul

  • Proposed as answer by massimos Wednesday, January 30, 2013 1:50 PM
August 18th, 2008 7:39am

Hey,

I was logged on locally, all works fine when I use a domain login...silly me.

Paul

  • Proposed as answer by massimos Wednesday, January 30, 2013 1:50 PM
Free Windows Admin Tool Kit Click here and download it now
August 18th, 2008 7:39am

help for me too.

Thank you.

August 5th, 2015 7:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics