PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Problem remoting to SQL Server from a Vista Machine

Reply

Problem remoting to SQL Server from a Vista Machine

 
Thread Tools Rate Thread
Old 27-04-2008, 05:11 PM   #1
BillG
Guest
 
Posts: n/a
Default Problem remoting to SQL Server from a Vista Machine


I have a C# .net app that connects remotely to a SQL Server 2005 database on
a Windows 2003 server machine sitting in Chicago. It connects through a
VPN. Everything works fine when I run the app from a machine running XP Pro
SP 2. When I try to run the same app, no modifications, from a Vista
Business machine and from a Vista Ultimate machine, (so I am assuming it's a
Vista issue) I get the error

[DBNETLIB] ConnectionOpen (Connect()).] SQL Server does not exist or assess
denied.

It is not the SQL Server, because it works from the XP machine.
It is not TCP/IP on the Vista machines because I can do everything else,
connnect to internet, connect through VPN etc.

As it is happening on more than one machine running Vista and not the XP,
that is why I am assuming it is a Vista Problem.

I can connect to the SQL Server on the Chicago machine by using SQL Server
Management Studio Express.

That seems to narrow it down to a ado.net issue.

I am using the .net 3.5 framework.

Any suggestions?

BillG

  Reply With Quote
Old 29-04-2008, 03:31 PM   #2
BillG
Guest
 
Posts: n/a
Default Re: Problem remoting to SQL Server from a Vista Machine

I solved the problem. When connecting from a Vista machine change the
configuration string to use the ip address, port number of the SQL Server
machine instead of the name of the SQL Server machine.

Bill

"BillG" <billgower@charter.net> wrote in message
news:E949F8C6-40B4-4359-B1A5-CEBB0487F9B3@microsoft.com...
>I have a C# .net app that connects remotely to a SQL Server 2005 database
>on a Windows 2003 server machine sitting in Chicago. It connects through a
>VPN. Everything works fine when I run the app from a machine running XP
>Pro SP 2. When I try to run the same app, no modifications, from a Vista
>Business machine and from a Vista Ultimate machine, (so I am assuming it's
>a Vista issue) I get the error
>
> [DBNETLIB] ConnectionOpen (Connect()).] SQL Server does not exist or
> assess denied.
>
> It is not the SQL Server, because it works from the XP machine.
> It is not TCP/IP on the Vista machines because I can do everything else,
> connnect to internet, connect through VPN etc.
>
> As it is happening on more than one machine running Vista and not the XP,
> that is why I am assuming it is a Vista Problem.
>
> I can connect to the SQL Server on the Chicago machine by using SQL Server
> Management Studio Express.
>
> That seems to narrow it down to a ado.net issue.
>
> I am using the .net 3.5 framework.
>
> Any suggestions?
>
> BillG
>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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