Fail to connect SQL2005

  • Thread starter Thread starter Agnes
  • Start date Start date
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**
 
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
 
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
 
Back
Top