Hello,
I have a windows application that uses a SQL Server 2005.
The customer wants to run my application from a computer, and connect to the SQL Server that is on another computer.
Currently the SQL server and application both run on the same computer. The connection string I have is as follows:
connectionString="Data Source=(local);Initial Catalog=ServiceMaster;Integrated Security=True"
If I want to connect to another computer would have to change the data source to the IP address of the computer that has the sql server? How about security issues.
example:
connectionString="Data Source= 10.0.0.163;Initial Catalog=ServiceMaster;Integrated Security=True"
Would the above connection string work?
Thanks in advance,
Steve
I have a windows application that uses a SQL Server 2005.
The customer wants to run my application from a computer, and connect to the SQL Server that is on another computer.
Currently the SQL server and application both run on the same computer. The connection string I have is as follows:
connectionString="Data Source=(local);Initial Catalog=ServiceMaster;Integrated Security=True"
If I want to connect to another computer would have to change the data source to the IP address of the computer that has the sql server? How about security issues.
example:
connectionString="Data Source= 10.0.0.163;Initial Catalog=ServiceMaster;Integrated Security=True"
Would the above connection string work?
Thanks in advance,
Steve