Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Getting Printers from AD error "Unknown error (0x80005000)" on Fin

Reply
Thread Tools

Getting Printers from AD error "Unknown error (0x80005000)" on Fin

 
 
=?Utf-8?B?bXVsdGlzeW5j?=
Guest
Posts: n/a
 
      12-13-2005
I'm getting the following error:
Unknown error (0x80005000)

It gives this error on the line "results = searcher.FindAll()"

-----code------
Dim rootentry As New
System.DirectoryServices.DirectoryEntry"LDAP://mydomain.com/", "user1",
"pss1", AuthenticationTypes.Secure)
Dim searcher As New System.DirectoryServices.DirectorySearcher(rootent ry)
searcher.PageSize = 500
searcher.Filter = "(&(objectClass=PrintQueue)(serverName=" &
"printerserver1" & "))"
Dim results As DirectoryServices.SearchResultCollection
results = searcher.FindAll()
-----code-----

This code works in VB.net when i run it as a windows application.
Please help!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Stock Intel Pentium D Radial Curved non-Bifurcated Fin Heatsink Review Silverstrand Front Page News 0 11-14-2006 09:09 PM
FIN Timeout kevin@allgraniteandmarble.com Cisco 3 08-27-2005 11:22 PM
cannot fin sum() in python 2.3 mir nazim Python 1 05-24-2004 07:15 PM
Developer's needed fin SF Bay Area, for Embedded HTML/WML programming Morgan Strickland HTML 0 12-20-2003 09:04 PM
thow to turn off "system restore" equivalent fin W2K? fros Computer Support 4 12-17-2003 01:32 PM



Advertisments