Deploying a .NET Program On the IIS7 server, the following message appears:
Description: An unhandled exception occurred during the execution of the current web request. Check the stack trace information for details about the error and the source of the error in the code.
Exception Details: System.BadImageFormatException: Failed to load file or assembly 'XXX' or one of its dependencies. Trying to load program with an incorrect format.
Source Error:
An unhandled exception was generated during the execution of the current web request. The following exception stack trace information can be used to determine information about the cause of the anomaly and where it occurred.
Assembly Load Tracking: The following information helps determine why the assembly "XXX" could not be loaded.
WARNING: Assembly binding logging is turned off. To enable assembly binding failure logging, set the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog] (DWORD) to 1. Note: There will be some performance penalty associated with assembly binding failure logging. To turn off this feature, please remove the registry value [HKLM\\Software\\Microsoft\\Fusion!EnableLog
Solution:
Generate the application as the target platform: Any CPU;
Test environment is notebook win7 64 Bit, put iis application pool -- advanced settings -- enable 32-bit applications: true
For anyone in any field, it is the first to start with a novice, and constantly improve their skills
What is a webpage? A webpage is a malicious attacker who, after attacking a WEB w
windows series can use the remote desktop connection of the PC system to remotely connect to the clo
This article aims to teach the first contact with VPS novice, if you are a veteran. Can leave, there
Memory failure causes the server to work abnormally
Reasons for unstable server or slow site opening
Hide Nginx version number security and method
Vista home audio and video server formation program
Analyze the advantages and disadvantages of network storage categories
Setting up a shared server with 2003 05
Five Keys to Hardening Host Security
Webshell and Serv-u combined to obtain the highest authority of the system
Win10 official version of the first patch KB3074665 update: fix Flash vulnerability
LOL Musou Jiji Metal Equipment Series Skin Effects Show and Introduction
WinXP advanced startup options feature introduction
How does Win7 set the mouse arrow color?
How to solve the win7 system time is not allowed
Microsoft today pushed Win10 RS2 quick preview version 14931
Win7 system Internet DNS server no response how to solve
How to modify the background color of Win10 system photo viewer?