Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Cannot create ActiveX component : GetObject("LDAP://rootDSE")

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mirin - 24 Jul 2007 07:06 GMT
Hi Folks,

I'm using .NET framework 2.0

My code errors out on the below line:
objRootDSE = GetObject("LDAP://rootDSE")

The error message is "Cannot create ActiveX component".

The same code works fine in my development Win2000 PC where I'm using
MS Visual Web Developer 2005 integrated with IIS but gives the error
when I move it to a Win2000 server with IIS 5.0 in the same network.

What am I missing here?

Thanks!
mirin
Alexey Smirnov - 24 Jul 2007 08:39 GMT
> Hi Folks,
>
[quoted text clipped - 13 lines]
> Thanks!
> mirin

In .NET you should use System.DirectoryServices
http://www.google.com/search?hl=en&q=System.DirectoryServices+asp.net
mirin - 24 Jul 2007 10:11 GMT
Thanks Alexy.
I did attempt to use System.DirectoryServices which introduced a
different set of complexity I'd need a separate thread to discuss in.

What I want to figure out is what are the possible reasons my code
errors out in:
objRootDSE = GetObject("LDAP://rootDSE")

> > Hi Folks,
>
[quoted text clipped - 17 lines]
>
> - Show quoted text -

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.