Fail to connect SQL2005

A

Agnes

my Two vb.net application run very well.
Suddnely, todaymorning, When user want to run One application
There is an error (When I open the database connection)
"An error has occurred while establishing a connection t the server.When
connection to SQL server 2005,this failure may be caused by the fact that
under the default setting SQL Server does not allow remote connection
(provider: Named Pipes Provider, error: 40 - Could not open a connection to
SQL Server)

**quit odd that Other appliction run very well, and it can open the same
database**
 
C

Cor Ligthert [MVP]

Agnes,

When it did run first, than it is most probably a change in the environment,
something we cannot help you with, you have to go to your system
administrator for that.

Cor
 
A

Agnes

I solve the problem now.
One application , the connection string 's datasource which use the
servername (can run well)
and other application use "IP " as datasource (it can't run. )
Now,we correct it.
sorry for bother you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top