Exception 15: Retrieving the COM class factory for the component with CLSID {5E89F49B-6A12-420F-8570-E510EF1B58OA} failed due to the following error: 800700c1 is not a valid Win32 application. (Exception from HRESULT: 0x800700C1).
We have found that in VS 2010 you must open VS by right clicking the program and then selecting
Run as administrator, once this is done you will be able to open your project. You also need to make sure that your
project is compiled using .net 3.5 or earlier.
Quote from walterjennings:
I've run into a error using the Sterling API in Win 7, and I was hoping someone has already solved. I've recently switched my development machine from Windows XP to Windows 7. I've installed Sterling fine on the Win7 machine and have referenced the DLL. Except now when I try to run my program I get this Exception when I try to create a new STI object.
Exception 15: Retrieving the COM class factory for the component with CLSID {5E89F49B-6A12-420F-8570-E510EF1B58OA} failed due to the following error: 800700c1 is not a valid Win32 application. (Exception from HRESULT: 0x800700C1).
Any information that might help me solve this problem would be greatly appreciated.
Thanks
Quote from guest2:
Sterling ActiveX API manual says:
You must run VS(project as administrator) also u must change: project->"Project" Properties->application->target framework to .Net Framework 3.5 Client Profile.
I m coding on Win7 x64, MS VS C# 2010 Express Edition and i do not have such of problems.
Quote from walterjennings:
I've run into a error using the Sterling API in Win 7, and I was hoping someone has already solved. I've recently switched my development machine from Windows XP to Windows 7. I've installed Sterling fine on the Win7 machine and have referenced the DLL. Except now when I try to run my program I get this Exception when I try to create a new STI object.
Exception 15: Retrieving the COM class factory for the component with CLSID {5E89F49B-6A12-420F-8570-E510EF1B58OA} failed due to the following error: 800700c1 is not a valid Win32 application. (Exception from HRESULT: 0x800700C1).
Any information that might help me solve this problem would be greatly appreciated.
Thanks