Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > error '80005000' , ldap, GetObject, Windows 2003

Reply
Thread Tools

error '80005000' , ldap, GetObject, Windows 2003

 
 
douglas sur
Guest
Posts: n/a
 
      05-01-2004
I have a piece of asp code that runs fine on my windows 2000 server for over
a year. We recently brought up a Windows 2003 server and the code seemed to
work there for a while. Now the code has stopped working. I get a 80005000
error on the GetObject method. The code has not changed at all during this
time period. I have no idea what changes have been made to the Windows 2003
server that could affect this.

Here is the code snippet sans the comments and some error checking:

vSQL = "SELECT AdsPath, cn FROM
'LDAP://blah.blah.com:389/dc=xx,dc=xxx,dc=gov' WHERE objectClass='user' and
userprincipalname='" & Request("txtUserName") & "'"
Set rsLDAP = oConn.Execute(vSQL)
if Not rsLDAP.EOF then
Set usr = GetObject(rsLDAP.Fields("AdsPath").Value) <==THIS IS THE LINE
THAT BLOWS UP
Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000

etc.


I greatly appreciate any information you can shed on this topic.

--
+----------------------
Douglas Sur
Fax: (503) 218-7664


 
Reply With Quote
 
 
 
 
Valery Pryamikov
Guest
Posts: n/a
 
      05-01-2004
Hi,
0x80005000 == E_ADS_BAD_PATHNAME

-Valery
http://www.harper.no/valery


"douglas sur" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>I have a piece of asp code that runs fine on my windows 2000 server for
>over
> a year. We recently brought up a Windows 2003 server and the code seemed
> to
> work there for a while. Now the code has stopped working. I get a
> 80005000
> error on the GetObject method. The code has not changed at all during
> this
> time period. I have no idea what changes have been made to the Windows
> 2003
> server that could affect this.
>
> Here is the code snippet sans the comments and some error checking:
>
> vSQL = "SELECT AdsPath, cn FROM
> 'LDAP://blah.blah.com:389/dc=xx,dc=xxx,dc=gov' WHERE objectClass='user'
> and
> userprincipalname='" & Request("txtUserName") & "'"
> Set rsLDAP = oConn.Execute(vSQL)
> if Not rsLDAP.EOF then
> Set usr = GetObject(rsLDAP.Fields("AdsPath").Value) <==THIS IS THE LINE
> THAT BLOWS UP
> Const ADS_UF_DONT_EXPIRE_PASSWD = &h10000
>
> etc.
>
>
> I greatly appreciate any information you can shed on this topic.
>
> --
> +----------------------
> Douglas Sur
> Fax: (503) 218-7664
>
>



 
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
Deploying Business Desktops with Microsoft Windows Server 2003 and Microsoft Office 2003 Karthik Ragavan Microsoft Certification 0 08-17-2005 05:08 PM
Beta Exam 71-139: Deploying Business Desktops with Microsoft Windows Server 2003 and Microsoft Office 2003 lowdes MCSE 1 07-19-2005 02:45 PM
Help Me!! Cannot Create Web Projects on Windows Server 2003 with VS.NET 2003 Juan T. Llibre [MVP] ASP .Net 4 12-09-2004 02:14 AM
Urgent: Unable to debug stored procedure on Windows 2003 with VS.Net 2003 JollyK ASP .Net 0 02-09-2004 02:27 PM
Multiple Websites on Windows 2003 Server using Visual Studio.Net 2003 Kieran Kelly ASP .Net 3 09-29-2003 10:10 AM



Advertisments