Message
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01641919
Message ID:
01641947
Views:
29
>>>>Hi,
>>>>
>>>>Does the error [ODBC SQL Server Driver] Communication Link Failure produced in VFP application mean that the SQL Server connection handle was timed out? Or there is another reason for it?
>>>>
>>>>TIA
>>>
>>>Did you try grabbing all aerror information available?
>>
>>Yes. This is how I got the description [ODBC SQL Server Driver] Communication Link Failure.
>
>You need to examine all properties, there should be more information.

I usually get just these values from aerror:
AERROR(aErrorInfo)
this.error_message_text = aErrorInfo[1,2]
this.error_number = aErrorInfo[1,1]     && this is useless with SQL Server connection
What other elements of aErrorInfo should have useful information in getting to the core of the problem?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View