Advertisement

07.25.2008 at 02:43PM PDT, ID: 23596923
[x]
Attachment Details

Retrieving the COM class factory for component with CLSID{}failed due to the following error: 80040154.

Asked by ericmcooper in Programming for ASP.NET, Visual Studio .NET 2005, .NET Framework 3.x versions

Tags: Microsoft, VB.Net, 3.5, Visual Studio 2005

I have built a VB.Net DLL using Visual Studio 2005.  I have referenced the VBA.DLL (version 6.0).  I have a function that must use a VBA.CollectionClass.  The project builds successfully and I have deployed my DLL and all required references from the bin directory to the appropriate location under inetpub (I built a virtual directory here and have made sure that the ASP.Net version has been set to 2.0).

I then have an aspx that utilizes this dll that I've built.   When I call my aspx, however, I get the following error:

COMException (0x80040154): Retrieving the COM class factory for component with CLSID {A4C4671C-499F-101B-BB78-00AA00383CBB} failed due to the following error: 80040154.

I performed a registry search for that CLSID and it shows up under HLKM\Software\Classes\CLSID but nowhere else.

If I try recompiling using Collection instead of VBA.CollectionClass then I don't get the error, but I can't use the function I need because its got a dependency I can't change.   I need to be able to use this particular method.  Any ideas would be greatly appreciated.Start Free Trial
[+][-]07.26.2008 at 05:08AM PDT, ID: 22094749

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.26.2008 at 10:36AM PDT, ID: 22095647

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 05:41AM PDT, ID: 22102471

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 05:58AM PDT, ID: 22102595

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 06:37AM PDT, ID: 22102958

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 11:46AM PDT, ID: 22105755

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 11:47AM PDT, ID: 22105761

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.29.2008 at 05:12AM PDT, ID: 22110599

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.29.2008 at 05:46AM PDT, ID: 22110855

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.31.2008 at 05:25AM PDT, ID: 22128968

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Programming for ASP.NET, Visual Studio .NET 2005, .NET Framework 3.x versions
Tags: Microsoft, VB.Net, 3.5, Visual Studio 2005
Sign Up Now!
Solution Provided By: ericmcooper
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628