It is working perfectly before configure into the web server. When we try to send after configuring in web server (IIS), then only it is not working.
Technology Used: ASP.NET4.0, C#4.0, Outlook, 2007, IIS7.5, Windows7 64 bit,
Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
NOTE:
=====
It is working perfectly before configure into IIS. when you try to access the application using local host or IP, it throw an error as above.