Quantcast
Channel: SCN : Popular Discussions - SAP SQL Anywhere
Viewing all 1302 articles
Browse latest View live

Update Sybase SQL Anywhere

$
0
0

BH
Hi,

I'm trying to update Sybase SQL Anywhere, and I'm taken to a website which says "You have selected a download which requires a Technical Support Contact registered with MySybase. Please register your Technical Support Contact at: Edit Roles."  This seems new.  I always was able to download the updates before.  What should i do?

Thanks

Aron


Afaria Access Control / ISAPI Filter network communication

$
0
0

Hello together,

 

I need to know some more detailed network information for the mentioned function, since we have two providers and 3 different data centers - and inbetween firewalls.

 

The story:

 

We have a MS TMG Server as gateway (I don't know the version exactly) and MS Exchange 2010  - in two data centers.

In one of these we are also hosting two Afaria relay servers (which mustn't be used necessarily).

 

In another data center we are hosting Afaria servers and databases.

The Afaria testsystems are running SP4 HF11, Relayserver V16, the production systems SP4 HF7 Relayserver V12.

 

Since the Afaria Servers are in another data center the firewalls inbetween have to be configured very precisely and I can't find this information on the SAP and Sybase knowledgebases or in documentations.

 

So I need to know the exact ways of the communication: Source, Destination, Outbound or Inbound, Protocol and Port.

 

Also if HTTPS is the content and the Port is 3009 we might have to setup https-exceptions for the firewalls since a TMG server will block HTTPS-communication that uses other ports as 443 if not properly configured.

 

Btw.: The communication with the domain controller via LDAPS does work already, I'm only troubled with the ISAPI-Filter / Access Control netowrking information.

 

What I do know:

 

In the installation documentation I read so far that these components are involved:

 

ISAPI-Filter, that includes the filter that captures EAS traffic on the gateway and a reverse pipeserver.

 

Data Handler Services, that includes httpsclient and pipeserver, which will be installed on this gateway too.

 

Afaria filter listener on the Afaria application server.

 

What I think I do know:

 

ISAPI-Filter and Datahandler communicate with each other through the reverse pipeserver and the pipeserver component

 

The Datahandler talks to the Afaria filter listener (Afaria application server) via the httpsclient component.

 

It is planned to setup the above components on the same server, but the firewall might have to be configured anyways.

 

Afaria filter listener actually is the Access Control Server option on the Afaria application server.

 

What I don't know:

 

The Access Control Server is actually listening on Port 3010. Is the connection from the data handlers httpsclient outbound or inbound?

 

Is this the only connection that will be used for transferring the device list to the pipeserver or does the Afaria server initiate a connection as well?

 

The Access Control Server-option in the Afaria AdminUI is set to http, so there's also the question if the data handlers httpsclient will communicate with the Afaria filter listener in http or if it HAS to be https.

 

Do the data handler's httpsclient and (reverse) pipeserver component communicate via network?

I've seen pictures for a setup with domino where port 3012 is mentioned between these two components, now I'm kind of confused (since I don't expect the communication between these components to be very different depending on the Mailserver used).

 

The Afaria Server and database are communicating with each other, so there should be no problem. However, I've read in a Sybase KB entry that The Exchange Server does query the Afaria SQL database directly on port 1433, since it was for Afaria Version 5.5 I hope I can totally forget that. http://frontline.sybase.com/support/resolutionDetails.aspx?KBID=3908

 

Is there the necessity of using the relay servers in this process if they are actually in use for the mobile clients?

 

I have the slight feeling I forgot something anyway, so there might be a lot of more stuff I don't know and I'll be always happy to get to know more stuff.

 

Thanks for reading and best regards,

 

Benjamin

Please stop the CURRENTLY BEING MODERATED delay

$
0
0

After answering a question on the SAP forum for SQL Anywhere, my response was marked CURRENTLY BEING MODERATED.

 

This is not acceptable behavior for the SQL Anywhere developer community.

 

Please cease and desist, and accept all posts immediately.

 

Breck

 

http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/90000/8000/900/98954/98954.strip.sunday.gif

 

Sybase SQL anywhere database backup

$
0
0


Dear Expets,

 

I am using BI 4.1 sp1 BOBJ server under sybase SQL anywhere 12 database  and Operating system is Windows 2008 server.

 

I want to take offline and online backup of database , How to take from both command line and from admin console ( please guide me step by step procedure I am first time using SQL aynwhere database).

 

second My SQl server database consist 4 files

1.  BI4_Aduit.db          Size of this file is       1025 MB

2. BI4_Audit.log           Size of this file is       924 MB

3.  BI4_CMS.db          Size of this file is        47 MB

4. BI4_CMS.log          Size of this file is        3.4 GB

 

why BI4_CMS.log  size too much how to reduce the CMS log file size

 

 

Regards

SQL Anywhere Installation Keys

$
0
0

Hi,

 

are the SQL Anywhere installation keys generated at the SAP Support Portal now platform independent? Is it possible to use an OEM-Edition key generated for Windows on Linux or vice versa?

 

When I remember right the keys generated at SPDC have been platform dependent.

 

Thanks

Unload statement differences

$
0
0

I have two versions of the same database (separate servers one an older version) and the results of an unload are different only by the double quotes around to column names in column constraints,view definitions etc (see below ACCOUNT_ID) in the  I cannot find where this is coming from database settings,options server settings etc

 

One Version with quotes

CREATE TABLE "ACCOUNT" (

    "ACCOUNT_ID"                     integer NOT NULL DEFAULT autoincrement CONSTRAINT "CKC_ACCOUNT_ID" check("ACCOUNT_ID" >= 1)

   ,"ACCOUNT_NUMBER"                 varchar(20) NOT NULL

   ,"ACCOUNT_DESCRIPTION"            varchar(100) NOT NULL

   ,CONSTRAINT "PK_ACCOUNT" PRIMARY KEY ("ACCOUNT_ID" ASC)

)

 

Another version without quotes

CREATE TABLE "ACCOUNT" (

    "ACCOUNT_ID"                     integer NOT NULL DEFAULT autoincrement CONSTRAINT "CKC_ACCOUNT_ID" check(ACCOUNT_ID >= 1)

   ,"ACCOUNT_NUMBER"                 varchar(20) NOT NULL

   ,"ACCOUNT_DESCRIPTION"            varchar(100) NOT NULL

   ,CONSTRAINT "PK_ACCOUNT" PRIMARY KEY ("ACCOUNT_ID" ASC)

)

 

I have checked quoted_identifier documentation etc etc

 

Any suggestions greatly appreciated

 

Dieter

buffer table pool performance with return code 64 in ST05

$
0
0

Hey guys,I had been meeting an issue causing poor Performance in my SAP system.For a full buffered table,I did trace it with ST12 and ST05,I found it's perfectly buffered in AS(as blue background entries in ST05 tracelist),but there were entries with high 'duration' and return code '64'(I know that's mean no records found),instead,the return code '0' entries worked fine,the duration  was pretty low.I had learned from documents of IBM/SAP(we're running with DB2 on AIX) that if you are just checking the exists of some records of certain table(access frequently),you may buffer them in AS,for now it seems to be going into opposite direction,that does  make sense with long time 'duration'.Detailed information seen the attachments.

Update Sybase SQL Anywhere

$
0
0

BH
Hi,

I'm trying to update Sybase SQL Anywhere, and I'm taken to a website which says "You have selected a download which requires a Technical Support Contact registered with MySybase. Please register your Technical Support Contact at: Edit Roles."  This seems new.  I always was able to download the updates before.  What should i do?

Thanks

Aron


How to locate the origin of connection?

$
0
0

Hello, all

One of our clients recently started receiving errors of type "all threads are blocked"

When I go into Sybase Central to look at the connected users, I see dozens of strange connections. There is no user, no station IP, just the connection name "INT: Exchange".

Can anyone suggest how I find the origin of this connection?

Thank you,

Arcady

 

ac.jpg

[SQL Anywhere 12.0.1.4086] Assertion failed

$
0
0

Hello,

 

the following exception occured while trying to connect to database:

 

*** FEHLER *** Assertierung fehlgeschlagen: 200130 (12.0.1.4086)[MC500]

Invalid page found in index

 

If Sybase Central is used to connect to DB, the following additional information is given:

 

 

 

 

 

[Sybase][ODBC Driver][SQL Anywhere]Interner Datenbankfehler *** FEHLER *** Assertierung fehlgeschlagen: 200130 (12.0.1.4086)[MC500]

Invalid page found in index - Transaktion wurde zurückgesetzt

  SQLCODE=-301

  SQLSTATE=HY000

 

What does it mean and how can it be repaired?

 

Best regards,

Wolfgang

 

 

 

(By the way: entering Data with Internet Explorer was not possible on this site)

Deleting a log file when using mirror server.

$
0
0

BH
Hi, I'm trying to delete the database log file, because it is getting too big.  Before we were using the mirror server, i was able to just stop the database, delete the log file, restart the database, and it would automatically create a new log file.

 

Now (with mirror server) i've tried to stop the server (both on primary and secondary), delete the log files (on both primary and secondary), and restart the server. However, it would give an error and would not start.  So what is the correct way to delete log files?


Thanks

Aron

Need to connect to Sybase SQL Anywhere database 5.0 through asp.net

$
0
0

I am trying to connect to SQL anywhere 5.0  using below connection string 

 

 

sConnString =

 

 

 

" Driver=Sybase SQL Anywhere 5.0;Uid=dba;Pwd=sql;EngineName=Tenmax;DatabaseName=Tenmax;Start=c:\sqlany50\win32\dbclient.exe;DatabaseSwitches=-commandSwitch1 -commandSwitch2;DatabaseFile=E:\Applications\VinayNandaLIL\Tenmax.db;AutoStop=NO;"

 

 

 

 

It is giving below error

 

ERROR [08001] [Sybase][ODBC Driver]Unable to connect to database server: unable to start database engine

ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).

 

Please guide.

Return resultset from CLR

$
0
0

Hi.

 

I've created a C# DLL which is called in a CLR Function in a SA12 database.

The DLL successfully returns a decimal value from this call:

 

SELECT sfw_GetKostverdi(param1, param2 ....paramN);

No problem, and everything checks out great.

 

But now I need to return a DataSet, containing one or more columns, and one or more rows.

I've tried to return a DataSet from the DLL, but I get the following error:

 

Table 'ExtEnvResultSet29' not found

SQLCODE=-141, ODBC 3 State="42S02"

 

I found an example using IDataReader, but it will not work.

 

Have anyone got at working example regarding this?

Or can shed any light over the issue?

 

Regards,

 

Bjarne Anker

Maritech Systems AS

Norway

Please stop the CURRENTLY BEING MODERATED delay

$
0
0

After answering a question on the SAP forum for SQL Anywhere, my response was marked CURRENTLY BEING MODERATED.

 

This is not acceptable behavior for the SQL Anywhere developer community.

 

Please cease and desist, and accept all posts immediately.

 

Breck

 

http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/90000/8000/900/98954/98954.strip.sunday.gif

 

Running multiple versions of Sybase SQL 12

$
0
0

Hi all,

we are currently using SQL Anywhere V12.0.1.3537 and a customer is also running a Semantec AV product that is also using a V12.?.?.???? of SQL Anywhere.

 

Are there any issues with the Server running both versions at the same time?

 

Cheers

 

David


SQL Anywhere 12 and Windows 9

$
0
0

Hi all,

with Windows 9 in the pipe-line and being released to developers soon (due end of Sept) will SQL Anywhere 12.0.1 be supported on Windows 9?

 

I called the help line and they didn't have any documentation on Win9 yet.

I also submitted a "Contact Us" request almost 2 weeks ago but have not had a response yet.

 

 

Thanks

 

David

Need to connect to Sybase SQL Anywhere database 5.0 through asp.net

$
0
0

I am trying to connect to SQL anywhere 5.0  using below connection string 

 

 

sConnString =

 

 

 

" Driver=Sybase SQL Anywhere 5.0;Uid=dba;Pwd=sql;EngineName=Tenmax;DatabaseName=Tenmax;Start=c:\sqlany50\win32\dbclient.exe;DatabaseSwitches=-commandSwitch1 -commandSwitch2;DatabaseFile=E:\Applications\VinayNandaLIL\Tenmax.db;AutoStop=NO;"

 

 

 

 

It is giving below error

 

ERROR [08001] [Sybase][ODBC Driver]Unable to connect to database server: unable to start database engine

ERROR [01000] [Microsoft][ODBC Driver Manager] The driver doesn't support the version of ODBC behavior that the application requested (see SQLSetEnvAttr).

 

Please guide.

Constraint Defination

$
0
0

How can I resolve the action rule associated with foreign key constraint?

 

I can find the constraint in SYSCONSTRAINT, am not sure where to go to determine the ON UPDATE/ON DELETE action

SQL Anywhere 16 custom post_login_procedure message text/action is blocked

$
0
0

My company is in the process of taking stronger security steps with a SQL Anywhere 16 database on Windows 7 and 2008 using SQL Anywhere v16.0.0.2003. Part of the lockdown revolves around displaying information at login during interactive sessions. The idea is to display a message as a popup when the user successfully logs in using DBISQL.

 

We found information about the post_login_procedure in the documentation and that seemed a promising choice for doing the job. So we took the example SQL from the documentation, changed the conditions, and found that our message was indeed displayed during login using dbisql. Unfortunately, there's a problem with how this mechanism works and I am hoping someone can help us figure out what we're overlooking (or maybe it's a bug).

 

If I launch dbisql by double-clicking it and set my connection parameters manually, then everything is okay. If I launch dbisql giving it a connection string either from the command line or a shortcut, then things don't work so well. The message text is covered by the "Connecting to database..." dialog. Having the text covered would be simply annoying if the story ended here. The dialog has the input focus and cannot be bypassed. We can move the dialog and see the message text, but the dialog displaying our message text with the OK button can't be accessed. You can't click OK. You can't click the close button on the dialog frame. The only option is to kill the process which defeats the purpose since you're trying to get logged in.

I'm certainly open to any ideas on how this problem might be mitigated (or another mechanism that can be used instead).

 

Thanks in advance.

Unload statement differences

$
0
0

I have two versions of the same database (separate servers one an older version) and the results of an unload are different only by the double quotes around to column names in column constraints,view definitions etc (see below ACCOUNT_ID) in the  I cannot find where this is coming from database settings,options server settings etc

 

One Version with quotes

CREATE TABLE "ACCOUNT" (

    "ACCOUNT_ID"                     integer NOT NULL DEFAULT autoincrement CONSTRAINT "CKC_ACCOUNT_ID" check("ACCOUNT_ID" >= 1)

   ,"ACCOUNT_NUMBER"                 varchar(20) NOT NULL

   ,"ACCOUNT_DESCRIPTION"            varchar(100) NOT NULL

   ,CONSTRAINT "PK_ACCOUNT" PRIMARY KEY ("ACCOUNT_ID" ASC)

)

 

Another version without quotes

CREATE TABLE "ACCOUNT" (

    "ACCOUNT_ID"                     integer NOT NULL DEFAULT autoincrement CONSTRAINT "CKC_ACCOUNT_ID" check(ACCOUNT_ID >= 1)

   ,"ACCOUNT_NUMBER"                 varchar(20) NOT NULL

   ,"ACCOUNT_DESCRIPTION"            varchar(100) NOT NULL

   ,CONSTRAINT "PK_ACCOUNT" PRIMARY KEY ("ACCOUNT_ID" ASC)

)

 

I have checked quoted_identifier documentation etc etc

 

Any suggestions greatly appreciated

 

Dieter

Viewing all 1302 articles
Browse latest View live


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