Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Connection to the Database Failed error occurred, but error text could not be retrieved due to a failure in the error handler.

$
0
0

Hi I Need your help Please !

 

My development tool is PB12.6 ,  I am facing this error on one of my clients PC with windows 7 with 64bit SQL Client installed in it

trying to connect to MS SQL Server 2008R2  , 5 Pcs with same conflagration and environment connect successfully

except this PC my connect code is as follows :

 

 

///// Start

 

SQLCA.DBMS = "SNC SQL Native Client(OLE DB)"

SQLCA.ServerName = "ADMIN"

SQLCA.LogId = "C303"

SQLCA.LogPass = '500'

SQLCA.DBParm = "Database='Test'"

SQLCA.AutoCommit = False

 

connect using sqlca;

if sqlca.sqlerrtext <>''  then

  messagebox("Error","Connection to the Database Failed  " + sqlca.sqlerrtext)

  halt close

end if

 

///// End

 

 

I get the following Error :

 

Connection to the Database Failed error occurred, but error text could not

be retrieved due to a failure in the error handler.


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>