|
| NDS Provider error |
 |
Thu, 06 Oct 2005 19:07:10 GMT |
Hi,
Can anybody tell me why I'm getting errors running the following scripts on
Windows 2000 machines, while on NT4s it works fine? I have local admin
rights to the workstation.
'Set x = GetObject("NDS://MY_TREE_NAME/...") 'runtime error
-2147463168
(80005000) "Automation Error"
Set x = GetObject("NDS:") 'works, but can't do anithing with it
For Each y In x 'runtime error -2147023674 (800704c6) "The network is not
present or not started"
Debug.Print y.Name
Next
System Info:
Windows 2000 SP3 build 5.00.2195
Novell Client 4.90 SP2 ver 4.90.2.20040617
ACU version 2.2
|
| Post Reply
|
| Re: NDS Provider error |
 |
Tue, 11 Oct 2005 15:22:39 GMT |
Hi Alex,
"alex" <nobody@nowhere.net> wrote in
news:yBe1f.3508$GG4.2296@prv-
forum2.provo.novell.com:
> Hi,
>
> Can anybody tell me why I'm getting errors running the following scripts
on
> Windows 2000 machines, while on NT4s it works fine? I have local admin
> rights to the workstation.
you use same client on both w2k and wnt?
> 'Set x = GetObject("NDS://MY_TREE_NAME/...") 'runtime error
-2147463168
> (80005000) "Automation Error"
> Set x = GetObject("NDS:") 'works, but can't do anithing with it
have you tried with backslashes instead of slashes?
Guenter.
|
| Post Reply
|
| Re: NDS Provider error |
 |
Thu, 13 Oct 2005 18:14:17 GMT |
I think so. At least it reports the same version number in a property page
4.90.2.20040617
ACU version 2.2
I tried backslashes and forward slashes, commas and semicolons named and
nameless path segments,
same result. I'm getting either Automation Error (80005000) or System Cannot
find the path specified (80070003) error on 2k machines. I think the problem
may be due to some dlls not properly registered, but could not find which
ones.
I can, however, set x=
GetObject("LDAP://almostAnyNovellServer/o=myorg/ou=govs/ou=isrv/cn=aleksi&q
uot;)
but then x.Groups is always empty.
"Guenter Knauf, DevNet SysOp 32" <devforums@novell.com> wrote in
message
news:3NQ2f.6897$GG4.4403@prv-forum2.provo.novell.com...
> Hi Alex,
>
> "alex" <nobody@nowhere.net> wrote in
news:yBe1f.3508$GG4.2296@prv-
> forum2.provo.novell.com:
>
> > Hi,
> >
> > Can anybody tell me why I'm getting errors running the following
scripts
on
> > Windows 2000 machines, while on NT4s it works fine? I have local
admin
> > rights to the workstation.
> you use same client on both w2k and wnt?
>
> > 'Set x = GetObject("NDS://MY_TREE_NAME/...") 'runtime error
-2147463168
> > (80005000) "Automation Error"
> > Set x = GetObject("NDS:") 'works, but can't do anithing with
it
> have you tried with backslashes instead of slashes?
>
> Guenter.
>
|
| Post Reply
|
| Re: NDS Provider error |
 |
Thu, 20 Oct 2005 18:02:27 GMT |
Hi
I can't get ADSI/NDS to work either, so I can't help you there. You need to
make sure you have the Microsoft NDS provider installed, but beyond that,
it's more of a question for Microsoft. If you're interested, the controls
at developer.novell.com/ndk/activex_ndap.htm can be used in vbscript and
work directly with the Novell client libraries.
As far as using ADSI/LDAP is concerned, you might look at the sample at
http://forge.novell.com/modules/xfref_library/detail.php?reference_id=1830
Thank you
Susan
|
| Post Reply
|
| Re: NDS Provider error |
 |
Mon, 24 Oct 2005 15:48:22 GMT |
Thank you, but I tried something similar, but
Set y = x.GetPropertyItem("group membership", 1)
resulted "The Active Directory Property cannnot be found in cache"
GetInfo and GetInfoEx did not help either.
I finally ended up writing my own C++ COM dll that does what I need.
Thank you all respondents,
Alex.
"Susan Perrin" <devsup @novell.com> wrote in message
news:TYQ5f.2049$5e6.1932@prv-forum2.provo.novell.com...
> Hi
>
> I can't get ADSI/NDS to work either, so I can't help you there. You need
to
> make sure you have the Microsoft NDS provider installed, but beyond that,
> it's more of a question for Microsoft. If you're interested, the controls
> at developer.novell.com/ndk/activex_ndap.htm can be used in vbscript and
> work directly with the Novell client libraries.
>
> As far as using ADSI/LDAP is concerned, you might look at the sample at
> http://forge.novell.com/modules/xfref_library/detail.php?reference_id=1830
>
> Thank you
> Susan
>
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|