ArcGIS desktop automation sample does not work

Discussion created by luke.trimbole on Nov 30, 2011
Latest reply on Nov 30, 2011 by luke.trimbole
I just upgraded from 9.3 to 10 so I could do some desktop automation but the C# sample does not work. I was getting the following error:
"Retrieving the COM class factory for component with CLSID {006B1AFE-C66C-11D0-B94C-080009EE4E51} failed due to the following error: 80040111."

I reinstalled all the software and service pack 3. rebooted and started ArcMap. Still getting the same error. I see that other people have had the same problem but cannot find a solution on the forums. The CLSID {006B1AFE-C66C-11D0-B94C-080009EE4E51} is in the registry. Net 3.5 framework is installed (along with other frameworks)

Does anybody know of a solution to this problem.