0

When i install window form application another machine database not connect
ERROR :-
Unhandle Exception has occurred in your application.

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 connection(provide: SQL network interfaces, error:-26 ERROR locatings server/intance specified)

4
Contributors
3
Replies
18
Views
2 Years
Discussion Span
Last Post by cgeier
0

It's because your application is trying to connect to a database that doesn't exist.

You need to set up a connection, from the other machine, to the database for it to work.

0

Is your database part of the app or does the app connect to a remote db?
Is the install location the same on the second machine as the first and check to make sure the path to the db is correct (makig sure of relative vs absolute pathing).

0

Are you using SQL Server or SQL Server Express? If so, are you trying to connect to an instance on the new machine? If so, did you install the db software on the new machine and create the database?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.