Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm trying to connect VB.Net 2005 (Pro) to an SQL Server Express 2005 installation, however i keep getting the following error message. I've checked the security settings on the server and everything is enabled (both pipes and TCP/IP).

 

Does anybody know what i'm doing wrong?

 

Thanks

Jay.

********************************************************

 

TITLE: Connect to Server

------------------------------

 

Cannot connect to esp. (esp is the servername)

 

------------------------------

ADDITIONAL INFORMATION:

 

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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 1326)

Posted
I thought SSE2K5 was only local machine, you could not connect to it via network. I could be misinformed though...

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Posted
I thought SSE2K5 was only local machine' date=' you could not connect to it via network. I could be misinformed though...[/quote']

 

 

As i understand it, its just that by default... But i'll look into it.

 

Thanks.

Posted

Thanks PD, but i was just coming back to say.... 'Solved it!' :)

 

I dont remember having to do that with 2000, but then it was ages ago i last used it!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...