Quantcast
Channel: SCN : All Content - SAP SQL Anywhere
Viewing all 647 articles
Browse latest View live

Merge statement and proxy tables

$
0
0

I have been asked by a customer to populate data in another database (SQL Server or Oracle).  I was thinking of using a merge statement to take data from the table in my SQL Anywhere database and insert it into the proxy table.

 

Are there are any concerns with using the merge statement for something like this?

 

Thanks


Ultralite WinRT

$
0
0

Hi Everyone,

 

Has anyone tried using the UltraLite WinRT library? I'm trying to use it for a cordova-based windows 8.1 application but it always crashes with the following error:

 

0x80040154 - JavaScript runtime error: Class not registered

 

I have referenced the UltraLite.winmd and in my javascript code, I have something that looks like:

 

UltraLite.DatabaseManager.openConnection(connParms);

 

Upon running the app and hitting this code on runtime, the app throws the error stated above.

 

Any clue what could be wrong?

 

TIA,

Marc

Repair corrupt sqlanywhere 9 database with no backup. Assertion failed: 201129 (9.0.2.2451) File is shorter than expected.

$
0
0

I am looking for help in attempting to repair a corrupt SQL Anyhere 9 (9.0.2.2451) database. There is no backup of the database. The database service will not start and gives the following error: Assertion failed: 201129 (9.0.2.2451) File is shorter than expected. Is repairing the database possible? Could data from the database be salvaged to use in creating a new database? I have tried unloading tables using the dbunload command but the same 201129 error occurs when I make the attempt.

Mobilink 16 - Invalid sync sequence ID for remote ID

$
0
0

Hello!

 

Previously I asked questions on forums.sybase.com, and this is my first post here, so hopefully I am in the right place

 

I am having a strange situation on a Production environment, that I can't reproduce on Dev environments. Some mobile users are reporting that their synchronization stops working, and the following error appears on Mobilink logs (user-specific information suppressed):

 

I. 2015-03-31 17:43:18. <15> Request from "UL 16.0.2041" for: remote ID: 3, user name: XXX, version: XXX

I. 2015-03-31 17:43:18. <15> The sync sequence ID in the consolidated database: 8532358e03454d7db35f8c29093b2aad; the remote previous sequence ID: 0c5d767ebaed4f82b60373b992d81d87, and the current sequence ID: 72fbaada560b4f86a6d69b09ff2edfd9

E. 2015-03-31 17:43:18. <15> [-10400] Invalid sync sequence ID for remote ID '3'

I. 2015-03-31 17:43:19. <15> Synchronization failed

 

As far as I know, this kind of problem would occur only if an old version of the remote database was somehow restored in the device - this is the only way for me to reproduce it. However my Service Desk confirmed that they (or the users themselves) are not messing with the database file in any way.

 

Is there anything I could do to pin down this problem? What else could let these sequence IDs get out of sync?

Can the substitution character be changed?

$
0
0

When using an ODBC client connection to a Sybase 9.0.2 database, the question mark '?' was used as a substitution character if a string contained characters that were incompatible with the database character set. From my experience, the substitution seems to be done by the ODBC driver.

 

On Sybase 10 and later, it seems like the SUB character (0x1a) is used instead. Although the SUB character makes more sense, it is causing problems for some of our legacy applications.

 

Do you know of a way to (preferably client-side) change the substitution character used in case of character conversion errors?

 

Any feedback is highly appreciated!

SAP BusinessObjects BI Platform 4.1

$
0
0


Hello togehter,

 

i have a big problem with my BI Installation and the SQL Anywhere Database.

 

The size from the BI4_CMS Log file is 38 GB and grows 6 GB per week.

 

Any ideasonwhatcould be the problem ?

 

I use theserveraloneandhaveabout 150reports on the server.

 

Regards

Michael

 

Assertion failed

$
0
0

Hello could anybody explain what these 2 errors mean? What is cause of these errors? How to avoid it?

 

