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

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

网站迁移了主机后,打不开主机的后台,是不是要安装什么 [复制链接]

1#
打开后台,就自动跳转http://localhost/e/master/login.aspx 这个地址,报404错误
企业微信截图_16092138422163.png (, 下载次数:0)

(2020/12/29 11:51:59 上传)

企业微信截图_16092138422163.png

分享 转发
TOP
2#

3.0?
打开web.config修改一下里面的主域名
TOP
3#

回复 2楼xiyou的帖子

估计是的,我在系统里面没有找到web.config文件
TOP
4#

回复 3楼kezhong的帖子

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <appSettings>
    <add key="Url" value="localhost" />
    <add key="License" value="" />
    <add key="DbType" value="0" />
    <add key="SqlConnection" value="Provider=SQLOLEDB;Data Source=127.0.0.1;Initial Catalog=sq_data;User ID=sa;Password=123456" />
    <add key="AccessConnection" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=/e/database/v3.mdb" />
    <add key="ManageDirectory" value="/e/master/" />
  </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" fileEncoding="utf-8" />
    <httpRuntime maxRequestLength="1024000" executionTimeout="3600" />
  </system.web>
</configuration>
TOP
5#

回复 2楼xiyou的帖子

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <appSettings>
    <add key="Url" value="localhost" />
    <add key="License" value="" />
    <add key="DbType" value="0" />
    <add key="SqlConnection" value="Provider=SQLOLEDB;Data Source=127.0.0.1;Initial Catalog=sq_data;User ID=sa;Password=123456" />
    <add key="AccessConnection" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=/e/database/v3.mdb" />
    <add key="ManageDirectory" value="/e/master/" />
  </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" fileEncoding="utf-8" />
    <httpRuntime maxRequestLength="1024000" executionTimeout="3600" />
  </system.web>
</configuration> web.config 里面的文件没有域名,只有本地文件,你的意思,把127.0.0.1 改成域名
TOP
6#

  <add key="Url" value="localhost" />  localhost 改为你域名试试
TOP
发新话题 回复该主题