Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / August 2007



Tip: Looking for answers? Try searching our database.

Connectin to SQL server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave Davis - 14 Aug 2007 18:16 GMT
I've been using Delphi for years (Win 32) and connecting to my SQL Server
databases with no problem.

I am now trying to learn bth VB and C#. (Visual studio 2005)

From the Data menu, I select Add New Data Source
I then choose Database
I select Microsoft SQL Server as the Data Source

The Add Connection Dialog appears
It populates the Server name dropdown with both of my SQL servers.

However, when I try to select a database name, the dropdown is never
populated and I get a TimeOut Expired (or server not responding) error.
This happens whether I use windows authentication or SQL server
authentication.
It also happend if I type in the name of a known database.

I suspect this has something to do with .net as opossed to Visual Studio.

Any help would be appreciated.

If this is the wrong newsgroup, I apologize.  It looked to be the most
promising.

Thanks,

Dave
William Vaughn - 15 Aug 2007 01:50 GMT
You'll have better luck with the ADO.NET newsgroup
(ms.public.dotnet.framework.adonet.
See the whitepaper on connecting on my blog or read chapter 9 from my book.

Signature

____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant, Dad, Grandpa
Microsoft MVP
INETA Speaker
www.betav.com
www.betav.com/blog/billva
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

> I've been using Delphi for years (Win 32) and connecting to my SQL Server
> databases with no problem.
[quoted text clipped - 24 lines]
>
> Dave
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.