Question a problem with connection to sql server

willow1648

New member
Joined
Apr 22, 2010
Messages
1
Programming Experience
1-3
3 years ago I developed a vb.net application that connect to sql express 2005 data base.
The application worked fine.
We replaced our computers, so we installed the application again. (The same exe file, the same sql server and so on).
Now, only when loading few forms I receive the following message:
“An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) “

I followed every direction and open all the needed ports, firewall, sql browser and so on.

Note that when we log in to the application, a connection is needed. The user verifying is working fine; it means that the connection is working properly.
After that a few more forms that pulling data from the data base are also working fine.
Only when I open a few forms I’m having this problem.
The connection is not changing between forms.

I installed the application on 3 more computers and still having the same problem.

Someone can help please??
Thanks in advance.
 
Back
Top