Click here to Skip to main content
15,911,030 members
Please Sign up or sign in to vote.
2.40/5 (3 votes)
See more:
i have developed a web base application ,now in its implementation i want to use two server one for sql server,and second for application,how that is possible,my application will be linked to client via IP Address,
Posted
Comments
Herman<T>.Instance 4-Mar-15 6:24am    
- make sure the SQL Server is not accessible from the internet
- the webserver should only be able to access the DB Sever over the portnr of the DB Server.
- Make sure that in the web.config no username and password are set. use integrated security.
Sajid227 5-Mar-15 1:26am    
i am using same connection string ,my problem is that will we need any thing in my web config that tells the web server to connect with DB server?
<connectionstrings>
<add name="ConnString1" connectionstring="Data Source=yourSqlServerIP;Initial Catalog=YourDataBaseName;Integrated Security=True;" providername="System.Data.SqlClient">
Sajid227 5-Mar-15 1:27am    
u are rite ,i am using two server becoz of reason that you explain
Herman<T>.Instance 5-Mar-15 4:08am    
http://www.connectionstrings.com/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900