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-0
0AA00383CB
B} failed due to the following error: 80040154.
I performed a registry search for that CLSID and it shows up under HLKM\Software\Classes\CLSI
D 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