I have sql database it is running perfectly in my local server(LAN). Now i m uploaded on the remote server. Our ISP provider has two differnt IP address for sql database and FTP. So i transfer all tables, views and procedure to Sql remote ip and I have the codes in (.aspx ) format i uploaded in FTP. How can i link the database from one place to another. I mean the codes are different ip and database in another IP.
I changed the web.config file and i m attaching here, Pls check and tell me if the code is wrong.
MY Database IP: 61.172.250.168
For the Website(FTP): 61.172.250.174
Another one question; I cannot access using ip address on the iexplorer. But i can access using www.......com.
Expand|Select|Wrap|Line Numbers
- <sessionState
- mode="InProc"
- stateConnectionString="tcpip=127.0.0.1:42424"
- sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
- cookieless="false"
- timeout="15"
- />
- <!-- 全球化
- 此节设置应用程序的全球化设置。
- -->
- <globalization
- requestEncoding="utf-8"
- responseEncoding="utf-8"
- />
- <httpModules>
- <add name="SessionExpire" type="com.noblsees.SessionExpire,test" />
- </httpModules>
- </system.web>
- <appSettings>
- <add key="noblesse" value="server=61.172.250.168;database=noblesse;uid=noblessedb;pwd=noblessedb0613;"/>
- <add key="host" value="http://61.172.250.168/test/"/>
- </appSettings>
- </configuration>