Retrieving the COM class factory for component with CLSID failed due to the following error: 80010100

Jul 21 2010 2:46 AM
I have a simple code which creates object of the ApplicationClass from the Microsoft.Office.Interop.PowerPoint. I reference Microsoft.Office.Interop.PowerPoint dll ver. 11 from the local folder. This code runs on the machines with different set of the installed versions of the Power Point (2003, 2007 and 2010 in all possible combinations). On all machines everything is OK. But on the machine with installed Power Point 2007 and 2010 constructor of the ApplicationClass throws COM exception with next message "Retrieving the COM class factory for component with CLSID "[some CLSID]" failed due to the following error: 80010100". Google keep silent concerning this error. There is a lot of information concerning "Retrieving the COM class factory for component with CLSID "[some CLSID]" failed due to the following error" and "80010100" separately. But it doesn't answer my question. I have only found that "80010100" error means " System call failed". Also I have tried to mark thread entry point with STAThread attribute and use another versions of the interop dlls . I haven't any thoughts how to solve this problem. Help, please!

Now code is extremely simple:

using Microsoft.Office.Interop.PowerPoint;
class Program
    {
        static void Main(string[] args)
        {
            var app = new ApplicationClass();
        }
    }