PC Review


Reply
Thread Tools Rate Thread

Problem remoting to SQL Server from a Vista Machine

 
 
BillG
Guest
Posts: n/a
 
      27th Apr 2008
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
 
 
 
 
BillG
Guest
Posts: n/a
 
      29th Apr 2008
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" <(E-Mail Removed)> wrote in message
news:E949F8C6-40B4-4359-B1A5-(E-Mail Removed)...
>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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem remoting to vista enterprise system Lem@community.nospam Windows Vista Networking 3 11th Jul 2008 12:11 PM
How to configure Vista machine as RAS server? Pushkar Windows Vista Security 0 31st Aug 2006 06:29 PM
.Net Remoting problem: No connection could be made because the target machine Data Microsoft C# .NET 5 9th Jul 2004 07:55 AM
.NET Remoting Server Windows Service Performance Problem Buzz Bonner Microsoft C# .NET 1 14th Feb 2004 10:15 PM
How do I tell when a remoting client or remoting server goes away? John Microsoft Dot NET Framework 4 19th Sep 2003 02:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 PM.