Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fatal Error c0000005a when trying SQLCONNECT

Status
Not open for further replies.

CTMHSH

Programmer
Jun 13, 2002
6
US
I have a stand alone VFP program that is trying to download info from an SQL Server. I am using

"STORE SQLCONNECT('&gcDIALUP', "SH", "SHWIN") TO gnCONNHANDLE"

On several PCs this works but on some I get 'Fatal Error C0000005a' and this line of code. I have downloaded SP3 and it helped in some cases but not all of them otherwise I would not be writing this. I cannot find anything in MSDN to help and I could use some assistance.

Thank you
 
I have gotten this before and have been able to correct it. The problem is I get the 'fatal error' error when the connection is trying to be made. I can go into ODBC Data Source and the connection is made. I am beginning to think it is a VFP thing not SQL. I am able to ping the SQL Server from the Fatal Error PC and it goes through. Thank you for your help and if find anything else let me know.

Craig
 
Craig,
Since you mention SP3, is this VFP 5.0 or VFP 6.0? If it's 6.0, you should try SP 5. What version of SQL Server ODBC are you running? The MDAC Component checker shows it as 02.50 on my system, and sqlsrv32.dll shows 2000.81.7713.0.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top