FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SQLOLEDB Problem
Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
SQLOLEDB Problem
Posted: Wed Dec 10, 2014 05:48 AM

Hello,

I have been using SQLOLEDB without any problems. Today I am getting SQLOLEDB errors with trying to perform the same exact function as yesterday.

oSql:Open( cSql, xSQL )

The source was not changed and it was working perfectly yesterday.

What can I do to insure something did not update on my Windows to cause the problem?

Thank you,

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: SQLOLEDB Problem
Posted: Wed Dec 10, 2014 06:30 AM

Try a system restore - then set updates to download but you select when to install them

Cheers

Colin

Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: SQLOLEDB Problem
Posted: Wed Dec 10, 2014 02:09 PM

Darrell

Can you be a bit more specific on the error .. your code seems simple enough. Has anything changed on the Sql Server end ? Any field changes that would cause your query to fail ? Has your connection terminated or any new code injected before your Sql Command that may have effected the connection ?

Rick LIpkin

Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: SQLOLEDB Problem
Posted: Thu Dec 11, 2014 02:38 AM

Hi Rick,

It is very, very strange. I am able to run without a problem on any other workstation except mine which is the development machine. I honestly think is has to do with a Java update somehow. I removed Java and now getting strange errors when trying to install. "Computer not connected to Internet" which is absolutely incorrect because I am connected and on the web at the very same time I am installing Java. It is very strange. I may have to wipe workstation and reinstall everything. No Fun!!!

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: SQLOLEDB Problem
Posted: Thu Dec 11, 2014 04:19 PM

Darrell

Google JavaRA .. this is the java removal tool from MajorGeeks or Softpedia. This will remove all Java traces, folders and reg files.

Once Java has been removed .. get the latest version from Java.com .. Hope that helps.

Rick Lipkin

Posts: 708
Joined: Fri Oct 28, 2005 09:53 AM
Re: SQLOLEDB Problem
Posted: Tue Dec 16, 2014 04:45 AM

Thanks Rick,

Well after considerable headaches, I found the problem. There was a Microsoft Security Essentials update that went wrong and basically messed up all my security settings. Once I removed it and re-installed, everything came back to normal. What a pain the B.....

Thanks for your input and assistance.

*~*~*~*~*~*~*~*~*~*
Darrell Ortiz
CDM Software Solutions, Inc.
https://www.cdmsoft.com

Continue the discussion