Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Accessing SQL Server over Network .NET Application

0.00/5 (No votes)
23 Feb 2010 1  
1) Install SQL Server on Window Server 2003/2008 on Network (Select Network option when installing SQL Server)2) Configure Windows Server as a domain

This articles was originally at wiki.asp.net but has now been given a new home on CodeProject. Editing rights for this article has been set at Bronze or above, so please go in and edit and update this article to keep it fresh and relevant.

1) Install SQL Server on Window Server 2003/2008 on Network (Select Network option when installing SQL Server)

2) Configure Windows Server as a domain controller. (Install DHCP )

3) Add Windows XP node to domain. (System Properties - >Computer Name -> Change->Add the name of the domain (Ex. MyTestServer@abcd.com and put he Windows Server Login Password)

3) Configure connection properties of your app.config or web.config file as follows

 

<add name="CWBConnectionString" connectionString="Data Source=CWBServer;pwd=cwb@123;Initial Catalog=CWB;Integrated Security=True" providerName="System.Data.SqlClient" />

 

              #Set the Datasource of your connection string as Name of the SQL Server

              #Password use to logon to Windows Server


 Now you can access the SQL Server database from your applications on Windows XP nodes.

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here