Quantcast
Channel: SCN: Message List - SAP Advantage Database Server
Viewing all 997 articles
Browse latest View live

Re: Download of ADSFIPSModule.zip

$
0
0

Here the error messages. Always 3x lines.


-[1]-

DATE          20150521

TIME          22:34:40

THREAD_NUM    4060

ERR_CLASS     7000

ERROR_CODE    7160

ADS_SOURCE    adsfips.c

SRC_LINE      1048

CNNCT_NUM

CNNCT_NAME

FILENAME      Could not load library....0.22\Server\libeay32.dll

ADS_VER       11.10.0.22

ENVIRONMNT    Windows NT

OS_VERSION    6.1

 

-[2]-

DATE          20150521

TIME          22:34:40

THREAD_NUM    4060

ERR_CLASS     0

ERROR_CODE    7165

ADS_SOURCE    adsfips.c

SRC_LINE      1050

CNNCT_NUM

CNNCT_NAME

FILENAME

ADS_VER       11.10.0.22

ENVIRONMNT    Windows NT

OS_VERSION    6.1

 

-[3]-

DATE          20150521

TIME          22:34:45

THREAD_NUM    4060

ERR_CLASS     7000

ERROR_CODE    7160

ADS_SOURCE    adsfips.c

SRC_LINE      1048

CNNCT_NUM

CNNCT_NAME

FILENAME      Could not load library....0.22\Server\libeay32.dll

ADS_VER       11.10.0.22

ENVIRONMNT    Windows NT

OS_VERSION    6.1


Re: Download of ADSFIPSModule.zip

$
0
0

Are you certain you copied the libeay32.dll  (and ssleay32.dll) from the WIN64 directory into your ADS 64-bit installation?

 

I just did a quick test.  that is the exact error I get if I copy in the WIN32 files, but as soon as I replace them with the WIN64 files it works just fine.

JDBC executeUpdate(String, int) method

$
0
0

Hello All,

 

I've just started to use Mulesoft Anypoint Studio to connect an Advantage based system to a customers webservices portal. I have the latest JDBC 11.10.0.22 loaded and I can read data from the database OK. But I can't write anything into it which causes me a great headache.

 

Support at Mulesoft have told me "Looking at your stacktrace, the java.lang.AbstractMethodError would indicate that the executeUpdate(String, int) method is not implemented in the ADSStatement class. The JDK 7 javadoc indicates that this method was added in JDK 1.4 so it might be that the Advantage JDBC is too old for use with Mule."

 

Does that sound correct and, if so, is there a version of JDBC which will allow me to write to the database ?

 

Thank you,

 

Peter Allen.

Re: JDBC executeUpdate(String, int) method

$
0
0

It's hard to say exactly what is correct.  Your last questions has two answers.

 

 

The ADS JDBC driver does support executeUpdate(string)  See: http://devzone.advantagedatabase.com/dz/WebHelp/Advantage11.1/index.html?jdbc_statement_object.htm

 

However, that is different than the executeUpdate(String, int).  I suspect that Mulsoft is correct in that this newer method has not been implemented.  As I understand the 1.0 and 2.0 methods were implemented and all was tested with 1.3.  I suspect there has not yet been demand for the newer 1.4 methods.

 

I would recommend to open a feature request at http://feedback.advantagedatabase.com/

 

 

As to your question, the driver is fully capable of updating data, I guess it just depends on what functions you can use, if you are limited to this particular software package or if you can write your own code.  For example, as stated above executeUpdate(string) is supported so that is an option.

Re: JDBC executeUpdate(String, int) method

$
0
0

Thanks Edgar. Raise a feature request, as you suggest.

Can ADS ODBC Driver version 9.10.0.21 and ADS ODBC Driver version 11.10.0.22 be installed on the same Windows web server?

$
0
0

Hi, I have a server running Windows Server 2008 Standard SP2 being used as a Web Server connecting to a different Windows server running ADS Server version 11.10.0.22. Last week I was developing some code on the web server and when I tried to test the code the database connection to ADS failed.

