0

hii all,

im trying to connect remote sq server using in c++ using CDatabase class. im getting an sql error

Connection Failed
SQL State '01000'
SQL Server Error 14:
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Invalid Instance()).
SQL State '08001'
Connection Failed
SQL Server Error 14:
[Microsoft][ODBC SQL Server Driver][DBNETLIB]Invalid connection

the server which i am trying to connect is timed out on ping..

any suggestions

Regards;
Kunal

3
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by MrSpigot
0

hii,

i cannot connect to the ms sql server.... i am using CDatabase class for connection the error message i am getting is what i hv posted above..

pls help me with the error message, even if i try to ping the server ip address it says timeout and fails..

Regards:
Kunal

0

hii,

i cannot connect to the ms sql server.... i am using CDatabase class for connection the error message i am getting is what i hv posted above..

pls help me with the error message, even if i try to ping the server ip address it says timeout and fails..

Regards:
Kunal

If you can't ping the server your code and error messages are pretty irrelevant. You either have a network problem or the server is down.

Post code, we're not clairvoyant.

Good point though:D

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.