读书人

IIS6.0中怎么支持.net3.0

发布时间: 2014-01-21 00:35:39 作者: rapoo

IIS6.0中如何支持.net3.0?
一家软件公司帮我们装ftp,他装好后,发现IIS没有了,他重装了IIS6.0,但是原来的一个网站运行报错。

错误如下:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section system.serviceModel.

Source Error:


Line 53: </httpModules>-->
Line 54: </system.web>
Line 55: <system.serviceModel>
Line 56: <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
Line 57: <extensions>


Source File: E:\Web\web.config Line: 55

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433


system.serviceModel好像是.NET3.0的东西,安装的IIS6.0的属性里只能选.net2.0,而系统也安装了.net3.0和.net3.5。
请问:是他没装好?还是IIS6.0的属性里真的只能选2.0,不能选3.0?
还有如何解决这个问题?
[解决办法]
重新修复3.0和3.5咧,在安装/卸载时,他会提示你,是否修复,你选修复就可以了
[解决办法]
1.在IIS6.0重新注册asp.net
http://blog.sina.com.cn/s/blog_732ae613010100yh.html
2.确保在IIS的根节点的Web服务扩展中,启用了asp.net
[解决办法]
选2.0即可,但是3.0必须安装好
[解决办法]
本来就只能选择2.0只不过版本不一样 如果我没记错的话 那个2.0.522727什么的 其实就是3.5了.

安装了就行 .选择就选2.0

读书人网 >asp.net

热点推荐