无法使用asnet_regiis.exe在Server 2008 R2 64位上安装32位应用程序 [英] Cannot install 32-bit app on Server 2008 R2 64-bit using asnet_regiis.exe

查看:73
本文介绍了无法使用asnet_regiis.exe在Server 2008 R2 64位上安装32位应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 

很抱歉,如果这是在错误的子论坛中,我是新来的,而且我不确定有那么多子论坛.

Apologies if this is in the wrong subforum, I'm new here and there are so many sub forums I'm not sure which is most applicable.

 

当前,我们有一组需要安装(使用IIS)的Web应用程序.它们只能在32位模式下运行,因此需要将IIS设置为运行32位应用程序.我们执行此操作的步骤适用于Server 2003 64位和2008 64位,但不适用于Server 2008 R2 64位.我为此花了很多时间,却很困惑.

Currently we have a set of web applications that need to be installed (using IIS). They can only run in 32-bit mode so requires IIS to be set to run 32-bit apps. The steps that we've taken to do this work for server 2003 64-bit, and 2008 64-bit, but does not work on server 2008 R2 64-bit. I've spent many hours on this and I'm stumped.

 

以下是安装Web应用程序所执行的步骤:

The following are the steps performed to get the web apps installed:

1.设置"enable32BitAppOnWin64";应用程序为真

1. Set "enable32BitAppOnWin64" app to true

2.使用32位版本的aspnet_regiis.exe卸载旧的ASP.NET内容:"aspnet_regiis -ua"

2. Uninstall old ASP.NET stuff using 32-bit version of aspnet_regiis.exe: "aspnet_regiis -ua"

3.使用aspnet_regiis.exe的32位版本安装ASP.NET内容:"aspnet_regiis -i -enable"

3. Install ASP.NET stuff using 32-bit version of aspnet_regiis.exe: "aspnet_regiis -i -enable"

 

如前所述,以上内容在Server 2003 64位和Server 2008 64位上运行良好,而在Server 2008 R2 64位上则不能正常运行.步骤2和3给我错误:操作失败,出现0x8007000B.尝试加载格式错误的程序".经过一些搜索之后,这与我运行带有IIS的32位应用程序(aspnet_regiis)(这是一个64位应用程序)有关.第一步已经成功,因为在IIS GUI中设置了该标志.

As mentioned before, the above works fine on server 2003 64-bit and server 2008 64-bit, just not server 2008 R2 64-bit. Steps 2 and 3 give me the error: "Operation failed with 0x8007000B. An attempt was made to load a program with an incorrect format". After some searching, this is something to do with me running 32-bit application (aspnet_regiis) with IIS which is a 64-bit app. Step one has worked, as the flag has been set in the IIS GUI.

如果有人能告诉我我要去哪里错了,以及为什么这在2008 R2中不起作用,我将非常感激.

Would really appreciate it if someone could tell me where I'm going wrong, and why this doesn't work for 2008 R2.

 

谢谢:)

推荐答案

我认为这个问题必须发布在

I think this question has to be posted in the IISForum because this seems to be more of IIS Configuration issue rather than CLR issue.

 


这篇关于无法使用asnet_regiis.exe在Server 2008 R2 64位上安装32位应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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