Class factory for Outlook error: 8007007e

T

toduro

Using Visual C# 2005 Express Edition and Microsoft Office Outlook 2003.
An exception with message:

"Retrieving the COM class factory for component with CLSID
{0006F03A-0000-0000-C000-000000000046} failed due to the following
error: 8007007e"

is thrown during processing of the statement:

"Microsoft.Office.Interop.Outlook.Application outlook_app = new
Microsoft.Office.Interop.Outlook.ApplicationClass();"

According to my registry the CLSID is for Outlook.exe, so I don't think
I have a CLISD problem.

Is it a .NET framework 2.0 problem? The code worked OK with .NET 1.1
using SharpDevelop. For other reasons I need to use Visual C# 2005
Express and get this to work. Can't migrate to a newer version of
Office or full-fledged Visual Studio Enterprise or whatever. How do I
fix the problem?

Have done several Google searches on C#, .NET, Outlook, 8007007e, etc.
and varous combos and not found useful advice.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top