Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed a vb.net database application(desktop application with sql 2005).I managed to create setup which is running on my pc. but when i install this application on my client system the application is running but all database operations fails. Pls any one suggest a solution.

Is it possible to use/run a program made in Visual Basic 2010 on a computer without .NET Framework 3.5, and sql server 2005?

Thanks in advance.
Posted
Updated 19-May-13 20:23pm
v2
Comments
Basmeh Awad 20-May-13 2:15am    
have you installed sql server on clients pc???
if yes check the connection string the instance name should also be the same as you have given in your vb.net application...

1 solution

Probably, the connection string to the SQL Server instance is not correct for the new PC, but there may be no SQL server installed on it's LAN, or it may required different login details, or the database you are trying to use has not been installed on the SQL server instance you are connecting to.

The error message / exception you get should help point you in the right direction, but check that you haven't hardcoded a connection string first, then check the actual string is correct before moving on to the other items.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900