产品使用及交流论坛

首页 » 产品使用交流区 » 安装及使用交流 » 刚下载的源码传到空间打不开咋回事
guozhiyou - 2009/11/19 9:48:00
刚下载的源码传到空间打不开咋回事刚下载的源码传到空间打不开咋回事,空间是支持.aspx的。 好像要连接数据库吧,在哪里设置数据库用户名,密码,等。求解答??????
还有设置什么才可以打开网页啊。。。  运行/install 后,显示 服务器应用程序不可用。
apple - 2009/11/19 9:52:00
ASPX有1.1版本和2.0版本
1.1版本是会出错的,找主机商设置为2.0就可以了
guozhiyou - 2009/11/19 11:08:00
还是不行哦,,求解答,谢谢
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
1
查看完整版本: 刚下载的源码传到空间打不开咋回事