I have a dll that I created from a VB6 project that I am now using in a c# project. This has worked before but now when I try to return to the c# project to fix a bug, the program get a COMException stating roughly translated:
Could not create an instance of COM-component with CLSID {085E3494-9F78-47D5-B0E6-FA460FD3CBED} from IClassFactory because of the following error: 800a01ad.
So I try to create a new empty c# project with only one line in the main function:
OurNamespace.OurClass foo = new OurNamespace.OurClass();
Which fails with the same error.
I have registered the dll but that did not change the outcome of the problem.
The problem only occurs on the machine I am currently at, still I'm interested to understand the problem so that I know how to fix it if it occurs on a customers computer.