Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Wed, 11 Jan 2006 06:59:02 -0800,    group: microsoft.public.dotnet.datatools        back       


VS.Net 2005 can't connect to remote SQL Server instance   
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
date: Wed, 11 Jan 2006 06:59:02 -0800   author:   chris

Re: VS.Net 2005 can't connect to remote SQL Server instance   
Hello Chris,

Have u tried smth from that discussion http://groups.google.com/group/microsoft.public.dotnet.framework.adonet/browse_frm/thread/d892fa3f16af2168/c085545c69936dcf?lnk=st&q=dotnet+vs+2005+connect+sql+2000&rnum=8#c085545c69936dcf 
?

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
date: Wed, 11 Jan 2006 22:11:44 -0800   author:   Michael Nemtsev

Re: VS.Net 2005 can't connect to remote SQL Server instance   
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@msn.com  www.cindywinegarden.com


"chris"  wrote in message 
news:EC706D34-00CA-41F7-A750-C23A64C7C4CB@microsoft.com...
> 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
>
date: Thu, 12 Jan 2006 22:40:47 -0500   author:   Cindy Winegarden

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us