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