产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

请高手帮我看一下,我上传到空间后,web.config的内容还需要改哪... [复制链接]

1#
<?xml version="1.0"?>
<configuration>
  <appSettings>
    <add key="Business" value="0" />
    <add key="License" value="" />
    <add key="Url" value="218.85.134.190" />
    <add key="UrlRewrite" value="0" />
    <add key="DbType" value="0" />
    <add key="DBPath" value="/database/company_3.mdb" />
    <add key="SqlConnection" value="Provider=SQLOLEDB;Data Source=127.0.0.1;Initial Catalog=sql_data;User ID=sql_user;Password=sql_password" />
    <add key="Language" value="cn" />
    <add key="ManageDirectory" value="/master/" />
    <add key="Version" value="V2.1 20100324" />
  </appSettings>
  <system.web>
    <httpModules>
    </httpModules>
    <pages validateRequest="false" enableEventValidation="false" enableViewStateMac="false" viewStateEncryptionMode="Never" />
    <compilation defaultLanguage="C#" debug="false" />
    <authentication mode="Forms" />
    <customErrors mode="Off">
      <error statusCode="404" redirect="/error404.html" />
    </customErrors>
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
  </system.web>
</configuration>
分享 转发
TOP
2#

登陆后台管理时出现错误,如下:
Server Error in '/' Application.
--------------------------------------------------------------------------------

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /master/login.aspx
TOP
3#

The resource cannot be found.
这个错误时找不到文件,很大可能是你iis站点没有配置好
TOP
4#

行了,是我自己太大意。谢谢。
TOP
发新话题 回复该主题