框分类:人性化的同城分类信息系统,我们永远站在用户的角度!一次性购买,终身升级!    [交流论坛]
发新话题 回复该主题

打不开 [复制链接]

1#
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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 36:             以标识传入的用户。
Line 37:         -->
Line 38:         <authentication mode="Windows"/>
Line 39:     <pages validateRequest="false">
Line 40:     </pages>


Source File: D:\wwwroot\qq75225801\wwwroot\2\web.config    Line: 38



Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
分享 转发
TOP
2#

我把默认首页添加index.aspx成了这个

配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。

分析器错误消息: 在应用程序级别之外使用注册为 allowDefinition='MachineToApplication' 的节是错误的。如果在 IIS 中没有将虚拟目录配置为应用程序,则可能导致此错误。

源错误:


行 36:             以标识传入的用户。
行 37:         -->
行 38:         <authentication mode="Windows"/>
行 39:     <pages validateRequest="false">
行 40:     </pages>


源文件: D:\wwwroot\qq75225801\wwwroot\3\web.config    行: 38



版本信息: Microsoft .NET Framework 版本:2.0.50727.3643; ASP.NET 版本:2.0.50727.3634
TOP
3#

更换.net版本为2.0即可
TOP
发新话题 回复该主题