HighTechTalks DotNet Forums  

VS.Net 2005 can't connect to remote SQL Server instance

Dotnet Data Tools microsoft.public.dotnet.datatools


Discuss VS.Net 2005 can't connect to remote SQL Server instance in the Dotnet Data Tools forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
chris
 
Posts: n/a

Default VS.Net 2005 can't connect to remote SQL Server instance - 01-11-2006 , 09:59 AM






I'm having an issue with VS.Net 2005. I just installed it and can't
connect any remote SQL instance from the IDE. My project is set up to
reference a remote SQL 2000 DB. I can connect to the SQL DB from Enterprise
Manager and VS.Net 2003. Anyone else have this problem? Just another
note - the code just hangs when I get to the "cn.open" line.

By the way sorry for the cross-post, but this one has me stumped.

chris hankey


Reply With Quote
  #2  
Old   
Michael Nemtsev
 
Posts: n/a

Default Re: VS.Net 2005 can't connect to remote SQL Server instance - 01-12-2006 , 01:11 AM






Hello Chris,

Have u tried smth from that discussion http://groups.google.com/group/micro...85545c69936dcf
?

C> I'm having an issue with VS.Net 2005. I just installed it and can't
C> connect any remote SQL instance from the IDE. My project is set up
C> to reference a remote SQL 2000 DB. I can connect to the SQL DB from
C> Enterprise Manager and VS.Net 2003. Anyone else have this problem?
C> Just another note - the code just hangs when I get to the "cn.open"
C> line.
C>
C> By the way sorry for the cross-post, but this one has me stumped.
C>
C> chris hankey
C>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/members/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche



Reply With Quote
  #3  
Old   
Cindy Winegarden
 
Posts: n/a

Default Re: VS.Net 2005 can't connect to remote SQL Server instance - 01-12-2006 , 10:40 PM



Hi Chris,

Can you connect to the server via the Server Explorer pane in VS 2005? Can
you connect to the data by using Data Connection? If so, does it work with
"Microsoft SQL Server (SqlClient)" or "Microsoft SQL Server (OLE DB)" or
both?

How about posting the connection string you are using in your program, and
your program code?

I played with this same issue today and finally got it to work, but I just
kept stabbing in the dark and changing stuff, and I'm not sure which
approach worked.

--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden (AT) msn (DOT) com www.cindywinegarden.com


"chris" <chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
I'm having an issue with VS.Net 2005. I just installed it and can't
connect any remote SQL instance from the IDE. My project is set up to
reference a remote SQL 2000 DB. I can connect to the SQL DB from
Enterprise
Manager and VS.Net 2003. Anyone else have this problem? Just another
note - the code just hangs when I get to the "cn.open" line.

By the way sorry for the cross-post, but this one has me stumped.

chris hankey




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.