装配不与在Windows Azure上使用IIS的64位处理器架构兼容 [英] assembly is not compatible with the 64-bit processor architecture used by IIS on Windows Azure

查看:205
本文介绍了装配不与在Windows Azure上使用IIS的64位处理器架构兼容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到一条警告消息时,我尝试在我的devmachine AppFabric的运行我的asp.net应用程序。而我得到的错误<一个href=\"http://social.msdn.microsoft.com/Forums/en/tfsgeneral/thread/d94e1c46-1e9b-45c3-8b37-b2ac15e0b3bc\"相对=nofollow>当我上传我的应用程序Azure云消息

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

项目包含以下组件:C:\\ Program Files文件(x86)的\\微软的Visual Studio 11.0\\Common7\\IDE\\ReferenceAssemblies\\v2.0\\Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader.dll.该组件是不是与在Windows Azure上使用IIS的64位处理器架构兼容。为了确保角色开始,则必须更换该组件与一个与此架构兼容。

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."

我在哪里可以得到一个蓝色的兼容的dll?

Where I can get an azure compatible dll ?

推荐答案

您需要<一个href=\"http://blogs.msdn.com/b/rakkimk/archive/2007/11/03/iis7-running-32-bit-and-64-bit-asp-net-versions-at-the-same-time-on-different-worker-processes.aspx\"相对=nofollow>运行 32位模式 您的应用程序池。尝试运行此 APPCMD 你可以做到这一点<一个href=\"http://blogs.msdn.com/b/avkashchauhan/archive/2011/03/17/using-startup-task-in-windows-azure-detailed-summary.aspx\"相对=nofollow>使用自动启动的角色任务 的)指定默认的应用程序池设置来启用32位支持。

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设置配置-section:system.applicationHost / applicationPools /applicationPoolDefaults.enable32BitAppOnWin64:\"True/提交:APPHOST

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

这篇关于装配不与在Windows Azure上使用IIS的64位处理器架构兼容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