Re: ado & Active directory
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Thu, 28 Sep 2006 18:48:11 +0200
KM,
Well, no, that doesn't help, I am using ado.net...
Adodb is not AdoNet
it is Ado, you are probably using .Net, but with that is AdoDb not a .Net
part, you can use everything in .Net.
Cor
"km" <SSKM@xxxxxxxxx> schreef in bericht
news:OA38jRx4GHA.3840@xxxxxxxxxxxxxxxxxxxxxxx
Well, no, that doesn't help, I am using ado.net... It's not a vb problem,
it's an ado problem, or maybe an active directory problem, I figured any
ado group -- dot net or not -- may have encountered something like this
and help. Thanks for your input though.
"Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx> wrote in message
news:egCjR1q4GHA.2264@xxxxxxxxxxxxxxxxxxxxxxx
km,
This is not a Ado newsgroup but an ADONET newsgroup.
For visual basic there is by instance the newsgroup
microsoft.public.dotnet.languages.vb.data
I hope this helps,
Cor
"km" <SSKM@xxxxxxxxx> schreef in bericht
news:eLDueAo4GHA.4832@xxxxxxxxxxxxxxxxxxxxxxx
I am using ado to connect to active directory in a web application.
I create the command:
objConnection = new adodb.connection
objCommand = New adodb.Command
objConnection.Provider = ADSDOObject
objCommand.Properties("Page Size").Value = 1000
objCommand.Properties("SearchScope").Value = 2
I have one server, one IIS, 2 directories. All permissions are the same
that I can tell on both directories and IIS settings. However, when I
run the above on one of the directories, it run fine, on the other I get
this error:
System.NullReferenceException: Object reference not set to an
instance of an object. at System.Enum.InternalGetValue() at
System.Enum.System.IConvertible.ToBoolean (IFormatProvider provider)
Why would I get this error on one directory and not the other, exact
same program, same web.config, everything I can think of is exactly the
same. And whatever could be the cause?? Thank you for your help.
.
- References:
- ado & Active directory
- From: km
- Re: ado & Active directory
- From: Cor Ligthert [MVP]
- Re: ado & Active directory
- From: km
- ado & Active directory
- Prev by Date: Re: ado & Active directory
- Next by Date: Re: How do I connect to SQL database using applicaiton roles and ado.net?
- Previous by thread: Re: ado & Active directory
- Next by thread: Re: ado & Active directory
- Index(es):
Relevant Pages
|