Running SA 10.0.1.4310 on MS Windows Server 2012 R2 Standard edition in VM WARE 6.0

 

[SQL] Run time SQL error -- *** ERROR *** Assertion failed: 103200 (10.0.1.4310) Unreported error

06/12 04:36:02. *** ERROR *** Assertion failed: 202000 (10.0.1.4310) Invalid string continuation at row id 0x2c5e4:0x0

 

Thanks

 

marian

Migration Sybase SQL Anywhere Version 10 to Version 16

$
0
0

Hi,

 

IBM Canada in Bromont, Québec, has mandated Horizant  http://www.horizant.com/    to migrate our Sybase version 10  to version 16 which permits to operate ARCHIBUS.

The Horizant technical people needs the DBA password to do this migration.

Can you help them.

As a reference, I am sending you the original Purchase Order of Sybase Version 10 in 2007 (at that time the company name was Tiree systems) :

 

 

Regards,

 

Marc Gendron

Services immobiliers - RESO

Tél. (450) 534-6931

Tie-line 552-6931

mgendron@ca.ibm.com


Column order in Mobilink 16

$
0
0

Hello, all

Several of my clients reported a problem that mobilink does not send data correctly from their client DBs to the consolidated DB.

When I examined their DBs I noticed that the problematic table had different column order for some reason. This caused the Mobilink update incorrect fields.

 

My question - is there a way to tell the Mobilink to use column names instead of numbers? The update script is correct, however, it is useless, because it is updating according to the column ID, instead of the column name.

 

What can be done about it, short of destroying the table and recreating it?

Problem with SQL Anywhere 16 CLR EXTERNAL procedure with resultset

$
0
0

Hi, all

 

I have trouble with generating resultset from CLR -procedure.

1) I'm using sample from Generating resultset from CLR - SQLA Forum

2) SQL Anywhere 16 64-bit

3) .NET 4.0 (  ALTER EXTERNAL ENVIRONMENT CLR LOCATION ‘dbextclr16_v4.0' )

4) C# project - "build Platform Target - 64bit

 

When i calling select * from CLR_RESULT(), i get errors

 

   at iAnywhere.SAClrClassLoader.GetTypeFromString(String str)

  at iAnywhere.SAClrClassLoader.ParseArgTypes(String argString, String returnString, SADbType[]& argTypes, Boolean& hasReturn, Boolean& hasResults)

  at iAnywhere.SAClrClassLoader.Execute(String methodSig)

Invalid type in parameter list:

 

 

What am I doing wrong?

SQL Anywhere 16 HTML Help

$
0
0

Hello,

 

when opened for the first time in the day the HTML Help for SQL Anywhere 16 takes a very long time to load. It looks very much like its 'phoning home' to check out what's in DocX.

 

How can I stop this behaviour?

 

Thanks, Paul

SQL Anywhere DB migration from 12 to 16

$
0
0

Hi All,

 

We have a Sql Anywhere Version 12 database which we are trying to migrate to Version 16.

 

As the first step, I am trying to create the Unload.SQL file.

 

I provided the user name, pass word, file location as the connection parameters. And left Encryption Key as empty as I do not know it.

 

However the unloading operation is failing with the attached message.

 

The user name, password are correct. I could connect to the file using these.

 

Can you please help.

 

Regards

 

Kiran.

Additional Software for SAP SQL Anywhere, on-demand edition

$
0
0

A SAP SQL Anywhere, on-demand edition cloud is capable of running many different database server versions. A new server version must be added and installed in a cloud before a server at that version can be started. Instructions on adding and installing additional server versions is available in the official documentation. There is also a blog post that describes the steps in details, along with screenshots.

 

These software packages can only be used with an existing SAP SQL Anywhere, on-demand edition cloud.

 

Available Additional Server Versions

VersionBuildWindowsLinux
SAP SQL Anywhere 1212.0.1.4086DownloadDownload
12.0.1.4216Download
12.0.1.4224Download
12.0.1.4231Download
12.0.1.4266Download
12.0.1.4278Download
SAP SQL Anywhere 1616.0.1824DownloadDownload
16.0.2095Download
16.0.2111Download
16.0.2127Download

