DirectoryServicesEntry - Problem on Windows NT workstation

Discussion in 'ASP .Net' started by Günther Rühmann, Jan 31, 2004.

  1. 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 ?
    Günther Rühmann, Jan 31, 2004
    #1
    1. Advertising

  2. Meanwhile i did the following:
    - install dsclient.exe
    - reinstall Win NT4 SP6.
    The application gives now another error:

    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.





    "Günther Rühmann" <> schrieb im
    Newsbeitrag news:%23S$...
    > 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 ?
    >
    >
    >
    Günther Rühmann, Jan 31, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?ZXN3YW5zb24=?=

    asp.net 2.0 on a windows xp workstation

    =?Utf-8?B?ZXN3YW5zb24=?=, Jul 11, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    462
    Walter Wang [MSFT]
    Jul 14, 2006
  2. Joseph Geretz
    Replies:
    4
    Views:
    158
    Joe Kaplan
    Mar 12, 2008
  3. THG
    Replies:
    4
    Views:
    158
    Joe Kaplan
    Jun 14, 2008
  4. Joseph Geretz
    Replies:
    4
    Views:
    141
    Joe Kaplan
    Mar 12, 2008
  5. Belinda
    Replies:
    5
    Views:
    241
    Jeff Cochran
    Jun 7, 2004
Loading...

Share This Page