473,406 Members | 2,894 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,406 software developers and data experts.

Class not Registered Exception

Hi,

I am developing an ASP.NET application with C#. The application itself uses
the Active Directory. That all worked fine, but since some days I always get
the error "System.Runtime.InteropServices.COMException: Class not
registered". This happens for example on such places:

[COMException (0x80040154): Class not registered
]
System.DirectoryServices.Interop.IAds.GetEx(String bstrName) +0
System.DirectoryServices.PropertyValueCollection.P opulateList() +234
System.DirectoryServices.PropertyCollection.get_It em(String propertyName)
+45
tools.ADTools.userMustChangePwdOnLogon(DirectoryEn try userEntry) in
c:\inetpub\wwwroot\amt\sharp\tools\ADTools.cs:229

The line in the code that throws the error (in ADTools) is:

if (userEntry.Properties["pwdLastSet"].Value == null)

That happens on other places, too. I have no idea why. I also reverted the
code to state of a few days ago, but the error still occurs, so it doesn't
seem to come from my code. Any ideas what is wrong here?

Regards

Marco
Nov 19 '05 #1
0 1201

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

Similar topics

1
by: Alejandra Parra | last post by:
The application used to work fine, but today, in this code: CType(Me.AxSSTab1, System.ComponentModel.ISupportInitialize).EndInit() ..Net shows the next error: An unhandled exception of type...
6
by: Baris | last post by:
Given the C# code below, can anyone think of a better class design? What really gets my goat is that the code within derived classes D1 and D2 is identical and in my mind should be refactored into...
3
by: rua17 | last post by:
I add tow Com libraries to my project, I can see their content with intellisense, but when I instantiate a class contained in the library: PDDirectLib.PDDatabaseQuery pDbQuery = new...
1
by: Jim | last post by:
Have fully operational software package developed on VB.NET that worked until Jan 1 2003, with early stage deployments on Oct 10, Oct 23, Nov 11, Dec 12 and Dec 30. When attempted final...
0
by: papaja | last post by:
Hello, I believe I didn't change anything on my machine but my web applications, particularly pages accessing Microsoft Access DB, suddenly refused to work. I get this error: ...
0
by: Nonee | last post by:
Anyone, anyone? : ) Hello- I have a form with the mediaplayer referenced to play mp3's and avi's and I believe that is what is causing the problem. I am not sure, but I am hoping. ...
5
by: edd | last post by:
Hello all, Please consider: template<typename Tclass my_class; template<class my_class<int> { //... };
1
Frinavale
by: Frinavale | last post by:
Hi there :) I've finally moved my Online Registration project on to the box where it will be hosted. This new server is running IIS6. After moving the project to the new server and running...
1
by: vinitfichadia | last post by:
hey pals, I m developing project related shipping services in VB.Net and MS-SQL and at the time of running one of the application out of it, i m getting following error and i had google a lot many...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...

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.