Trouble with SQL Anywhere 16

We are having an issue with SQL Anywhere 16 and were wondering if there is a patch/fix or something that we need to look elsewhere. Our tester is being kicked out of out Sybase application whenever doing certain types of queries and as a result the database is being shutdown. We then have to go back into Sybase 16 and restart the database. We do not recall having this problem with SQL Anywhere 11.5. We have just recently upgraded to SQL Anywhere 16.

Hi Lawrence,
I think there's some confusion from both groups on this question. There was never a SQL Anywhere 11.5 version - we had SQL Anywhere 11.0.0, and SQL Anywhere 11.0.1. There was an ASE 11.5 and ASE 16.0 release though, so it is confusing to know which product you are inquiring about based on the version.
Please provide some further details about which product you are using, the method in which you're using to start your database, and the connection strings that you're using. Hopefully with some more specific database configuration information, we can help you figure out which database product you're looking for additional help on and provide some suggestions.
Thanks,
Jeff Albion
SAP Active Global Support

Similar Messages

  • Trouble with SQL Expressions

    Hello everyone,
    I'm having trouble with this SQL expression that works in 8.5, and XI R2 runtime and designer, but I cannot edit the expression.  As soon as I open the SQL Expression and click the X-2 check button, the error following
    SQL Expression I'm trying to run:
    (Select Distinct b1.CandEmploymentType
        from ceistaffing a1
        inner join ceisubmittal b1 on a1.submittalid = b1.ceisubmittalid
    Where a1.Staffingchainid = CEIHRPROJECTEDACTUAL."STAFFINGCHAINID"
        and b1.createdate in (Select max(b2.createdate) from ceistaffing a2 inner join ceisubmittal b2 on a2.submittalid = b2.ceisubmittalid where a2.staffingchainid = a1.staffingchainid))
    The Errror I Receive After Clicking the X-2 button:
    Crystal Reports
    Error in compiling SQL Expression :
    Failed to retrieve data from the database.
    Details: ADO Error Code: 0x
    Source: SalesLogix OLE DB Provider
    Description: The multi-part identifier "CEIHRPROJECTEDACTUAL.STAFFINGCHAINID" could not be bound.
    Native Error:  [Database Vendor Code: 181797304 ].
    OK  
    This is the SQL statement passed to the database:
    SELECT (Select Distinct b1.CandEmploymentType
    from ceistaffing a1
    inner join ceisubmittal b1 on a1.submittalid = b1.ceisubmittalid
    Where a1.Staffingchainid = CEIHRPROJECTEDACTUAL."STAFFINGCHAINID"
    and b1.createdate in (Select max(b2.createdate) from ceistaffing a2 inner join ceisubmittal b2 on a2.submittalid = b2.ceisubmittalid where a2.staffingchainid = a1.staffingchainid))
    If I reverse the order of the where clause as follows, I do not get the error
    (Select Distinct b1.CandEmploymentType
    from ceistaffing a1
    inner join ceisubmittal b1 on a1.submittalid = b1.ceisubmittalid
    Where CEIHRPROJECTEDACTUAL."STAFFINGCHAINID" = a1.Staffingchainid
    and b1.createdate in (Select max(b2.createdate) from ceistaffing a2 inner join ceisubmittal b2 on a2.submittalid = b2.ceisubmittalid where a2.staffingchainid = a1.staffingchainid))
    This is the working SQL statement passed to the database.
    SELECT (Select Distinct b1.CandEmploymentType
    from ceistaffing a1
    inner join ceisubmittal b1 on a1.submittalid = b1.ceisubmittalid
    Where CEIHRPROJECTEDACTUAL."STAFFINGCHAINID" = a1.Staffingchainid
    and b1.createdate in (Select max(b2.createdate) from ceistaffing a2 inner join ceisubmittal b2 on a2.submittalid = b2.ceisubmittalid where a2.staffingchainid = a1.staffingchainid))
    FROM   "sysdba"."CEIHRPROJECTEDACTUAL" "CEIHRPROJECTEDACTUAL"
    I figured I would just reverse the where clause statements, but then I came to this one that I couldn't get to work:
    (Select case when tmp.restartcount = 0 then 'F' else 'T' end from
    (Select Count(b.restart) as restartcount from ceistaffing a inner join ceihrprojectedactual b on a.staffingchainid = b.staffingchainid
    where a.candcontactid = (Select distinct candcontactid from ceistaffing a2 where a2.staffingchainid = CEIHRPROJECTEDACTUAL."STAFFINGCHAINID")
    and b.restart = 'T'
    and a.createdate = (Select min(a1.createdate) from ceistaffing a1
                   where a1.createdate > (Select max(a3.createdate)
                                  from ceistaffing a3
                                  where a3.staffingchainid = CEIHRPROJECTEDACTUAL."STAFFINGCHAINID")
                   and a1.candcontactid = a.candcontactid)) as tmp )
    I've burned an entire day trying to find some solution.  Are there any patches out there that will fix this?
    I'm running Crystal Report XI Release 2 SP2 - Version 11.5.8.826
    Thank you, ...Rob

    Okay, to simplify the illustration of the problem Iu2019m facing, Iu2019ve created a bare bones example as described below:
    I've created a report that returns all contacts from our "CONTACT" table.  On the report, I've created a SQL expression to return a count of all contacts with the similar last name, as shown below:
    (Select count(a1.ContactID) from CONTACT a1 where a1.LASTNAME = "CONTACT"."LASTNAME")
    When I try to save the SQL expression,  I get this error:
    Crystal Reports
    Error in compiling SQL Expression :
    Failed to retrieve data from the database.
    Details: ADO Error Code: 0x
    Source: SalesLogix OLE DB Provider
    Description: The multi-part identifier "CONTACT.LASTNAME" could not be bound.
    Native Error:  [Database Vendor Code: 205193720 ].
    OK  
    This SQL expression works fine in CRW 8.5, but no luck in XI R2 SP4 - As mentioned above in the thread, this seems to be an issue solely with how XI R2 is parsing the SQL Expression.  If I remove the "A1" alias from my expression all is good, but that will not work for some of the more advanced SQL expressions I have that are using joins and sub queries.
    What will it take to get this recognized as an issue worthy of a hot fix?  I'm at a stand-still here, facing the unfortunate possibility of having to re-architect many of my reports.  Please help.
    Thank you, ...Rob
    Edited by: Rob Bartram on Aug 6, 2008 3:45 PM

  • Trouble with SQL datetime format

    I have written a VI to import a CSV file into a SQL data table but I
    cannot get it to work when using a table with "datetime" data
    format.  It will import into a new table with undefined data
    formats as "varchar" format but no luck when going into a table with the "datetime" data
    format.   I need the datetime format for date/time queries later.
    I have attached a zip file of my VI and the CSV file.  Is there a problem with my CSV format or I am I doing
    something else wrong here?
    Please help.
    Thanks,
    Greg
    Attachments:
    SQL issue.zip ‏54 KB

    Greg
    I have just tried to insert your data into a SQL Server (MSDE) database.
    I found that the INSERT data didn't work. The TRUE for Create Table didn't seem to do any thing. So I created a table using labview like this
    And this is its design.
    I then run the vi again and it starts to work with no issues. So it looks like the Create Table?=TRUE for the INSERT doesn't seem to work on SQL Server. It looks like you need to create the table first.
    Here is your data in the database
    Let me know what you think
    David
    Message Edited by David Crawford on 04-28-2006 11:17 AM
    Attachments:
    Your Data.jpg ‏32 KB
    Create Table.jpg ‏20 KB
    Table Design.jpg ‏15 KB

  • Trouble with SQL loader

    Hello there,
    I am trying to load some data to a temp table for normalization but I am getting errors and nothing loads.
    My table is as below
    CREATE TABLE CA(
    OLD_SYSTEM_ID   VARCHAR2(25),
    OLD_DESCRIPTION VARCHAR2(35),
    ORDER_DATE      DATE,
    SHIP_DATE       DATE,
    QUANTITY        NUMBER);My Control file is like this
    LOAD DATA
    INFILE Ca.fwf
    BADFILE Ca.bad
    INTO TABLE CA
    old_system_id    POSITION (1:19) VARCHAR2,
    old_description  POSITION (20:27) VARCHAR2,
    order_date       POSITION (28:35) DATE,
    ship_date        POSITION (36:43) DATE,
    quantity         POSITION (44:47)
    )And my data is like this:
    CA-91003-KTS:2452-10000218619930205199303021
    CA-91003-KTS:2452-2000009171993020519930302100
    CA-91003-KTS:2452-3000009261993020519930302500
    CA-91003-KTS:2452-40000094619930205199303025
    CA-91003-KTS:2477-10000218619930319199304141
    CA-91003-KTS:2477-2000009171993031919930414100
    CA-91003-KTS:2477-3000009261993031919930414500
    CA-91003-KTS:2477-40000094619930319199304145
    CA-91003-KTS:2497-10000218619930519199306141I get this error:
    SQL*Loader: Release 9.2.0.1.0 - Production on Tue Oct 3 10:16:00 2006
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    SQL*Loader-350: Syntax error at line 6.
    Expecting valid column specification, "," or ")", found "VARCHAR2".
    old_system_id    POSITION (1:19) VARCHAR2,Any ideas why? this is happening on 8 different loads although they are all similar, is it to do with VARCHAR2 and commas?
    Regards
    Mike

    What happens when you try to load without any date mask? Does it get rejected? May be you should request your upstream system to send the date values in similar format?.
    If there are going to be only two formats i.e.,DD-MON-YY and DD/MM/YY then you can use decode function. something like below
      "decode(instr(:order_date,'-'),0,to_date(:order_date,'DD/MM/YY'),to_date(:order_date,'DD-MON-YY'))"Post the code which you tried. I dont have acces to database at home so the above code snippet is not tested.

  • Trouble with sql

    hi there
    i have connected my java application to a ms acess
    database succsssfully but when i include sql commands
    in the application it brings errors during compilation
    it points to the commands
    i imported java.sql;
    but it seams the compiler still does not recorgnise the
    commands.
    what could be the problem, please help.

    but when i include sql commands
    in the application it brings errors during
    compilation
    it points to the commandsIf you mean with "include sql command" putting a SQL command directly into the code, this doesn't work (at least not without a special pre-compiler)
    Post your code and maybe we can help you.
    Thomas

  • Trouble with SQL Statements

    Hello all that can help,
    i am programming in Ready to Program to connect to a VideoShop database using SQL statements.
    I am having trouble when using single and double inverted commas. eg vs.updateRentTable ("DELETE FROM RentTable WHERE CustId=);
    but instead of specifiying the CustId i want to make it a variable id so that i can delete any name i want according to their ID.
    also i am wondering if it is possible to write data from a database into a text file? is it possible to use Printwriter?
    Looking forward to your help,
    Manuking16

    Hi Manuking_16,
    Your question should be posted on a sql forum, not on a JDBC forum. Anyway. Just looking for answers, right?
    1) If your datatype is INT, you do not use either quotes " or single quotes in your SQL statement
    DELETE FROM RentTable WHERE CustId= 12345.
    To build the SQL String in JAVA just write:
    {code}String sqlStatement = "DELETE FROM RentTable WHERE CustId = " + custID; // custID will be casted to String.{code}
    2) Use preparedStatement
    {code}PreparedStatement pStm = conn.prepareStatement(�DELETE FROM RentTable WHERE CustId = ?");
    pStm.setInt(1, customerID);
    int numberOfDeletedLines = pStm.execute();3) If you want to enter the real name to do the deletion
    DELETE FROM RentTable WHERE CustId IN (select custID FROM Customer WHERE name = "joe bob johnson")
        To build the SQL String in JAVA just write: String sqlStatement = "DELETE FROM RentTable WHERE CustId IN (select custID FROM Customer WHERE name = '" + sCustomerName + "' )"; // just copy & pasteHope I got your question right.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Trouble with SQL in JSTL

    I'm trying to learn to use the JSTL, but it isn't going so well. Using scriptlets, I wrote this JSP that works just fine:
    <HTML>
         <HEAD>
              <TITLE> <%= request.getParameter("txtTitle") %> </TITLE>
              <%@ page import="java.sql.*, java.util.*" %>
              <%
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   Connection conn = DriverManager.getConnection("jdbc:odbc:RDM_CURRENT_11", "name", "pword");
                   Statement getResults = conn.createStatement();
                   ResultSet rs = getResults.executeQuery(request.getParameter("txtQuery"));
                   ResultSetMetaData rsmd = rs.getMetaData();
              %>
         </HEAD>
         <BODY>
              <H1><%= request.getParameter("txtTitle") %></H1>
              <TABLE BORDER="1">
                   <%
                        int count = 0;
                        while (rs.next())
                   %>
                             <TR>
                                  <%
                                       for (int i = 1; i <= rsmd.getColumnCount(); i++)
                                  %>
                                            <TD>
                                                 <%= rs.getString(i) %>
                                            </TD>
                                  <%
                                       count++;
                                  %>
                             </TR>
                   <%     } %>
                   </TABLE>
                   <P> Records returned: <%= count %> </P>
         </BODY>
    </HTML>I tried to translate most of this into JSTL as follows:
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>
    <%@ taglib prefix="sql" uri="http://java.sun.com/jstl/sql" %>
    <HTML>
         <HEAD>
              <TITLE> <c:out value="${param.txtTitle}"/> </TITLE>
         </HEAD>
         <BODY>
              <sql:setDataSource url="jdbc:odbc:RDM_CURRENT_11" driver="sun.jdbc.odbc.JdbcOdbcDriver" user="name" password="pword" var="RDM"/>
              <sql:query var="dataSet" dataSource="RDM">
                   <c:out value="${param.txtQuery}"/>
              </sql:query>
              <H1><c:out value="${param.txtTitle}"/></H1>
              <TABLE BORDER="1">
                   <c:forEach var="row" items="${dataSet.rows}">
                        <TR>
                             <c:forEach var="col" items="${row}">
                                  <TD>
                                       <c:out value="${col.value}"/>
                                  </TD>
                             </c:forEach>
                        </TR>
                   </c:forEach>
              </TABLE>
         </BODY>
    </HTML>Now, I get a nasty error message from Tomcat saying:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:845)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:778)
         org.apache.jsp.queryDisplay2_jsp._jspService(org.apache.jsp.queryDisplay2_jsp:97)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.jsp.JspException: Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
         org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.getConnection(QueryTagSupport.java:276)
         org.apache.taglibs.standard.tag.common.sql.QueryTagSupport.doStartTag(QueryTagSupport.java:159)
         org.apache.taglibs.standard.tag.el.sql.QueryTag.doStartTag(QueryTag.java:85)
         org.apache.jsp.queryDisplay2_jsp._jspx_meth_sql_query_0(org.apache.jsp.queryDisplay2_jsp:152)
         org.apache.jsp.queryDisplay2_jsp._jspService(org.apache.jsp.queryDisplay2_jsp:77)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.4 logs.
    Apache Tomcat/5.5.4I know my OBDC data source must be set up correctly because the scriptlet version works, but the JSTL version doesn't. I'm sure this is some easy problem that I am missing because I don't know JSTL well at all. Any help is appreciated.

    If you don't provide a "var" attribute to export to, JSTL keeps track of it for you in the standard pageContext attribute "javax.servlet.jsp.jstl.sql.dataSource"
    The query tag obviously found the datasource there.
    Just spotted what I think might be your original problem:
    You need ${  } signs around the datasource variable in the query tag.
    ie
    <sql:setDataSource url="jdbc:odbc:RDM_CURRENT_11" driver="sun.jdbc.odbc.JdbcOdbcDriver" user="name" password="pword" var="RDM"/>
    <sql:query var="dataSet" dataSource="${RDM}">Cheers,
    evnafets

  • Trouble with SQL Query Tool on Leopard

    I have been following the lessons in Ben Forta's book Adobe
    ColdFusion 8 Getting Started, and have installed the SQL query tool
    in my Mac and have installed the sql folder in
    http://localhost:8501/db/ows/sql/index.cfm
    When I try to open the file in the browser, I get a 404 error: File
    not found: /db/ows/sql/index.cfm
    Have tried rebooting the computer and get the same result.
    What's going on?
    TIA

    I have copied the full code for the error message below.
    Paul D
    404
    File not found: /db/ows/sql/index.cfm
    coldfusion.runtime.TemplateNotFoundException: File not found:
    /db/ows/sql/index.cfm
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:89)
    at
    coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:175)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
    at
    coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42 )
    at
    coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
    at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
    at jrun.servlet.FilterChain.service(FilterChain.java:101)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
    at
    jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • Trouble with sql dates getting Monday of this week

    Hi
    How do I get the Monday of this week. I am using:
    <code>next_day(trunc(sysdate,'DAY'),'Monday')</code>
    but get the coming Monday. Initially this code was working before apex was upgraded from 3.0 to 3.1.
    Why would this stop working.
    But if I was to use
    <code>next_day(trunc(sysdate,'DAY'-7),'Monday')</code>
    thanks
    Tony

    Hi Scott
    thats what I thought but I was not getting the present week's Monday. I am trying to get the Sunday and Monday of the present week so have had to put a
    -7 next to the sysdate.
    The Application I have been using was running in but when there was an upgrade to apex 3.1 then the returned dates have not been correct.
    thanks
    Tony

  • Sybase  with ase and sql anywhere 16 using ssma

    ok this may sound like a very dumb question but how does one connect to sybase central (sql 16 anywhere) using ssma.
    In my ase connections when i do test connection it returns successful however when i click on ssma > connect to sybase  it returns
    ERROR [08001] [SAP][ASE ODBC Driver]Client unable to establish a connection
    i have my network server running on sybase using sql anywhere 16 network server.
    I also had my firewalls off
    any help would be appreciated.

    Hi Jeff ,
    Thank you so much for the reply.
    I have used 32 bit PHP.
    But now we have resolved above mentioned issue. Now we can connect PHP with SQL Anywhere successfully.
    Regards,
    Vishal Chikhalikar
    PHP Programmer

  • SQL Anywhere Licenses v9 with v16 and v16 with v9

    Have a customer running Sybase SQL Anywhere v9.
    They currently have nine networked client licenses.
    They need an additional seven.
    The current SAP license offering is v16 networked client licenses.
    Will v16 networked client licenses work with v9 SQL Anywhere?
    Additionally,
    The customer will eventually upgrade to SQL Anywhere v16.
    Will their current v9 networked client licenses work with SQL Anywhere v16?
    Thanks.

    Hi George,
    I believe that the client needs to buy or upgrade (if this is possible) the available licenses to the last version to be legal... If your question is about using asa 9 client to connect in a v. 16 server, then the answer is,  it should work, but only functionality from asa 9 will be available in the client side. Actually, in the past we had an issue, where a 3rd party application was not able to communicate with an sql anywhere server v.11 using v.11 client. But it was working fine to connect using obbc client from asa 8! We do have a cpu license which has no limit on the clients... So we used asa 8 to connect through the 3rd party app, and 11 client to connect through our application.
    And the remaining question is if it's legal or not... and I'm not the appropriate person to give an answer...
    Andreas.

  • PHP odbc_connect on a running SQL Anywhere 16 server

    Hello,
    please help with the following php odbc_connect problem:
    On my local machine (win 7, 64 bits) is a running SQL Anywhere 16 database. Started with
    dbeng16.exe -c 8m -n xx_test "G:\DEMOS\xx\DB16\test.db"
    In the ODBC manager then created a ODBC connection (xxdsn).
    But the connection from PHP 5.3.8 fails:
    $verbindung = odbc_connect('xxdsn', 'dba', 'sql');
    It shows
    Warning: odbc_connect() [function.odbc-connect]: SQL error: [Sybase][ODBC Driver][SQL Anywhere]Datenbankserver nicht gefunden, SQL state 08001 in SQLConnect in verbindung.php on line 4
    The database is definitively runnig. Tested by opening an odbc connection from isql.
    When I create an odbc connection on a database file, I can make an php odbc_connect.
    This problem is only on the Win 7 machine and also with SQL Anywhere 12.
    When I try the same on a (32 bits) XP machine it runs fine.
    Please help, to find my mistake.
    Thanks in advance!
    Best regards,
    Peter

    Hi Mirco,
    thank you for your time. Here both log files.
    From XP:
    Donnerstag, 19. Februar 2015 15:03:4
    15:03:42 Verbindungsversuch mit:
    UID=dba;PWD=********;DBN=xxx_16;ServerName=xxx;CON=SQL_DBC_4224f48;LOG=C:\temp\sybase.log
    15:03:42 Verbindungsversuch mit einem laufenden Server...
    15:03:42 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
    15:03:42 Verbunden mit Server über SharedMemory
    15:03:42 Verbunden mit SQL Anywhere Server Version 16.0.0.1324
    15:03:42 Hinweise zur Anwendung:
    15:03:42 IP=192.168.178.24;HOST=COMPAREX;OSUSER=SYSTEM;OS='Windows XP Build 2600 Service Pack 3';EXE=E:\apps\OSGeo\mgos251\Web\Apache2\bin\httpd.exe;PID=0x250;THREAD=0x2d4;VERSION=16.0.0.1324;API=ODBC;TIMEZONEADJUSTMENT=60
    15:03:42 Verbunden mit dem Server, Verbindung mit einer laufenden Datenbank wird versucht...
    15:03:42 [    2] Verbindung mit der Datenbank erfolgreich eingerichtet
    15:03:43 [    2] Verbindung zum Server getrennt
    From Win 7 (PHP connection):
    Donnerstag, 19. Februar 2015 14:48:23
    14:48:23 Verbindungsversuch mit:
    UID=dba;PWD=********;DBN=xxx_16;ServerName=xxx;CON=SQL_DBC_293610;LOG=c:\temp\sybase.log
    14:48:23 Verbindungsversuch mit einem laufenden Server...
    14:48:23 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
    14:48:23 Kein benannter Puffer des gemeinsam genutzten Speichers gefunden
    14:48:23 Es wird nicht versucht, einen Server automatisch zu starten
    14:48:23 Verbindung mit dem Server nicht möglich
    But trying to start ianywhere on Win 7 machine with
    dbisql -c "DSN=xxxdsn;LOG=c:\logs\test.txt"
    shows this log:
    Donnerstag, 19. Februar 2015 15:49:27
    15:49:27 Verbindungsversuch mit:
    UID=dba;PWD=********;ServerName=xxx;CON=SQL_DBC_5d09b6f0;INT=NO;LOG=c:\temp\sybase.log
    15:49:27 Verbindungsversuch mit einem laufenden Server...
    15:49:27 Start der SharedMemory-Verbindung wird versucht ...
    15:49:27     SharedMemory-Verbindung erfolgreich gestartet
    15:49:27 SharedMemory-Verbindung wird versucht (keine im Cache sasrv.ini gespeicherte Adresse)
    15:49:27 Verbunden mit Server über SharedMemory
    15:49:27 Verbunden mit SQL Anywhere Server Version 16.0.0.1948
    15:49:27 Hinweise zur Anwendung:
    15:49:27 IP=192.168.178.37;HOST=peterhp;OSUSER=peter;OS='Windows 7 Build 7601 Service Pack 1';EXE=C:\apps\asa16_64bit\bin64\dbisql.exe;PID=0x2410;THREAD=0x24c4;VERSION=16.0.0.1948;API=iAnywhereJDBC;TIMEZONEADJUSTMENT=60
    15:49:27 Verbunden mit dem Server, Verbindung mit einer laufenden Datenbank wird versucht...
    15:49:27 [    2] Verbindung mit der Datenbank erfolgreich eingerichtet
    15:49:27 [    2] Anzahl der abgerufenen Zeilen reduziert auf 16 entsprechend der
    15:49:27 [    2] Abrufpufferbegrenzung. Verbindungsparameter 'PrefetchBuffer' kann Performance verbessern.
    When I try to use the HOST parameter, the connection fails. However both machines running local.
    Thank you too,
    Peter

  • SQL Anywhere 11 on Ubuntu / PHP

    Hi there,
    I have been trying (with no success) to connnect our PHP app to Sybase database.
    Our actual scenario is:
    Windows2003/ ODBC {SQL Anywhere 11 Driver} / PHP ------> Windows2008 / Sybase
    We are to migrate our PHP:
    Linux Ubuntu Server / UnixOBC {SQL Anywhere 11 ODBC Driver} / PHP -------> Windows2008 / Sybase
    In the migration process I configured FreeTDS trying somethink like:
    /etc/fretds/freetds.conf
    [global]
        tds version = 4.2
        dump file = /tmp/freetds.log
    ;    debug flags = 0xffff
    ;    timeout = 10
    ;    connect timeout = 10
        text size = 64512
    [sybase]
        host = 172.19.2.252
        port = 2640
    ;    instance = ek_cadu_0103040607
        tds version = 5.0
        ASA database = ek_adm01_11
    php-script
    <?php
    error_reporting(E_ALL);
    ini_set('display_errors', '1');
    $cnn = sybase_connect('sybase', 'dba', '_._ENKONTROL_._');
    ?>
    This script shows the following errors:
    Warning: sybase_connect(): message: SQL Anywhere Error -83: Specified database not found (severity 16) in /var/www/testodbc.php on line 4
    Warning: sybase_connect(): General SQL Server error: Check messages from the SQL Server (severity 16) in /var/www/testodbc.php on line 4 Warning: sybase_connect(): Unable to connect to server: sybase in /var/www/testodbc.php on line 4
    Can anyone help?. Thank you in advance.
    Marinho.

    Hi Marinho,
    SQL Anywhere does not support FreeTDS. SQL Anywhere does support Open Client and jConnect connections over TDS.
    The sybase_* functions pre-built with PHP are for (Sybase) Adaptive Server Enterprise (ASE), not SQL Anywhere - they are separate products.
    Is there a particular reason you're not using the SQL Anywhere PHP module ( http://scn.sap.com/docs/DOC-40537 ), with the sasql_* functions that are intended for use with SQL Anywhere?
    Regards,
    Jeff Albion
    SAP Active Global Support

  • How to db connect from SAP to SYBASE SQL anywhere 16 remotely

    Hi All,
    May i know can i connect to SYBASE SQL Anywhere16 from SAP running on kernel 7.42 via dbacockpit (dbco)?
    I've followed note 1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ &  1532253 - SYB: Remote DB Monitoring for SAP Sybase ASE
    but failed.
    Where can i find the dbsl and its client for sybase sql anywhere? I only can find SAP ASE and SAP IQ on SMP. Is those compatible with SQL anywhere 16?
    Thanks.
    Nicholas

    Hi Jason,
    the error message is it complains minimun version for SAP IQ is 15.6, however our SQL anywhere is on version 16, above the support version as per note1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ
    fyi, i'm using the latest sybase dbsl and SAPIQ 16 client.
    Any idea or will it works to remotely connect SQL anywhere via dbacockpit?
    Thanks,
    Nicholas.

  • SQL Anywhere 16

    Hi all,
    I installed on my laptop the sybase central - sql anywhere 16 client; and I able to connect with dbisql to a remote SAP ASE database, so I think that my ODBC driver is correctly configured. The remote connection works fine.
    Now I'm tryng to connect with sql anywhere to the same database, but something goes wrong, i receive the following message:
    This database is not a SQL database. The SQL Anywhere plug-in only support SQL Anywhere databases.
    Do you know if exist the plugin for ASE database?
    Thank you!

    Hi Stefano,
    For your connection SQL Anywhere 16 client to connect to ASE Database.
    Please refer to link How to db connect from SAP to SYBASE SQL anywhere 16 remotely
    Refer to comment from Jason Hinsperger Nov 27, 2014 3:32 PM
    Kind Regards,
    Johan

