配置网站程序出现错误

来源:百度知道 编辑:UC知道 时间:2024/05/30 11:15:53
我配置的.NET+SQL网站系统,,因为没玩过.NET,所以象配置ASP一样,浏览首页显示如下,一头雾水..(回答的好我追加分数)

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 attribute 'requirePermission'.

Source Error:

Line 2: <configuration>
Line 3: <configSections>
Line 4: <section name="rewriter" requirePermission="false" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter"/>
Line 5: </configSections>
Line 6: <!-- 开始重写 -->

Source File: C:\Documents and Settings\HAOYI&#

你的网站使用.net 2.0写的,现在在.net 1.1下面运行,所以才会出错。
使用站点管理器(inetmgr)选择本站点,右键菜单中选择属性。在最后一个叫ASP.net的选项卡中找到ASP.net的下拉列表框,选择v2.0.xxxx后重启站点即可。