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

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

刚下载的源码传到空间打不开咋回事 [复制链接]

1#
刚下载的源码传到空间打不开咋回事刚下载的源码传到空间打不开咋回事,空间是支持.aspx的。 好像要连接数据库吧,在哪里设置数据库用户名,密码,等。求解答??????
还有设置什么才可以打开网页啊。。。  运行/install 后,显示 服务器应用程序不可用。
分享 转发
TOP
2#

ASPX有1.1版本和2.0版本
1.1版本是会出错的,找主机商设置为2.0就可以了
TOP
3#

回复 2# apple 的帖子

还是不行哦,,求解答,谢谢
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" viewStateEncryptionMode="Never" />
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: e:\freehost\zgzsgc\web\www\web.config    Line: 23


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
TOP
发新话题 回复该主题