all groups > sql server odbc > september 2007 >
You're in the

sql server odbc

group:

Old code not able to connect to unicode instance



Old code not able to connect to unicode instance John
9/25/2007 12:00:00 AM
sql server odbc: 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.

RE: Old code not able to connect to unicode instance Linchi Shea
9/28/2007 11:15:01 AM
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

[quoted text, click to view]
AddThis Social Bookmark Button