加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

在IIS7上运行ASP.NET 1.1的错误(applicationHost.config)

发布时间:2020-12-16 03:25:21 所属栏目:asp.Net 来源:网络整理
导读:我正在尝试将现有的ASP.Net 1.1网站移植到另一个目前运行IIS7的Web服务器和许多以.Net 2.0,3.5或4.0为目标的网站.所有其他网站继续完美运作.不幸的是,我只能在新导入的网站上浏览静态文件.如果我尝试访问新网站的IIS7中的任何功能,我会收到以下错误对话框:
我正在尝试将现有的ASP.Net 1.1网站移植到另一个目前运行IIS7的Web服务器和许多以.Net 2.0,3.5或4.0为目标的网站.所有其他网站继续完美运作.不幸的是,我只能在新导入的网站上浏览静态文件.如果我尝试访问新网站的IIS7中的任何功能,我会收到以下错误对话框:

There was an error while performing
this operation.

Details:

Filename:

?C:Windowssystem32inetsrvconfigapplicationHost.config

Error:

我按照this page上的说明进行操作,但我不知道如何使其正常工作.

解决方法

我今天下午也遇到了这个问题.

我做了一个快速的谷歌,并在asp.net论坛上找到了同样的问题.问题似乎就是这样

这是让我超越这个错误的原因,希望它适合你.

the runtime tries to load the
corresponding configuration,it
doesn’t take the bitness of the
application pool into the
consideration. As you know,ASP.NET
1.1 is only supported on 32-bit. So if you have a 64-bit OS,in order to
run ASP.NET 1.1,you have to enable
32-bit applications in the application
pool. So,with the QFE/SP2 on 64-bit
OS (and only on 64-bit OS),the
runtime is incorrectly looking for the
1.1 version of the configuration under Framework64,which does not exist.

Workaround:

  1. Create the Framework64 directory for 1.1
    md windowsmicrosoft.netframework64v1.1.4322config
  2. Copy the 32bit config to 64bit config location created in step 1.
    copy windowsmicrosoft.netframeworkv1.1.4322configmachine.config
    windowsmicrosoft.netframework64v1.1.4322config

http://blogs.iis.net/wonyoo/archive/2009/06/18/workaround-running-asp-net-1-1-on-vista-sp2-ws08-sp2.aspx

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读