DirectoryServices Problem on Windows NT Workstation

  • Thread starter Thread starter Günther Rühmann
  • Start date Start date
G

Günther Rühmann

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 ?
 
* "Cor said:
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?!

;-)
 
Hi Gunther,

Sorry I total mistreaded it.

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

Cor
 
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 ?
 
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.PopulateList()
at System.DirectoryServices.PropertyCollection.get_Item(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(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& 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(Message& 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.
 
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
 
Back
Top