trouble to run my app when installing on another system

I have trouble to run my app when installing on another system
the language is c# and I used DataAdapter and drag table to form to connect to db.
when I Install on another system it gives sql server error :

Unhandled exception has occurred ...

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: SQL Network Interfaces. error Locating Server/Instance Specified)

please help me to solve this problem. thanks

1 answer

Check to make sure that the target machine has the same version that you're compiling for. Also, make sure that if it's running on a 32-bit system, that you're not compiling for the 64-bit. Lastly, make sure that you're including all of the necessary libraries. Just by looking at those errors, there's obviously some sort of problem with either missing dependencies or maybe permissions?


Best Limo Fort Belvoir