简体   繁体   中英

The application has failed to start because its side-by-side configuration is incorrect

On one server, everything works. I am attempting to call a C++ assembly from C#/ASP.NET application.

When I deploy the web application in another server, it fails with the error message: "The application has failed to start because its side-by-side configuration is incorrect"

I have copied the dll into the correct folder which has permissions for the user and the application pool identity. The path has been added in the PATH variable. The DLL is fine and is not dependent on any other DLL.

What could cause this issue?

Resolved.

Solution is to build the project in Release Mode and then deploy DLL of the release mode.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM