800700c1 is not a valid Win32 application

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p style="padding-right:0px; font-size:14px; vertical-align:baseline; clear:both; word-wrap:break-word; font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif
I have a asp.net application and a com dll refereed in a business layer project used in the asp.net application, i am converting all this to a 64 bit application.
<p style="padding-right:0px; font-size:14px; vertical-align:baseline; clear:both; word-wrap:break-word; font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif
For the com c++ dll, i have changed in the configuration management to 64 bit and built it and registered it. Since the business layer project and asp.net is in c# i have configured to be for Any CPU platform.
<p style="padding-right:0px; font-size:14px; vertical-align:baseline; clear:both; word-wrap:break-word; font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif
Now when i try to initialize the com class in my business layer project i get below error. Any advice what this error for and why does it mention as not valid Win32 application as i have covered it to 64 bit.
<p style="padding-right:0px; font-size:14px; vertical-align:baseline; clear:both; word-wrap:break-word; font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif
<strong style="margin:0px; padding:0px; border:0px; vertical-align:baseline; background-color:transparent Creating an instance of the COM component with CLSID {31DE5D69-1F5F-434D-8855-F627EAEB2404} from the IClassFactory failed due to the following error:
800700c1 is not a valid Win32 application. (Exception from HRESULT: 0x800700C1).
<p style="padding-right:0px; font-size:14px; vertical-align:baseline; clear:both; word-wrap:break-word; font-family:Arial,Liberation Sans,DejaVu Sans,sans-serif
Thanks

View the full article
 
Back
Top