The build is not compatible with the 64-bit processor architecture used by IIS for Windows Azure

I get a warning message when I try to run an asp.net application on my devmachine appfabric. And I get an error message I upload my application to the cloud

contains the following assembly: C: \ Program Files (x86) \ Microsoft Visual Studio 11.0 \ Common7 \ IDE \ ReferenceAssemblies \ v2.0 \ Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll. This assembly is not compatible with the 64-bit processor architecture used by IIS for Windows Azure. To ensure that the role is running, you must replace this assembly with one that is compatible with this architecture.

Where can I get an azure compatible dll?

+4
source share
2 answers

You need to run the application pool in 32-bit mode . Try running appcmd (you can do this automatically using the role launch task ) to assign default application pool settings to enable support for 32-bit versions.

% windir% \ system32 \ inetsrv \ appcmd set config -section: system.applicationHost / applicationPools / applicationPoolDefaults.enable32BitAppOnWin64: "True" / commit: apphost

+4
source

I had the same problem and installed Build | The platform is designed for any processor (previously some of them were X86). This fixed the problem for me.

0
source

Source: https://habr.com/ru/post/1436721/


All Articles