I have created windows service in .Net 4.5.Service is written to open outlook client. The code written is correct, since I have run in local host. But when I run from IIS Server, the server throws following error on following line of code:
Error retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 0x80040154 Class not registered
I tried the following solutions:
IIS Server > Advanced Settings > Enable 32 Bit APP = true & Identity=Windows
Many Thanks