本来是网络放在一个服务器上的
现在把网站移动另一个服务器(机房 IP已经完全不一样)
新网址:
http://218.94.78.91:8080
在原来服务器上时后台登陆没有问题
移动新服务器上时登陆后台显示“操作超时”
在新服务器已经上已经设置了index.html,index.aspx为默认网页,index.html在前
在新服务器本地(用localhost)登陆后台又没问题
web.config内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appSettings>
<add key="Url" value="218.94.78.91" />
<add key="License" value="" />
<add key="DbType" value="0" />
<add key="DBPath" value="/e/database/v3.mon" />
<add key="SqlConnection" value="Provider=SQLOLEDB;Data Source=127.0.0.1;Initial Catalog=sq_data;User ID=sa;Password=123456" />
<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>
<system.webServer>
<defaultDocument>
<files>
<remove value="default.aspx" />
<remove value="iisstart.htm" />
<remove value="index.htm" />
<remove value="Default.asp" />
<remove value="Default.htm" />
<add value="index.aspx" />
</files>
</defaultDocument>
</system.webServer>
</configuration>