Desktop Automation Sample (DevKit10) COM Exception

Discussion created by Jamestown. on Dec 6, 2010
Latest reply on Dec 8, 2010 by Jamestown.
Hi, I am trying to automate ArcGIS Desktop applications from a stand-alone .NET application.  I am successful in loading and running the "DesktopAutomation" sample from the Dev. Kit 10, but none of the desktop applications will start (i.e. ArcMap).  I get an InteropServices COM Exception.  Below are details of the error.  Does anyone know why I am getting this, from just running the basic sample?  Is it a configuration issue on my machine?

[Output] "A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in DesktopAutomationCS.exe"

[Exception Message] "Retrieving the COM class factory for component with CLSID {006B1AFE-C66C-11D0-B94C-080009EE4E51} failed due to the following error: 80040111."