4

I am getting a warning message when I try to run my asp.net application on my devmachine appfabric .and I am getting error message when I upload my application to azure cloud

project 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 on Windows Azure. To make sure that the role starts, you must replace this assembly with one that is compatible with this architecture."

Where I can get an azure compatible dll ?

SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173
Millar
  • 1,095
  • 6
  • 16
  • 34

2 Answers2

4

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

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

SliverNinja - MSFT
  • 31,051
  • 11
  • 110
  • 173
0

I had the same issue and I set Build | Platform Target to Any CPU (previously some of them had been X86). This fixed the issue for me.

DermFrench
  • 3,968
  • 13
  • 43
  • 70