It is not a valid Win32 application. (Exception from hresult: 0x800700c1) Error Handling

Source: Internet
Author: User
Tags stack trace

In the latest project, you need to apply the ASPNET ApplicationProgram(2.0 platform) is deployed on a 64-bit CPU server. First, an aspnet2.0for64-bit framework is installed, and then the oracle10gfor64-bit client is installed, after deployment, "invalid Win32 application" is reported. (Exception from hresult: 0x800700c1) stack trace: [badimageformatexception: Not a valid Win32 application. (Exception from hresult: 0x800700c1)] "error, almost crazy. Later I analyzed it, it should be a DLL problem. So I added the required DLL to the bin one by one and finally located ebiao. DLL and ebexcel. DLL, these two third-party components (DLL obfuscation issues) Cause this error. shame.
PS: Keeping calm is the most important thing.

PS: compatible with 32-bit on 64-bit machines:

1.cscript.exe C:/inetpub/adminscripts/adsutil. vbs set w3svc/apppools/enable32bitapponwin64 "true"

2. C:/Windows/Microsoft. NET/framework/v2.0.50727/aspnet_regiis-IRU

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.