PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

为什么不能在子目录里运行 [复制链接]

1#
pageadmin系统不能在子目录里运行呢提示如下: 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 21:     <pages validateRequest="false" enableEventValidation="false" enableViewStateMac="false" viewStateEncrypti />Line 22:     <compilation defaultLanguage="C#" debug="false" />Line 23:     <authentication mode="Forms" />Line 24:     <customErrors mode="Off">Line 25:       <error statusCode="404" redirect="/" />

Source File: d:\freehost\zytcmy\web\3\web.config    Line: 23

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

NET程序的系统都必须在应用程序级目录才能运行
TOP
3#

在虚拟目录也不行, 这是pa的缺陷。

我用过多个net的, 在本机调试时可以装在虚拟目录正常运行。 pa不行
TOP
发新话题 回复该主题