471,853 Members | 860 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,853 software developers and data experts.

DirectoryServices Problem on Windows NT Workstation

Hi,
I´m not sure if i´m right int this group...
My problem:
I made a vb .net application that reads from AD via
System.Directoryservices.Directoryentry.
The appliocation enumerates group members.
It works fine on W2k - machines. It works on a WinNT 4 - server, too, but it
stops with a runtime error on any Windows 4.0 Workstation. The error is:
System.Runtime.InteropServices.COMException 0x800500F.
at System.DirectoryServices.DirectoryEntry.Bind (Boolean Throw Fail)

On the WinNT 4-workstation, I installed the dotnetfx.exe.
Might be important, that after installing the framewirk, some files were
mnissing: activeds.dll, activeds.tlb, adsldpc.dll, mscoree.dll.
I manually copied these files into the sytem32 folder and registered them.

Has anyone an idea how the problem could be solved ?
Nov 20 '05 #1
9 2048
Cor
Hi Gunthero,

The change that you get an answer on that in this newsgroup is small.

But in this newsgroup you have a better change.

Aspnet
<news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet>

Web interface:

<http://msdn.microsoft.com/newsgroups...ups/loadframes
..asp?icp=msdn&slcid=us&newsgroup=microsoft.public .dotnet.framework.aspnet>
I hope this helps,

Cor

Nov 20 '05 #2
* "Cor" <no*@non.com> scripsit:
But in this newsgroup you have a better change.

Aspnet
<news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet>


Are you sure the question is related to ASP.NET?!

;-)

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
Cor
Herfried,

Totaly misreaded.

thanks

Cor
Nov 20 '05 #4
Cor
Hi Gunther,

Sorry I total mistreaded it.

A big problem of course, but are you sure all Windows NT4 computers have sp6
installed?

Cor
Nov 20 '05 #5
Cor,

* "Cor" <no*@non.com> scripsit:
Totaly misreaded.


No problem...

:-)

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
Hi Cor,
someone in a german newsgroup told me to install the dsclient.exe for
Windown NT 4. I did. Now I get another error: Excelption at HRESULT:
0x8007202B.
At the time I reinstall the SP6a.
You mean it helps ?


"Cor" <no*@non.com> schrieb im Newsbeitrag
news:un**************@TK2MSFTNGP11.phx.gbl...
Hi Gunther,

Sorry I total mistreaded it.

A big problem of course, but are you sure all Windows NT4 computers have sp6 installed?

Cor

Nov 20 '05 #7
The complete message is.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8007202B): Exception from
HRESULT: 0x8007202B.
at System.DirectoryServices.Interop.IAds.GetEx(String bstrName)
at System.DirectoryServices.PropertyValueCollection.P opulateList()
at System.DirectoryServices.PropertyCollection.get_It em(String
propertyName)
at wapADSI.Form1.listmember(DirectoryEntry child, String ich, String pc)
at wapADSI.Form1.listmember(DirectoryEntry child, String ich, String pc)
at wapADSI.Form1.Form1_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Mes sage& m)
at System.Windows.Forms.ContainerControl.WndProc(Mess age& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
wapADSI
Assembly Version: 1.0.1486.17885
Win32 Version: 1.0.1486.17885
CodeBase: file:///C:/Programme/Alarmierung/AlarmClient.exe
----------------------------------------
System
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
----------------------------------------
System.Drawing
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
----------------------------------------
System.DirectoryServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.directoryservices/1.0.5000.0__b03f5f7f11d50a3a/system.directoryservices.dll
----------------------------------------
System.Messaging
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.messaging/1.0.5000.0__b03f5f7f11d50a3a/system.messaging.dll
----------------------------------------
System.ServiceProcess
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.serviceprocess/1.0.5000.0__b03f5f7f11d50a3a/system.serviceprocess.dll
----------------------------------------
System.Data
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase:
file:///c:/winnt/assembly/gac/microsoft.visualbasic/7.0.5000.0__b03f5f7f11d50a3a/microsoft.visualbasic.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.enterpriseservices/1.0.5000.0__b03f5f7f11d50a3a/system.enterpriseservices.dll
----------------------------------------

************** JIT Debugging **************
To enable just in time (JIT) debugging, the config file for this
application or machine (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the machine
rather than being handled by this dialog.



"Günther Rühmann" <gu***************@landkreis-goslar.de> schrieb im
Newsbeitrag news:uq**************@TK2MSFTNGP11.phx.gbl...
Hi Cor,
someone in a german newsgroup told me to install the dsclient.exe for
Windown NT 4. I did. Now I get another error: Excelption at HRESULT:
0x8007202B.
At the time I reinstall the SP6a.
You mean it helps ?


"Cor" <no*@non.com> schrieb im Newsbeitrag
news:un**************@TK2MSFTNGP11.phx.gbl...
Hi Gunther,

Sorry I total mistreaded it.

A big problem of course, but are you sure all Windows NT4 computers have

sp6
installed?

Cor


Nov 20 '05 #8
Cor
Hi Gunther,

I did give you a wrong message, and while thinking about that I realisme
that people are mostly installing the service packs on servers but forget to
do that on the workstations, therefore I thought maybe that could be an
idea.

With the error itself I have no expirience I do nothing want to say with it,
but the NT4 time is far behind me.

Cor
Nov 20 '05 #9
Thank you for your help.
Guenther

"Cor" <no*@non.com> schrieb im Newsbeitrag
news:Ol*************@TK2MSFTNGP12.phx.gbl...
Hi Gunther,

I did give you a wrong message, and while thinking about that I realisme
that people are mostly installing the service packs on servers but forget to do that on the workstations, therefore I thought maybe that could be an
idea.

With the error itself I have no expirience I do nothing want to say with it, but the NT4 time is far behind me.

Cor

Nov 20 '05 #10

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Keith Jakobs, MCP | last post: by
7 posts views Thread by =?Utf-8?B?SmVycnkgQw==?= | last post: by
NeoPa
reply views Thread by NeoPa | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.