Quantcast
Viewing all articles
Browse latest Browse all 7696

how to remote access sql server 2008 database using vb.net corded software

I create a software using vb.net for document control.

My database is SQL SERVER 2008.

database is based on MY Computer.

I install my software(with .NET frame work) Other computers.

But I can't connect my database using other computers.

I configured My SQL database using SQL configuration Manager and firewall settings.

But I can't access database using client computer.

When I am try to connect database using client computer, show below error message.

A network-related or instance-specific error occurred while establishing a connection to SQL Server.The server was not found 
or was not accessible.Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
(provider:Named Pipes Provider,error:40-Could not open a connection to SQL Server).

My sql connection string is

     Dim Con As SqlClient.SqlConnection
        Con = New SqlClient.SqlConnection("Data Source=192.168.001.056, 1433;Network Library=DBMSSOCN;Integrated Security=True;database=keangnam")

In my computer this connection string worked properly.

And I want to know How to configure client computer???????????????

Please reply SOON..........:)

 

Viewing all articles
Browse latest Browse all 7696

Trending Articles