SQL AnyWhere 16 working with only one core after a few minutes/hours

$
0
0

Hi there,

 

I'm having an issue with Sybase SQL AnyWhere 16 with Windows Server 2012 Standard (x64) 8GB RAM, Xeon E3-1231, SSD Disc.

 

Since our application is running 64 bits, the DB is very fast at the beginning but after a few minutes or a few hours of usage (it dépends on Customer system...) the DB is becoming very slow.

 

What I can clearly see is that when it is slow the process "dbsrv16.exe" is only using one virtual core. If I restart the DB Service, it's workin fast for a few minutes again (working with all cores). And then again only with one core and very slow...

 

I tried to optimize with cache parameters. With 32 bits systems we only wrote "-c 45P" and it was ok, we never have had a performance issue.

 

With Cache parameters "-c 300m -ch 300m" it stays a little bit longer fast but it doesn't solve the problem.

 

If I put for example -c 1000m -ch 1000m it becomes slow after the first query (it works already with only one core).

 

I tried to use -gn -gnh parameters but nothing works fine.

 

Is it a bug of Sybase ? How can I fix that ?

 

The final result of this issue is that after a few time of usage, a query which takes normally 4-5 sec, needs 30 sec to be executed.

 

Thank you for your answer.

DBENG50.exe crash (sybase client db crash)

$
0
0

Hi All,

power builder 6.5 and 10.0 (both versions) application crashes in middle and gives the "dbeng50.exe" has stopped working with exception code "c0000005", after which we have to close the entire application and restart the application.   when i get the dbeng50.exe the client db also crashes.can you help in finding the issue.

 

Power builder 6.5 application crashed more often.

This issue started to come after migrating the application to a 64 bit operating system(window 2008 R2). This problem does not come in windows xp machine.

This was problem was not happening even in windows 7 32 bit operating system also

when i took a windows crash dump after the application crash, it was pointing to these below dll

wow64.dll wow64cpu.dll wow64win.dll.

i know these dll are used for running 32 bit application on 64 bit Operating system. Could anyone shed some light on this.

 

i have attached the screen shots of error.

thank in advance...


SQL Anywhere 5 DB to migrate to newer version.

$
0
0

Hi All,

 

I need to migrate sqlanywhere 5.0 database to sqlanywhere 9.0 . how can i do this.

Why does the SAP Store show "No Solutions" for SQL Anywhere?

Migrate from PB6.5 to PB12

$
0
0

Hi all,

 

I am planning to migrate my application build using PB6.5 to PB12 or latest.

 

  1. Should i be migrating to PB12 classic or .NET
  2. can i migrate directly from PB6.5 to PB12. or should i do intermediate migration  and if yes please suggest me the steps .
  3. i was not able to open PB6.5 files in PB10.
  4. i will be installing PB 12 in windows 2008 r2 machine.

 

i am pretty new to power builder.

 

thanks in advance for all replies and suggestion.

DOWNLOAD db to newer version

$
0
0

Hi all,

 

when i execute dbunload -c "uid=dba;pwd=sql;dbf=D:\quartz_sidco\DB\qz98.db"

 

i get below error.

 

Adaptive Server Anywhere Unload Utility Version 9.0.1.1873

***** SQL error: Unable to start specified database: Server must be upgraded to start database

 

 

i am trying to migrate a db created using sqlanwhere 5 or lesser version, to sqlanwhere 9 . it is not working . ialso tries with sqlanywhere 12. no luck

 

 

could anyone help me in migrating my database to sqlanywhere 12 version..

what is the Registration key of Sybase SQL Anywhere 11?

$
0
0

what is the Registration key of Sybase SQL Anywhere 11?

 

Please try to help, To get the Registration key of Sybase SQL Anywhere 11.

Viewing all 647 articles
Browse latest View live


Latest Images