Should there be issues upgrading the ADS ODBC driver from version 9.10.0.21 to 11.10.0.22?

$
0
0

Hi, I upgraded a windows web server from ADS ODBC driver version 9.10.0.21 to 11.10.0.22 last week. Most web sites seem to be okay but there is one web site that is generating errors in the Windows Event Viewer. The site runs on PHP 5.3 and connects to ADS using the PHP ODBC API. Note: Other websites using other drivers to connect to ADS such as OLE and .Net framework. I was able to put in a partial work around by switching the PHP ODBC site from using DSN-less to DSN odbc connections. Note: This site is used to generate business reports and so it connects to several databases (each company is a separate database). The main companies are all working but there are some ancilliary companies that are still causing the exception with the DSN connection. I am going to try stopping the sites and uninstalling the 11.10.0.22 ODBC driver to see if that solves the problem ie allows use of DSN-less connections. The entry in Event Viewer looks like this : The system has called a custom component and that component has failed an generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below. Component Prog ID: 0[ODBC][Env 7129E96C] Method Name: IDispenserDriver::CreateResource Process Name: php-cgi.exe Exception: C06D007F Address: 0x7607FD1E                                                                                                                                                                                                                                              Was it an extremely bad idea to try updating the ODBC driver on a "live" web server (without rebooting) or have I just been caught out by an odd combination of events?                                                                                                                                                                                                                       Please also note I am finding this page very difficult to use. The page keeps stealing the focus from this textbox control. I am asked "do you want to leave this page?". I am using internet explorer and windows 8 with automatic updates. I was unable to paste in the event viewer message text so I typed it in without new lines. Using the key on the keyboard caused this form to submit prematurely so I have had to submit my question again. Mr Kim Anthony Groves.

Re: slow access

$
0
0

Hi Hakan..
very thanks for your answer.
I delayedin respondingto assess changes. With yourtipsperformanceimproved significantly.
I think thedelayinaccessing dataalso dueto thenumber of connections andconfigured tables; Iincreased thenumbertoo.
Onlynow we'rehaving some problems withthe network interfaces, but no longerhas to do withADS.


Re: slow access

Re: Can ADS ODBC Driver version 9.10.0.21 and ADS ODBC Driver version 11.10.0.22 be installed on the same Windows web server?

$
0
0

Hello Kim,

 

Only the lastest installed ODBC driver can be selected in the ODBC administrator.

Re: Should there be issues upgrading the ADS ODBC driver from version 9.10.0.21 to 11.10.0.22?

$
0
0

It shouldn't make a difference as long as you stop / start the webservice to pick up the updated registry.    This would be my first suggestion (versus your suggested steps to also uninstall - though an uninstall / re-install or repair may fix anything that could have gone wrong during the update if files were in use).

Re: RAD Studio XE8 support

$
0
0

Will be the ads-Components for XE8 also available for version 10.x?

We have a lot of customers on 10

Re: RAD Studio XE8 support

$
0
0

Hello Yusuf,

 

The ADS Version 10 is out of engineering Support, so I guess, that it will be not available for this version. But to be sure, I will ask the engineering and hope to come asap back with a clear answer.

Re: RAD Studio XE8 support

$
0
0

I get today the feedback from the engineering with confirming, that we cannot give any updates on ADS Version 10.x, because it's out of support.

XE7 / XE8 + Firedac + Pessimistic locking

$
0
0

Hi,

 

is there any chance to get that pessimistic locking working with firedac? If not has someone created a way of locking mechanism to lock i.e. the current edited dataset-row so other users can't edit same record at the same time with firedac and ads?


Slow performance of Advantage ISAM access in virtual 2012 environment

$
0
0

Hi all

 

Are there any guidelines / best practices on how best to install Advantage Database Server in a virtual clustered environment with a SAN (Win server 2012)

 

