Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Cannot connect to my local SQL Server
For whatever reason, I can't connect to my local SQL Server using
TCP/IP from my VB app. If I add Network Library=dbmssocn to the
ConnectionString property, it just won't connect.Says that either the
server doesn't exist or access denied.  If I remove "Network
Library=dbmssocn" from connection string, it will connect fine. This
is very weird, since I have ADO 2.8 installed, which afaik connects via
tcp/ip by default. Neither can I connect to the box (explicitly using
TCP/IP) from other computers, though again, if I don't specify the
network library, the connection is made fine.  I checked the network
settings on the sql server and they seem fine.

Am I missing something simple?

The only odd thing I found is that the name of the server is (LOCAL),
while my PC's name is DEVBOX.  Normally they match.

Thanks
P.S.  This post maybe a duplicate.  The previous one doesn't show up in
my newsreader.

Report this thread to moderator Post Follow-up to this message
Old Post
Frank Rizzo
05-30-05 01:55 PM


Re: Cannot connect to my local SQL Server
"Frank Rizzo" <nospam@nospam.com> wrote in message
news:eUv3QGOZFHA.584@TK2MSFTNGP15.phx.gbl...
> For whatever reason, I can't connect to my local SQL Server using
> TCP/IP from my VB app. If I add Network Library=dbmssocn to the
> ConnectionString property, it just won't connect.Says that either the
> server doesn't exist or access denied.  If I remove "Network
> Library=dbmssocn" from connection string, it will connect fine.

Then why not do that...?



Report this thread to moderator Post Follow-up to this message
Old Post
Bonj
05-31-05 01:55 AM


Re: Cannot connect to my local SQL Server
Bonj wrote:
> "Frank Rizzo" <nospam@nospam.com> wrote in message
> news:eUv3QGOZFHA.584@TK2MSFTNGP15.phx.gbl...
> 
>
> Then why not do that...?

I know the joke, but that wasn't the question.

Report this thread to moderator Post Follow-up to this message
Old Post
Frank Rizzo
05-31-05 08:55 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 06:39 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.