Corrupted database in SQL Anywhere 9

Hi.
Yesterday, one of our databases corrupted.
When I try start the service from Sybase central, the service never starts and does not show any error messages either.
The thing I did was to remove all databases from the service and started adding them one by one, that's how I pinpointed the issue to a single database file.
Could some direct me to a procedure to repair the database file?
Thanks!!!

Hi Juan,
Do you know what is happening on the server if you're just trying to start the one problematic database? It would be best if you could point this information to a diagnostic file and post it here so that we can make further suggestions:
    dbsrv9 -o console.txt baddatabase.db
If the database is undergoing automatic recovery, it would be best for you to wait for it to finish.
Going to your backup and recovery plan is the next best thing to do so you don't lose any data on your database. You should be able to apply the transaction log from the current database to bring the backup file up-to-date with the current changes.
Finally, you can try rebuilding the database to see if it's a structural problem. If the database is really corrupted, you may have to try to resort to salvaging data from what you can still access and create a new database from the remaining information (See SAP KBA 1959030 - How To Salvage Data When There are Corrupt Pages in the Database).
Regards,
Jeff Albion
SAP Active Global Support

Similar Messages

  • Afaria Database on SQL Anywhere 12 and Replication

    Hi,
    I have Afaria Farm and I Use SQL Anywhere 12 as database server.
    I want to replicate this database to another SQL Anywhere 12 Server.
    Which one is good way to replication
    And can I have some documentation that tells this step by step?
    I am not a DB admin.

    Hello Tevfik,
    I think we need to understand your requirements a little more: why are you interested in SQL Anywhere replication and what are your plans for it?
    If you're looking for an always-available SQL Anywhere database for Afaria, there is high-availability (database mirroring). This will allow you to maintain two database server partners (with a third arbiter), where the primary has read/write capabilities and the mirror partner is read-only. There is a tutorial here in the documentation.
    If you're looking for a reporting server to do read-only queries for reporting, there is read-only scale out (copy nodes). The tutorial can be found here.
    Are you trying to keep a backup copy of your database via replication? If so, you may want to consider live backups (see the wiki), or just regular backups (also see the wiki). Regular backups should still be used in conjunction with any of the high-availability scenarios described above.
    If you're really looking for data movement, particularly to multiple database nodes, there is synchronization to other enterprise databases (including SQL Anywhere, but this also includes HANA, ASE, IQ, etc.) with MobiLink and replication to other SQL Anywhere databases, via SQL Remote. MobiLink uses a session-based HTTP or TCP/IP connection as a transport, while SQL Remote can use offline FILE, FTP, SMTP, and online HTTP as a transport.
    You may read elsewhere that historically SQL Anywhere can also be used with SQL Remote for Adaptive Server Enterprise (ASE) or Replication Server for replication, but both of these methods have been deprecated and removed in current versions and are not supported by development.
    Regards,
    Jeff Albion
    SAP Active Global Support

  • ODBC Error when migrating from SQL Server 2008 to SQL Anywhere 12

    Hello community,
    i have the following requirement:
    I need to migrate a Database with some Demo data into a SQL Anywhere 12 Database. The SQL Anywhere 12 Database is part of the SAP BusinessObjects Enterprise XI 3.1 SP7 installation and came with the same as OEM Product.
    The Environment looks like the following:
    DB1 is a MS SQL Server 2008 R2 64 Bit running on Windows Server 2008 R2 64 Bit.
    DB2 is the SAP BusinessObjects Enterprise XI 3.1 SP7 installation with the shipped SQL Anywhere 12 (12.0.1.3873) Database running on SLES 11.3 64 Bit
    CL1 is my Windows 7 64 Bit Client where Sybase Central is installed in 64 Bit. On CL1 i have a 64 Bit System ODBC Connection connecting to DB1 successfully.
    Basically i followed the following (pretty straight forward) tutorial:
    Migrating a SQL Server Database to SQL Anywhere White Paper-Technical: Mobile Enterprise, Database Management iAnywhere …
    When i want to test the connection from inside Sybase Central (During the migration process) i receive the following error:
    From inside Sybase Central my connection looks as follows:
    And from the ODBC Manager the connection looks as follows:
    Personally i found is strange that the Sybase ODBC Driver Manager drops the error. I would expect that the MS SQL ODBC Driver Manager pops the error it its related to the ODBC DSN to DB1.
    Any ideas?
    Thanks and Regards
    -Seb.

    Hi Sebastian,
    The data from the SQL Server database must be migrated to an existing SQL Anywhere database.  Could you please tell me where this SQL Anywhere database resides and how are you connecting to it?
    The error message is saying that the connection to the SQL Anywhere remote database server is failing, as opposed to the connection to the SQL Server database.

  • SQL Anywhere 11 databases are getting corrupt

    Hi
    We are having problems with databases that are getting corrupted.
    We have a server that runs a SQL Anywhere 11 database. (the consolidated database)
    Beside that, we have about 15 remote databases that run on the laptops of our mobile workforces.
    To keep all databases in sync, we have setup a two-way server-to-laptop replication.
    For the replication process we use “SQL Remote”.
    Each laptop should replicate his data once in about 1 or 2 weeks.
    For exchanging the messages we use the message type “file”.
    This year we already experienced 6 times that a remote database got corrupt after replication. (after running dbremote.exe).
    The log file of the dbremote utility does NOT show any errors, the replication seems to be finished without any problems.
    But after this, it’s not possible anymore to connect to the database, because of the following assertion error:
    [Sybase][ODBC Driver][SQL Anywhere]Internal database error *** ERROR *** Assertion failed: 201501 (11.0.1.2376)
    Page 0x0:0x7182d1 for requested record not a table page -- transaction rolled back
    Error code=-301
    SQL state=HY000
    Can someone tell me more about this error?
    What goes wrong and why?
    Or does someone has some tips on how to prevent this or tips on how I can do some analyzing myself to see what exactly got broken in the database?
    Any help is appreciated.
    Thanks.

    Hi Krenton,
    Page 0x0:0x7182d1 for requested record not a table page -- transaction rolled back
    Error code=-301
    SQL state=HY000
    Can someone tell me more about this error?
    Specifically, the page at offset 0x7182d1 in database (So if you have a 4KB page size, this would be byte offset 7439057 x 4096 = 30470377472 into the database) in 0x0 (the main database running) has a page header that indicates that the data on the page is not table data. We don't know what it is, but the signature for table information connected to the table you're scanning is 'not as it should be'.
    What goes wrong and why?
    In the real world, lots of things can go wrong. I list some of the possible things on this question here on the SQL Anywhere forum. This list can include software bugs, but can also include instances where the media is not respecting write-through or write-ordering - see http://scn.sap.com/docs/DOC-34090 (SQL Anywhere I/O Requirements for Linux and Windows) for more details.
    There are also known instances where Intel drivers are not set with the correct write-through settings. The details of this are in the documentation: DocCommentXchange (Improving Robustness on Intel storage drivers).
    Technical Support should still provide assistance. If the problem is a newly-discovered bug in SQL Anywhere 11, their advice will be to apply a more recent EBF or upgrade to a new version. However, that is unlikely in this case.
    Breck is correct - it would probably be best to take a look at the database file in technical support for more clues as to what's happening here. With the current information, it's hard to say more than "something was not correct at the time the page was looked at by the database server."
    Regards,
    Jeff Albion
    SAP Active Global Support

  • Reading data from Sybase SQL Anywhere 7 database to write into a SQL Server database

    Hi,
    I need to import data from a Sybase SQL Anywhere vers. 7 database. This RDBMS was used more 10-12 years ago. I want to write Sybase data into a SQL Server 2008 R2-2012 database. For testing purposes I'm using SQL Server 2005.
    After that I've installed Sybase SQL Anywhere vers. 7 I can use the Adaptive Anywhere 7.0 ODBC. I'd like to use SSIS to import Sybase data, but I cannot create an OLE DB connection in a right manner while I can create and ODBC connection manager and so I
    can use an Execute SQL task (and not a data flow task, unfortunately!).
    Well, after using this Execute SQL task to read fe a table with thousands of data rows how can I write the entire data collection on a SQL Server table?
    Thanks

    Below link may be helpful,
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/184c937a-2b2c-4e59-b4d7-e8d3d1b476b3/net-provider-for-oledb-sybase-adaptive-server-anywhere-ole-db-provider-90-cant-be-located-when?forum=sqlintegrationservices
    http://supun-biz.blogspot.in/2010/11/extracting-data-from-sybase-sql.html
    Regards, RSingh

  • Support for Sybase SQL Anywhere databases

    Is there support for Sybase SQL Anywhere databases available?
    Specifically, using an ODBC connection.
    Sybase, curiously enough, does not want to develop specific drivers for connection to its databases; instead, it relies on an outside source (ODBC) for its connection.
    I am NOT in favour of using ODBC as an connection method; we have bench-marked SQL query performance using both native driver connection vs ODBC connection; you should be easily able to guess which approach won out!!
    Hint: Oracle dramatically!!

    You can try using JTDS, it should work with Sysbase too and if you take a look at the SQL Developer certifications, you can see it's the certified way of speaking with Sysbase.
    I've never used this myself and i'm not even sure if this works with SQL Anywhere but it's worth a try.

  • If I have corrupted bkup exec SQl Databases will they be removed if I uninstall SQL express 2005 from add remove programs?

    The only things running when I run SQL management are Windows internal Database and SQl browser.
    Both BKexec and mssql server are broken and won't start
    I can't seem to find a way to connect to or delete the databases
    I am using an outdated backup exec 11d so I cannot get support from Symantec
    I want to know if uninstalling sqlserver express through add remove programs will remove the corrupt databases
    This is in order to reinstall backup exec

    Hello,
    Based on your description, it seems that a backup tool (backup exec) is corrupt and and you want to reinstall this tool.
    Uninstall SQL Server will not remove database files. Are the database files (data file .mdf and log file .log) or backup file (.bak) still available in your disk? If the database files or backup file is not corrupted, you can attach or restore
    the database form these files after you reinstall SQL Server.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Default Database name of sybase SQL Anywhere in SAP BO

    Hello team
    What is the default database name of sybase SQL Anywhere in SAP BO.Thanks in advance.
    Regards
    Ankit Jain

    Hi Ankit,
    The Sybase SQL Anywhere is default CMS and Audit database in BI 4.1. It is called as Sybase SQL Anywhere. Please refer page number 23 from below document for more information.
    https://websmp105.sap-ag.de/~sapidb/011000358700000372212014E/sbo41sp4_sp_update_en.pdf
    Regards,
    Hrishikesh

  • SQL Anywhere Database Developer Certification

    Hello All,
    I am using sql anywhere since last 3 years and now, I am planning to go for SQL anywhere database developer certificate.
    Please suggest me any exam course which is suitable for the same.
    Thanks,

    Hi Anal,
    You can search for existing SAP certification exams in the link below
    SAP Certifications | Training & Education | SAP | SAP
    However, I have not found a SQL Anywhere certification course/exam.
    Mirco

  • Connecting Discoverer to SQL Anywhere database via ODBC

    I am trying to connect Discoverer to a SQL Anywhere Database using ODBC. I am using the following parameters:
    Username: ODBC:DSN name
    Password: I have tried every combination of username/password
    Connect: Blank
    The DBclient will launch, and I get an invalid username or password. Does anyone know the correct syntax and where I should be putting the username and password?
    Any assistance will be appreciated.

    Tom,
    The ODBC driver manual should provide the configuration steps required.
    The ODBC driver will use the username/password that was used when the database link was created to connect to SQL Anywhere.
    Vira

  • Issues connecting to a SQL Anywhere repo from the Designer

    I have installed DS4.2 SP2 on a number of Suse 11.1 Linux VMs using all of the standard settings, and making use of the bundled SQL Anywhere database as my repo.
    I am getting an error in the Designer when I try to connect to certain repositories in the Login screen, but the problem is not happening on all installations.
    The error is an ODBC message:
    ERROR: ODBC call <SQLDriverConnect> to connect database <DS_REPO> failed with error: <[Sybase][SQL Anywhere]Database server not found>. Use the ODBCDriverSelector (Windows) or DSConnectionManager,sh (UNIX) utility in LINK_DIR/bin to configure the correct version of the driver.....(BODI-1112172)
    I have checked both the ODBCDriverSelector on the machine running the Designer and DSConnectionManager on the server, and the drivers are all correct for SQL Anywhere 12. I can also successfully connect to the database from the Windows Repository Manager - the only problem is with the Designer.
    I have tried adding an ODBC entry in the System DSNs for the repo database, and again I can successfully test the connection - but this hasn't fixed my issue, and the Designer can connect (when it can connect) even if a DSN isn't defined.
    I'd appreciate any thoughts or advice.

    I have a solution - in the CMC, set the repo to use DNS. You need to first create an appropriate entry in the <install dir>/sap_bobj/enterprise_xi40/odbc.ini and then create an equivalent entry on your client ODBC settings.

  • SQL Server 2012 Deploy Database to SQL Azure...

    I have spent many days trying to copy a simple test database from my PC to SQL Azure but with little success.  Then I installed SQL Server 2012 and see a new task:
    Deploy Database to SQL Azure...  It looks like an automated extraction to DAC and then creating the Azure database all in one step.
    I was elated, but got hit with the following three types of errors.
    One or more unsupported elements were found in the schema used as part of a data package.
    Error SQL71564: The element Extended Property: [dbo].[Accounts].[Address].[MS_Description] is not supported when used as part of a data package (bacpac).
    Error SQL71564: Table Table: [dbo].[Activities] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
    Error SQL71564: Element User: [NT AUTHORITY\NETWORK SERVICE] has an unsupported property AuthenticationType set and is not supported when used as part of a data package.
     (Microsoft.SqlServer.Dac)
    May I know what I can do on the on-premise database to rid of the first and third error?
    Thanks.

    Hello,
    1) Remove the Extended Property from the (?) column Address in table Accounts.
    BTW, for small databases it's sometimes easiere to generate a script for the database (and modify it slightly) instead of using the Wizard
    Olaf Helper
    Blog
    Xing
    What is Extended Property?   What is this .MS_Description?   I can't see it in the table designer or the Column Properties.  (I don't know whether this was corruption caused by Data Sync I used earlier.)  How do I remove it.
    Of all the methods of copying SQL Server to Azure SQL, this one gives the least mistakes.  If I can solve this Extended Properties thing hopefully I can migrate the database over.

  • ODBC Gateway on Linux error - connects ok with Sybase SQL Anywhere

    OS: CentOS 5.8 64-bit
    DB: Oracle XE 11gR1 64-bit
    Gateway: Oracle Gateway for ODBC 64-bit
    Database and gateway reside on same Linux Server.
    Connecting to remote Sybase SQL Anywhere 10 server on WindowsXP.
    Using SQL Anywhere 11 odbc driver and unixODBC driver manager on Linux server.
    isql tool connects without any problems.
    One LISTENER, service for db and gateway on same port.
    ===================================
    Via SQL*Plus, the following error occurs....
    SQL> select * from dual@dblink;
    select * from dual@dblink
    ERROR at line 1:
    ORA-28513: internal error in heterogeneous remote agent
    ORA-02063: preceding line from dblink
    ===================================
    sqlnet.ora
    # sqlnet.ora Network Configuration File: /u01/app/oracle/product/11.2.0/xe/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH=(TNSNAMES)
    ADR_BASE = /u01/app/oracle/product/11.2.0/xe
    ==================================
    tnsnames.ora
    # tnsnames.ora Network Configuration File:
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    dblink =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521)
    (CONNECT_DATA =
    (SID = dblink))
    (HS=OK))
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    =======================
    listener.ora
    # listener.ora Network Configuration File:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/xe)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = dblink)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/gtw)
    (PROGRAM = dg4odbc)
    (ENVS=LD_LIBRARY_PATH=/opt/sqlanywhere11/lib64:/u01/app/oracle/product/11.2.0/gtw/lib)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (ADDRESS = (PROTOCOL = TCP)(HOST = mysystem)(PORT = 1521))
    DEFAULT_SERVICE_LISTENER = (XE)
    ========================
    initdblink.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO=dblink
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL=255
    HS_LANGUAGE=american_america.we8iso8859p1
    HS_NLS_NCHAR=UTF-8
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    ========================
    Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.915
    Heterogeneous Agent Release
    11.2.0.1.0
    Oracle Corporation --- MONDAY OCT 15 2012 17:23:39.914
    Version 11.2.0.1.0
    Entered hgogprd
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "255"
    Entered hgosdip
    setting HS_OPEN_CURSORS to default of 50
    setting HS_FDS_RECOVERY_ACCOUNT to default of "RECOVER"
    setting HS_FDS_RECOVERY_PWD to default value
    setting HS_FDS_TRANSACTION_LOG to default of HS_TRANSACTION_LOG
    setting HS_IDLE_TIMEOUT to default of 0
    setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
    HOSGIP returned value of "UTF-8" for HS_NLS_NCHAR
    setting HS_FDS_TIMESTAMP_MAPPING to default of "DATE"
    setting HS_FDS_DATE_MAPPING to default of "DATE"
    setting HS_RPC_FETCH_REBLOCKING to default of "ON"
    setting HS_FDS_FETCH_ROWS to default of "100"
    setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
    setting HS_FDS_RSET_RETURN_ROWCOUNT to default of "FALSE"
    setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
    setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
    setting HS_FDS_MAP_NCHAR to default of "TRUE"
    setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
    setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
    setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
    setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
    setting HS_FDS_QUERY_DRIVER to default of "TRUE"
    setting HS_FDS_SUPPORT_STATISTICS to default of "FALSE"
    Parameter HS_FDS_QUOTE_IDENTIFIER is not set
    setting HS_KEEP_REMOTE_COLUMN_SIZE to default of "OFF"
    setting HS_FDS_GRAPHIC_TO_MBCS to default of "FALSE"
    setting HS_FDS_MBCS_TO_GRAPHIC to default of "FALSE"
    Default value of 64 assumed for HS_FDS_SQLLEN_INTERPRETATION
    setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics;gtw$:SQLGetInfo"
    setting HS_FDS_DELAYED_OPEN to default of "TRUE"
    setting HS_FDS_WORKAROUNDS to default of "0"
    Exiting hgosdip, rc=0
    ORACLE_SID is "dblink"
    Product-Info:
    Port Rls/Upd:1/0 PrdStat:0
    Agent:Oracle Database Gateway for ODBC
    Facility:hsa
    Class:ODBC, ClassVsn:11.2.0.1.0_0008, Instance:dblink
    Exiting hgogprd, rc=0
    hostmstr: 0: HOA After hoagprd
    Invalid HS_NLS_NCHAR value UTF-8 specified
    Setting HS_NLS_NCHAR to Server Default 2000
    Invalid HS_NLS_NCHAR value UTF-8 specified
    Setting HS_NLS_NCHAR to Server Default 2000
    hostmstr: 0: HOA Before hoainit
    Entered hgoinit
    HOCXU_COMP_CSET=1
    HOCXU_DRV_CSET=31
    HOCXU_DRV_NCHAR=2000
    HOCXU_DB_CSET=873
    HOCXU_SEM_VER=112000
    Exiting hgoinit, rc=28513
    hostmstr: 0: HOA After hoainit
    RPC Calling nscontrol(0), rc=0
    hostmstr: 0: RPC Before Exit Agent
    hostmstr: 0: HOA Before hoaexit
    Entered hgoexit
    HS Gateway: NULL connection context at exit
    Exiting hgoexit, rc=0 with error ptr FILE:hgoexit.c LINE:108 FUNCTION:hgoexit() ID:Connection context
    hostmstr: 0: HOA After hoaexit
    hostmstr: 0: RPC After Exit Agent
    =============================
    Also, does anyone know how to determine the location (full path) of the unixODBC driver manager ?
    Please assist if you can...thx.
    Edited by: user601798 on Oct 15, 2012 3:37 PM

    Let me start with the unixODBC driver:
    There's no generic location as it depends which package you've used to install the UnixODBC driver manager or how you compiled it from scratch. I commonly prefer to compile it from scratch as this offers me to install it to any location I like.
    If you're not sure where it is located, you could perform a search on your machine looking for libodbc.so. Then cross check it with "file <location>/libodbc.so" to see the lib is a 64bit library.
    So let's assume in the /usr/lib64 you found the libodbc.so library, then the setting
    HS_FDS_SHAREABLE_NAME=/usr/lib64/libodbc.so
    is correct. Else you need to adopt the parameter.
    Next step is to check out which unixODBC version is installed. That's commonly done by calling "odbcinst -j".
    Looking now ta the gateway init file there's a parameter HS_NLS_NCHAR set to UTF-8. UnixODBC is commonly compiled with UCS2 support, so please change it to HS_NLS_NCHAR=UCS2
    Could you also please post the content of the odbc.ini file "more /etc/odbc.ini"?
    Thanks,
    Klaus

  • How to connect to SQL Anywhere db dynamically - No ODBC -

    Hello all -
    We have an application (c++) with several reports (crystal 10) that are dynamically connected to several access databases depending on the users request. We are now moving that application to .net (c#) and SQL Anywhere 11. I am able to create an odbc connection and use that connection to develop reports against the new database, but am unable to locate any information on how a connection can be established on the fly to run the report against different database instances. Can this be done dynamically from the application preferably with ADO.net? How? Where Can I find documentation supporting this?
    Thanks in advance for you assistance,
    Shawn

    See the [Crystal Reports Guide To ADO.NET|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401c4455-a31d-2b10-ae96-fa57af5aec20]
    and [Reporting Off ADO.NET Datasets|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2091d0c3-da1d-2b10-22be-a3426b183f75]
    Other useful resources.
    Troubleshooting Issues with VS .NET Datasets and Crystal Reports blog:
    /people/ludek.uher/blog/2009/03/02/troubleshooting-issues-with-vs-net-datasets-and-crystal-reports
    Samples:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100006252722008E/csharp_win_smpl.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100006252712008E/csharp_web_smpl.exe
    https://smpdl.sap-ag.de/~sapidp/012002523100006252812008E/net_web_smpl.exe
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208edbbf-671e-2b10-d7b5-9b57a832e427
    VS2005 Walkthroughs:
    http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf
    Also, search the forums. there is tons of info here.
    Ludek

  • 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

Maybe you are looking for

  • Error while data loading in BI

    Hi gurus, Our BI team is unable to load data from BI staging to BI Target.There is no data in BI Targets because of this Users can not test the BI reports. when they run it the header file status shows yellow instead of green. Please help. Regards, P

  • CRM Survey in BIW

    Hello, We have attached Questionnaires to Activities and Service Processes. I would like to know the following 1) which data sources i need to extract to BIW 2) how is the link between the transaction and the survey maintained i am aware of the FM "C

  • Code 39 font not appearing as Barcode

    Hi All We are developing a custom bi publisher report on 12.1.1 and trying to create bar codes using code39 fonts. We have a field which has a data like *||data||* and the field with the data is set to code39 font. But when the report prints, the dat

  • Some meeting records will not load

    Hi, For some reason some of my Adobe Connect recordings that had worked previously no longer load. They get as far as the "Adobe Connect connecting..." stage but get no futher until they eventually time out. I have't changed any settings I have tried

  • CSCtq89240 - Packets destined to the VDC MAC may be dropped by F1 module on N7K

    Even thougth If we configure the physical mac addresses for the SVI interfaces, the packets are not reaching the destination for some vlans