dbTalk Databases Forums  

Old code not able to connect to unicode instance

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Old code not able to connect to unicode instance in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John
 
Posts: n/a

Default Old code not able to connect to unicode instance - 09-24-2007 , 08:18 PM






Hi,

I have a program written in C/C++ compiled with MS Visual Studio 6.0 that
fails to connect to a french SQL Server instance (probably a 2005 instance)
with "SQL Server does not exist or access denied".

I can connect to the instance with SQL Server Management Studio with no
problems.

Is the OLE interface for VS6.0 not capable of this?

John.



Reply With Quote
  #2  
Old   
Linchi Shea
 
Posts: n/a

Default RE: Old code not able to connect to unicode instance - 09-28-2007 , 01:15 PM






I doubt it had anything to do with the code page of the instance. I would try
to modify the connection string to make the server name as specific as
possible. For instance, try the IP address followed by a comma and the port
number (e.g. tcp:30.5.183.110,1433).

Linchi

"John" wrote:

Quote:
Hi,

I have a program written in C/C++ compiled with MS Visual Studio 6.0 that
fails to connect to a french SQL Server instance (probably a 2005 instance)
with "SQL Server does not exist or access denied".

I can connect to the instance with SQL Server Management Studio with no
problems.

Is the OLE interface for VS6.0 not capable of this?

John.




Reply With Quote
Reply




Thread Tools
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.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.