473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Vista issues with Active Directory (activeds.dll)?

Is anyone using System.DirectoryServices successfully in an
application on Vista?

Using this amazing article ( http://www.codeproject.com/useritems/everythingInAD.asp
) I've been working on making a program to do various LDAP things.
With preliminary testing, it was working fine on an XP machine
(connecting to a Windows 2003 server), but when I moved the
development over to a Vista machine on our testbed network I started
getting an error with activeds.dll (don't remember exact error, but it
was something along the lines of:

Unable to load DLL 'activeds.dll': A dynamic link library (DLL)
initialization routine failed. (Exception from HRESULT: 0x8007045A)

Except a different code at the end and a different error message which
suggested that it couldn't find activeds.dll.

activeds.dll was in the c:\windows\system32 directory, which was in
the path. I tried copying over the activeds.dll from the XP machine,
but wasn't able to overwrite the real one or otherwise override it.
Using regsvr32, the XP one was able to be registered successfully on
the XP machine, though, while the one there couldn't be registered
successfully.

I've since wiped the machine and put XP on it so I can continue
development, but I need to figure this out ASAP because unfortunately
we're switching over to Vista sooner rather than later. :/ Any ideas?
Anyone else have problems with this?

Apr 11 '07 #1
0 2245

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

Similar topics

1
by: Amadelle | last post by:
Hi all, I am so desparately in need of some guidance! After two days of struggling I still can't connect to the Active Directory server. I have used so many different ways and so many different...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
0
by: April | last post by:
I am trying to use active directory to get the details from a username. Each time I reach the point in the code where I try to do a FindAll() on the DirectorySearcher variable I get the following...
2
by: Daniel Knöpfel | last post by:
Hello all In our project we have been using the samAccount name to authenticate users against the active directory. As the samAccountName is limited to 20 characters, we are going to use the...
10
by: KarlM | last post by:
Hallo! Due to the help in this Newgroups I am now able to set basic rights to a Computer account in active directory. The following c#-Code works fine...
1
by: SHEBERT | last post by:
In c#, How can I get the "accountExpires" without having to register the ACTIVEDS COM object on the client? DirectoryEntry returns almost all value with the COM object except for dates. Why...
4
by: Viviana Vc | last post by:
Hi all, I've read the WindowsVistaUACDevReqs.doc documentation and I have done different small tests on Vista to understand the bahaviour and now I have a few questions. 1) If I create a...
8
by: =?Utf-8?B?UGV0ZXJX?= | last post by:
I install Visual Studio 2005 Pro on Vista. I open and migrate a 2003 web project to 2005. I attempt to browse an aspx file from the Solution Exploer. It displays a blank html page. I create a...
4
by: =?Utf-8?B?dmlwZXJ4MTk2Nw==?= | last post by:
We are having an issue with an application we are developing. We have a Legacy COM DLL in C++ that we have converted to Visual Studio 2008. This COM DLL has methods that are calling Managed C#...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.