473,725 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DirectoryServic esEntry - 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.Director yservices.Direc toryentry.
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.Director yServices.Direc toryEntry.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 18 '05 #1
1 1780
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.Director yServices.Inter op.IAds.GetEx(S tring bstrName)
at System.Director yServices.Prope rtyValueCollect ion.PopulateLis t()
at System.Director yServices.Prope rtyCollection.g et_Item(String
propertyName)
at wapADSI.Form1.l istmember(Direc toryEntry child, String ich, String pc)
at wapADSI.Form1.l istmember(Direc toryEntry child, String ich, String pc)
at wapADSI.Form1.F orm1_Load(Objec t sender, EventArgs e)
at System.Windows. Forms.Form.OnLo ad(EventArgs e)
at System.Windows. Forms.Form.OnCr eateControl()
at System.Windows. Forms.Control.C reateControl(Bo olean fIgnoreVisible)
at System.Windows. Forms.Control.C reateControl()
at System.Windows. Forms.Control.W mShowWindow(Mes sage& m)
at System.Windows. Forms.Control.W ndProc(Message& m)
at System.Windows. Forms.Scrollabl eControl.WndPro c(Message& m)
at System.Windows. Forms.Container Control.WndProc (Message& m)
at System.Windows. Forms.Form.WmSh owWindow(Messag e& m)
at System.Windows. Forms.Form.WndP roc(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.OnMe ssage(Message& m)
at System.Windows. Forms.ControlNa tiveWindow.WndP roc(Message& m)
at System.Windows. Forms.NativeWin dow.Callback(In tPtr 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__b77 a5c561934e089/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__b03 f5f7f11d50a3a/system.drawing. dll
----------------------------------------
System.Director yServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.director yservices/1.0.5000.0__b03 f5f7f11d50a3a/system.director yservices.dll
----------------------------------------
System.Messagin g
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.messagin g/1.0.5000.0__b03 f5f7f11d50a3a/system.messagin g.dll
----------------------------------------
System.ServiceP rocess
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.servicep rocess/1.0.5000.0__b03 f5f7f11d50a3a/system.servicep rocess.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__b77 a5c561934e089/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__b77 a5c561934e089/system.windows. forms.dll
----------------------------------------
Microsoft.Visua lBasic
Assembly Version: 7.0.5000.0
Win32 Version: 7.10.3052.4
CodeBase:
file:///c:/winnt/assembly/gac/microsoft.visua lbasic/7.0.5000.0__b03 f5f7f11d50a3a/microsoft.visua lbasic.dll
----------------------------------------
System.Enterpri seServices
Assembly Version: 1.0.5000.0
Win32 Version: 1.1.4322.573
CodeBase:
file:///c:/winnt/assembly/gac/system.enterpri seservices/1.0.5000.0__b03 f5f7f11d50a3a/system.enterpri seservices.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:

<configuratio n>
<system.windows .forms jitDebugging="t rue" />
</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:%2******** ********@TK2MSF TNGP09.phx.gbl. ..
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.Director yservices.Direc toryentry.
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.Director yServices.Direc toryEntry.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 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1741
by: Belinda | last post by:
Hello All I want to install the NT 4.0 Option pack to install the IIS web server. Does the option pack install to get the web server working on my Windows NT workstation running SP6a work. I want this web server to connect to a SQL Server which is running on this NT Workstation as well. Please clarify what are the steps I need to follow to get the web server running on my NT 4.0 workstation to run ASP.
2
15225
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000 Personal disk from the SQL Server 2000 Enterprise kit as this is reported here on the MSDN web site to be the version that is supported on Windows XP. In fact so many of you kind people confess to having succeeded in doing it. I have tried...
6
5782
by: Hamed | last post by:
Hello I have employed as a developer in a software company that its team uses FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to migrate to VS.NET. There is a project modified that is to upgrade a big, more than 100,000 lines DOS based program developed by FoxPro 2.x to .NET platform. The design is as previous and the implementation will be reprogrammed. As a duty in my job I should find an answer about the
10
3489
by: ThunderMusic | last post by:
Hi, How can I get if the Windows running is a server version? Is there a property somewhere that can tell me if the Windows version is a server edition (including server, advanced server, web server, etc) or just a workstation (if it's not a workstation, then it's a server). My app must verifies that for security reasons. It should work from at least windows 2000 (Windows 98 and ME, would appreciated to, but if it's not possible, I'll...
1
2371
by: george | last post by:
Hello, I have installed DB2 v8.1 on a windows 2000 machine that is part of a domain but not the domain server. I set the authentication to Client and trust all clients. I have a problem with users logging on to the database as follows: I have 3 users user-a, user-b, user-c If I am logged into a workstation or the database server at the
2
2416
by: Phil Galey | last post by:
I have an application written in VB.NET, running on Windows 2000 SP 3. It uses a process object and AppActivate, followed by SendKeys commands, to control a running QuarkXPress application. On the development workstation, it works fine; however on the target workstation, SendKeys fails. Both workstations are Windows 2000 SP3 and both have the same version of QuarkXPress running. I've found articles that talk about sending lower-case...
0
320
by: FloriZ | last post by:
Does anyone know how to install CDONTS for Windows NT 4 Workstation? My application is sending e-Mails using System.Web.Mail.SmtpMail. On a computer running NT 4.0 SP6a, we get the exception "CDONTS.NewMail" could not be created. I know SmtpMail is just a wrapper for CDO. So I was trying to find a possibility how to install it on NT 4 Workstation. I found several articles in the support database of Microsoft, but still did not find a...
7
2069
by: WhiskRomeo | last post by:
I have a WIN .NET application that calls a web service to retrieve data. I deployed the application to a server and configured the webservice. The webservice and SQL Server 2000 database are on the same server. I installed the application on the server and everything runs fine. It simply opens a form and populates it with data via the webservice. The connection string is: packet size=4096;integrated security=SSPI;data...
3
1478
by: =?Utf-8?B?UmljaA==?= | last post by:
I created a custom dll to use .net objects in com environment. It works fine. Then I copied the dll to another workstation and manually registered it, and it works fine there also. Now I need to unregister this dll on that workstation so I can test if Click Once deployment will deploy the dll with a com app I am deploying. How to unregister this dll from that workstation? Thanks, Rich
0
8888
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9257
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9176
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8097
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6702
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6011
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4784
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3221
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2157
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.