Maybe you are looking for

  • Excise Values not are not coming in Export sales

    Hello , when i am doing Export Sales , the values i am able to see  but when i go to Utilization and click on Calculate TAX , the values are coming, Zero Vaules are There. But in Domestic its working fine Pls Help

  • Detecting a user abort in a Java Application

    Hi friends! I want to develop a Java Application that makes a back-up from a DataBase. If the application is aborted during the execution, It has to be concerned about the abort, for continuing the back-up in the point it was left, when the applicati

  • Multiple UUT Testing Over Temp - Which Thread or Process Should Control the Chamber?

    I am using TestStand 3.5 to write an automated system that can test up to 4 UUTs inside a temperature chamber.  If any of the UUT's fail, the user will have the option to abort the UUT test and either leave the test socket empty or add a new UUT in i

  • Recompile before existing Debug mode causes Raptor to hang

    I have been able to do this a few times on 10R2, with Raptor, on Windows 2000 & XP 1) I write a small procedure or package in Raptor. 2) Compile it for debugging. 3) Set a few breakpoints. 4) Run it in debug mode within Raptor. 5) Step through to one

  • "RAM preview needs 2 or more frames to render playback" AE CC

    This issue started out of nowhere for what I consider to be no reason. Working on average sized 720p compositions with modest animations. I have tried all suggested solutions on this forum yet nothing has worked. I am running fresh comps in AE CC wit