Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Other SQL Server Topics / July 2005

Tip: Looking for answers? Try searching our database.

Connection to SQL remote server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hutty - 07 Jul 2005 17:08 GMT
I'm using vb.net to connect to a MSDE 2000 database on a remote server.  
While in VB.NET,  I'm able to view data using Server Explorer.  In addition,
I've configured an ODBCDATAADAPTER that fills the dataset under preview data.
When I tried to retrieve data through webform/datagrid I get the error
"ERROR [08001] [Microsoft][ODBC SQL Server Driver][Named Pipes]SQL Server
does not exist or access denied. ERROR [01000] [Microsoft][ODBC SQL Server
Driver][Named Pipes]ConnectionOpen (Connect())."

I created a system dsn to connect to remote server. Test connection
succeeded. Any ideas what's wrong?
Signature

Hutty

Hutty - 07 Jul 2005 18:57 GMT
The connection string I'm using in vb.net is  

Dim Conn As New SqlConnection("Persist Security Info=False;Data
Source=INTL_INSTANCE;Extended
Properties=DSN=INTL_INSTANCE;UID=Hutty;APP=Microsoft® Visual Studio
.NET;WSID=CUI0113;DATABASE=Hutty;Network=DBNMPNTW;Address=\\INTL\pipe\MSSQL$MYINSTANCE\sql\query;Trusted_Connection=Yes;Initial Catalog=Hutty")
Signature

Hutty

> I'm using vb.net to connect to a MSDE 2000 database on a remote server.  
> While in VB.NET,  I'm able to view data using Server Explorer.  In addition,
[quoted text clipped - 6 lines]
> I created a system dsn to connect to remote server. Test connection
> succeeded. Any ideas what's wrong?
Ze Rui - 14 Jul 2005 09:59 GMT
I have the same problem.
I want to connect to a SQL server with this connection string:
Dim Conn As New SqlConnection( "Data Source=83.240.161.155;
User Id=sa;password=;Initial Catalog=Avaliacao Desempenho")

Any help?

Ze

> The connection string I'm using in vb.net is  
>
[quoted text clipped - 13 lines]
> > I created a system dsn to connect to remote server. Test connection
> > succeeded. Any ideas what's wrong?
 
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.