Our application / Advantage server performance drops substantially (40 to 50%) in this VM environment vs the previous dedicated file server hardware. We suspect its due to the nature of the ISAM single record by record access, and the overhead of the virtual environment for each record read and additionally Win server 2012 not favouring this type of 'chatty' data access any more

 

The application in question is an xHarbour (xBase) Dbf/Cdx well known client accounting application. Our client recently moved from a dedicated physical file server to a private cloud environment (clustered environment with a San). Performance on the virtual environment is 40 to 50% slower, with no real explanation. We have been pulling our hair out for weeks now trying 100's of things to no avail.

 

It seems that ISAM table access with single record by record reading from the SAN via Advantage on a VM just carries too much overhead and slows down significantly. Along with this, MS 2012 also seems to have introduced many changes that don't favour this type of data access.

 

I would appreciate any pointers / suggestions from anyone who has experienced this / recommendations from Sap in this regards. One thing we are considering next is to install Advantage on the host Windows system instead of on the VM windows system, to get it closer to the SAN

 

Thanks

Peter

Re: XE7 / XE8 + Firedac + Pessimistic locking

$
0
0

I will preface this by saying I've never used Firedac.  This may be a better question to ask of the FireDac community.

 

Reading through the Embarcadero help file, it looks like everything in FireDac is done via SQL.  (it even appears that TFDTable converts the tablename into a simple SELECT statement)

There is not a way to really get Pessimistic locking with ADS and SQL.

 

One possible option is to begin a transaction, update the record (i.e. add a field "locked")
Select the record for the user to Edit

Issue another update once the user is done editing

Finally Commit the Transaction.

 

 

While the Transaction is open and once the record is first updated it will be locked until commited.

Re: Slow performance of Advantage ISAM access in virtual 2012 environment

Issue with trigger path not changing

$
0
0

Our company uses ADS 11.1.  Normal operation is in Remote mode.  Our software is designed to be accessed over a UNC path when it's shared -- though it can be accessed over the local drive letter path if it's only used on one machine. We have a utility called DDUpdate that runs during installation that (among other things) sets the correct trigger container location in the data dictionary based on the path that DDupdate was executed on. DDUpdate is also able to be run manually if needed.

Sometimes users incorrectly install our software to the local server path rather than the UNC path when it is going to be served over the network. This usually causes a "5177 trigger failed" error from a client because the client is launching over the UNC path and the dictionary is searching on the local path.

Running the DDUpdate utility usually fixes this situation, but in my current case the triggers seem to be "stuck" searching the local drive letter path even after running the utility over the UNC path. The trigger error generated by ADS is: "ADSTableMaster: Error 5177: Trigger execution failed. The container named "D:\Parent\ProgramHome\FRTriggers.dll" failed to load with an error code 126."

Since this is a unique occurrence in our experience, we decided to manually set the path to the trigger container by updating the triggers in the data dictionary. However, when we did so the manually entered path was appended to the "stuck" path, returning the following error on attempting to execute a trigger: "ADSTableMaster: Error 5177: Trigger execution failed. The container named D:\Parent\ProgramHome\DATA\PRIMARY\?\Server\Parent\ProgramHome\FRTriggers.dll" failed to load with an error code 126."

\\Server\Parent\ProgramHome\FRTriggers.dll is the path to which I manually set the trigger in the data dictionary.

And perhaps the strangest part, when you go to Local Server mode, the issue goes away. The trigger error only happens when using ADS in Remote Server mode.

Has anyone seen behavior like this? If my description is not clear, let me know and I'll be happy to elaborate

(Note:  cross posted from old forum after I read that the forums would be moving here).

Virus scan on Windows server running Advantage 11.1

$
0
0

Hello,

 

We currently run Advantage 11.1 on a Windows 2008 R2 server. We are looking for information about virus scans being run on this server. Is there any documentation or formal recommendations on how to configure the virus scan? I know previously we found that we should exempt the virus scan from checking all database folders, however we are looking for something more detailed than exempt everything or if everything needs to be exempt then a document saying this is the case.

 

Thank you.

Viewing all 997 articles
Browse latest View live


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