Reprot based on SQL server ODBC

Hi all,
I am presently tryinf to create webi report in Web intelligence. we are using BO XI R2 Sp6 - Solaris Server. Now to connect to SQL server i have created ODBC DSN for universe and its working fine. even deski reports based on that universe working fine. Now when i try to run reports on Web intelligence it shows me following error
Database Error :[Data Direct] [ODBC], Data source name not found and no driver specified
I only want reports on ODBC as OLEDB is not configured while installing server.
Please guide how can i overcome the problem above
thanks
nirav

Hi Mark,
thanks for response
While i try to create OLEDB connection in Designer(New Connection->Microsoft 2005->OLEDB Providers) it says , "data access driver is not available" not sure whats missing and how can i fix this to get OLEDB working
on the other hand for ODBC if i have to update webi server where i can do it to make ODBC working.
thanks

Similar Messages

  • Error updating data source from SQL Server ODBC into SQL Native Client 10.0

    I am converting Crystal 8.5 reports into Crystal XI release 2. The data source was ODBC using SQL Server 2000 and pointing to a stored procedure. In the new server the data source has to be ODBC again, but it uses the SQL Native Client 10.0 Driver, because the new server is SQL Server 2008. I have copied the same old stored procedure on the new server and it works fine as a data source to a brand new Crystal XI report. But when I am opening an existing 8.5 version crystal report and updating the data source to the new location I get the error message "Some tables could not be replaced, as no match was found in the new data source".
    I thought I could tackle this error by creating a temporary data source using the standard ODBC SQL Driver linked to the SQL 2008 Server instead of the SQL Native Client 10 ODBC. So I first updated the crystal data source to link to this temp ODBC using SQL Driver and it worked fine. But after that, when I try to update the data source to link to the SQL Native Client 10 ODBC, I get the same error again.
    So I guess that the problem is not the new server itself, but the switch between SQL Server ODBC and SQL Native Client 10 ODBC.
    Does anyone know what's going on with this SQL Native Client 10 in updating crystal report data sources?

    CR XI does not support that driver. Try selecting the Native driver or upgrade to CR XI R2 for free and use SP4, 5 and 6 and then FP 6.4 or upgrade to CR 2008 and SP 3 and Fix Pack 3.3
    Thank you
    Don

  • Microsoft SQL Server ODBC Driver 1.0 for Linux problem

    Hello! I've RedHat Linux 6 Update 1 x64 on VMware Player and MS SQL Server on real machine. My application "servernew" on RedHat. All right, but when i try connect my SQL Server:
    retcode = SQLDriverConnect(hdbc,NULL,string,sizeof(string),buf,sizeof(buf),&StringLength2,SQL_DRIVER_NOPROMPT);
    i get retocde = -1;
    Using SQLGetDiagRec:
    MessageText = Data source name not found, and no default driver specified
    To make my connection i use next attempts for connection string:
    //char constring[200]="Driver={Microsoft Server ODBC Driver 1.0 for Linux};Server=ARTPK2\\SQLEXPRESS2;Database=Kurs;Uid=sa;Pwd=2ef5Fese";
    //char constring[200]="Driver={SQL Server Native Client 11.0};Server=ARTPK2\\SQLEXPRESS2;Database=Kurs;Uid=sa;Pwd=2ef5Fese";
    //char constring[200]="Driver={Microsoft SQL Server ODBC Driver V1.0 for Linux};Server=ARTPK2\\SQLEXPRESS2;Database=Kurs;Uid=sa;Pwd=2ef5Fese";
    //char constring[200]="Driver={/opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1790.0};Server=ARTPK2\\SQLEXPRESS2;Database=Kurs;Uid=sa;Pwd=2ef5Fese";
    char constring[200]="DSN={SQL Server Native Client 11.0};Uid=sa;Pwd=2ef5Fese";
    but...Data source name not found, and no default driver specified .. help me

    Ok. New attempts with sqlcmd:
    [root@localhost ~]# sqlcmd -S 192.168.0.3 -U sa -P 2ef5Fese -d first
    SqlState HYT00, Login timeout expired
    A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online.
    TCP Provider: Error code 0x6F
    New error 0x6F (i turned off firewall in windows).
    [root@localhost ~]# sqlcmd -S ARTPK2\\SQLEXPRESS2 -U sa -P 2ef5Fese -d first
    SqlState HYT00, Login timeout expired
    A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online.
    SQL Server Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].
    It's bad way, but...
    [root@localhost ~]# sqlcmd -D -S ARTPK2\\SQLEXPRESS2 -U sa -P 2ef5Fese -d first
    SqlState IM002, Data source name not found, and no default driver specified
    It's like in my program!!
      retcode = SQLDriverConnect(hdbc,NULL,string,sizeof(string),buf,sizeof     (buf),&StringLength2,SQL_DRIVER_NOPROMPT);
      i get retocde = -1;
      Using SQLGetDiagRec:
      MessageText = Data source name not found, and no default driver specified
    Why "SQLDriverConnect"  is looking for DNS?!

  • Connecting Oracle to MS SqlServer using Microsoft SQL Server ODBC Driver

    Hello,
    I have just downloaded the newly released Microsoft® SQL Server® ODBC Driver for Linux and trying to configure it to connect to SqlServer Database from Oracle using DG4ODBC
    Below are my config files:
    # odbcinst -j
    unixODBC 2.3.1
    DRIVERS............: /etc/odbcinst.ini
    SYSTEM DATA SOURCES: /etc/odbc.ini
    FILE DATA SOURCES..: /etc/ODBCDataSources
    USER DATA SOURCES..: /usr/oracle/.odbc.ini
    SQLULEN Size.......: 8
    SQLLEN Size........: 8
    SQLSETPOSIROW Size.: 8
    cat /etc/odbcinst.ini
    [SQL Server Native Client 11.0]
    Description = Microsoft SQL Server ODBC Driver V1.0 for Linux
    Driver = /opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1720.0
    #UsageCount = 1
    Fileusage = 1
    Dontdlclose = 1
    [ODBC]
    Trace = ON
    Tracefile = /tmp/mstestodbc.log
    cat /usr/oracle/.odbc.ini
    [DEFAULT]
    Driver = SQL Server Native Client 11.0
    [MSTEST]
    Driver = SQL Server Native Client 11.0
    Description = Microsoft SQL Server ODBC Driver V1.0 for Linux
    Servername = ret2axxx
    Database = testdb
    Port = xxxx
    And when I am trying to do an ODBC test using isql I am getting the below error.
    # iusql -v MSTEST username password
    [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
    [ISQL]ERROR: Could not SQLDriverConnect
    Any help is much appreciated!!
    Thanks,
    Steve.

    Thanks Kgronau for your response.
    I have made changes to the ODBC.ini file still getting the same error
    [MSTEST]
    Driver = /opt/microsoft/sqlncli/lib64/libsqlncli-11.0.so.1720.0
    #Driver = SQL Server Native Client 11.0
    Description = Microsoft SQL Server ODBC Driver V1.0 for Linux
    #Address = ret2axxx
    Server = ret2axxx, <port>
    Database = testdb
    and when I am trying to export odbcinst.ini export ODBCINSTINI=/etc/odbcinst.ini
    in odbcinst -j output it shows the wrong information.
    :~ $ odbcinst -j
    unixODBC 2.3.1
    DRIVERS............: /etc//etc/odbcinst.ini
    SYSTEM DATA SOURCES: /etc/odbc.ini
    FILE DATA SOURCES..: /etc/ODBCDataSources
    USER DATA SOURCES..: /usr/oracle/.odbc.ini
    SQLULEN Size.......: 8
    SQLLEN Size........: 8
    SQLSETPOSIROW Size.: 8
    And when export odbcinst.ini as export ODBCINSTINI=odbcinst.ini it shows the correct path.
    :~ $ odbcinst -j
    unixODBC 2.3.1
    DRIVERS............: /etc/odbcinst.ini
    isql -v mstest username password
    [IM005][unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed
    [ISQL]ERROR: Could not SQLConnect
    Thanks,
    Steve.

  • MS SQL Server ODBC Connection On Linux

    Hi All,
    I am badly stuck with configuration of MS SQL Server ODBC connection on SUSE Linux 10. I am almost tried everything I got from SAP notes but still getting ODBC Lib Data Direct drivers could not be loaded IES 10901.
    ENV: SAP BO 4.0 SP7, MS SQL SRV 2008
    Here is what I have tried so far:
    1) Modified env.sh under /install_dir/sap_bobj/setup and added the line in bold.
    ":${BOBJEDIR}enterprise_xi40/linux_x64/odbc/lib:${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/odbc/lib"
    The line should look like this
    LIBRARYPATH="$LIBDIR:$LIBDIR32:$WCSCOMPONENTDIR:$PLUGINDIST/auth/secEnterprise:${CRPEPATH64}:${CRPEPATH}:${MWHOME}:$PLUGINDIST/desktop/CrystalEnterprise.Report:
    ${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/ras:${BOBJEDIR}mysql/lib:${BOBJEDIR}enterprise_xi40/linux_x64/odbc/lib:${BOBJEDIR}enterprise_xi40/$SOFTWAREPATH32/odbc/lib”
    2) We have .odbc.ini file in the home directory of our BO user on linux. Added following DSN entry (Same DSN is created on client and odbc connection has been created on the universe using this DSN:
    boeadm01:~> vi .odbc.ini
    [DSN_NAME]
    Driver=/opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib/CRsqls24.so
    Description=DataDirect 6.0 SQL Server Native Wire Protocol
    HostName=SQL Server Hostname
    Database=SQL DB Name
    QuotedId=Yes
    AnsiNPW=No
    3) We then added the environment variables and LIBPATH in BO user .profile file.
    boeadm01:~> vi .profile
    #Sql Server Environment
    ODBCINI=$HOME/.odbc.ini
    export ODBCINI
    LD_LIBRARY_PATH=/opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib
    export LD_LIBRARY_PATH
    4) Did echo to check the LIBPATH
    boeadm01:~> echo $LD_LIBRARY_PATH
    /opt/sapboe/sap_bobj/enterprise_xi40/linux_x64/odbc/lib
    5) Modified sqlsrv.sbo under /install_dir/sap_bobj/enterprise_xi40/dataAccess/connectionServer/odbc
      <Parameter Name="Use DataDirect OEM Driver" Platform="Unix">Yes</Parameter>
    6) Restarted BO node.
    Tried creating a new webi report and got the error mentioned above.
    Please help!!!
    Thanks,
    Anshul

    Hi Anshul,
    Please refer the below KBA & SCN thread regarding your issue.
    Data Direct ODBC Drivers for SAP BusinessObjects Data Services
    Link:
    http://scn.sap.com/docs/DOC-8898
    Business Objects XIR2 Link:
    Link:
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/50eca18b-d13e-2b10-a8ab-9738927177d6?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20e11153-5c3f-2b10-f9be-974dc4749fd8?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/70eabcba-5c64-2b10-6db2-ae28ae4d1295?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/4039c80b-6b3f-2b10-64a4-e8e591292e89?quicklink=index&overridelayout=true
    KBA:
    1291142 - Web Intelligence reporting using DataDirect drivers in Unix
    1292899 - Data Direct Drivers for Crystal Report in Unix environment
    SQL Server ODBC Driver for Linux/Unix Getting Started Tutorial
    Link:
    http://www.easysoft.com/products/data_access/odbc-sql-server-driver/getting-started.html
    Step by Step: Setting up Linux ODBC driver for SQL Server
    Link:
    http://blogs.technet.com/b/sqlman/archive/2012/08/03/step-by-step-setting-up-linux-odbc-driver-for-sql-server.aspx
    Microsoft SQL Server ODBC driver for Linux
    Link:
    http://www.codesynthesis.com/~boris/blog/2011/12/02/microsoft-sql-server-odbc-driver-linux/
    Thanks,
    Daya

  • Insert data into oracle based on sql server data(here sql server acting as source to oracle and destination to oracle)

    Source is Oralce. Destination is SQL Server.
    Requirement - I have to fetch sql server server data (empid's) based emp table  and send this as input data to oracle to fetch and empid's are common.
    I cannot use merge or loopkup or for each as oracle have too many records.
    For example - In MS SQL - i have empid=1,2..Only these records, I have to fetch from oracle source into sql server destination. For this, I have adopted the below approaches...The major problem I face, when i build a empid's as a string, it is taking only
    4000 chars. My string lenght is 10000. How do I breakup this string lengh and send to data flow task till all broken strings length passed to DFT.
    Approach-1
    created two variables - oraquery string, empid string
    step1 - ms sql database - created sql task - declare @empid varchar(max)
    SELECT @empid=
    Stuff((SELECT ',' + empid
            FROM  
            (SELECT  DISTINCT  convert(varchar(10),empid ) empid FROM emp
             ) x
            For XML PATH ('')),1,1,'')
    select @empid =    '(' +  @empid + ')'
    select @empid
    resultset=singlerow
    resultset=resultname=0; variablename=User::empid (empid is declared as string)
    step2 - oracle database - created data flow task
    created oledb source
    I put  this statemnt in oraquery expression - "select * from dept where dept in  "
    +  @[User::empid] + "
    expression=true
    [OLE DB Source [1]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E14.
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Oracle"  Hresult: 0x80040E14  Description: "ORA-00936: missing expression".
    Approach-2
    created three variables - oraquery string, empid  int, loop object--when I put int then it is automatically setting to 0
    step1 - ms sql database - created sql task - SELECT  DISTINCT  convert(varchar(10),empid ) empid FROM emp
    resultset=fullresult
    resultset=resultname=0; variablename=User::loop
    step2 - created a for each loop container
    for loop editor - for each ado ennumerator
    enumerator configuration - loop
    variablemapping - variable=empid;index=0
    step3 - oracle database - created data flow task (outside for each loop. If I put inside it is taking long time)
    created oledb source
    I put  this statemnt in oraquery expression - "select * from dept where dept in  "
    +  @[User::empid] + "
    expression=true
    Data inserting in a destination table but  empid=0.

    Sorry didnt understand if your step3 is outside loop how
    @[User::empid] will get values for the empids from User::loop. The iteration happens inside loop so you
    need to have a logic to form the delimited list inside using a script task or something and concatenating everything and storing to variable @[User::empid]
    . Then only it will have full value used to be used in step3 query
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • AIX (Oracle 8.1.6) to MS/SQL Server (ODBC)

    Hi,
    The company I am working for is about to evaluate the Oracle Transparent Gateway to connect 8.1.6 (on AIX) to MS/SQL Server (on NT). I have heard that you can do this via ODBC (on AIX) to ODBC (on NT).
    Does anyone have a step-by-step guide on how to do this? The Oracle documentation
    "Managing Heterogeneous Services Using Generic Connectivity" just gives you concepts and does not tell you how to just
    "do it" or where to get the ODBC driver manager (for AIX) or ODBC driver manager (for AIX).
    Anyone set this up before?

    Hi,
    Good that you are exploreing lot many things. As you are already working on 8.1.6, I guess you know much about that. To get more on 9i features read this link
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96531/toc.htm
    and 9.2.0.4 that 0.4 is a patch which you need to download from metalink site (metalink.oracle.com) for which you needs oracle licence.
    Hope this meets your basic requirement.
    Kamalesh JK

  • Lack of TCP keepalive parameter in Microsoft SQL Server ODBC Driver for Linux

    Hello,
    the problem in the
    aforementioned driver is the lack of TCP keepalive parameter that results in hanged threads because of closed connections on the SQL Server side, but not closed
    sockets on the client side. This could happen due to network-related problems.
    The driver is used in mission critical 24/7 uptime application and due to hanged threads the application cannot continue it's work and it needs to be restarted.
    This is observed in the latest version of the driver on RHEL 5.6.
    If you need clarification please ask.
    Does anybody know any workaround to this situation or a solution that I'm not aware of?
    Thank you for your help,
    luk.s

    Find the TCP socket of the ODBC connection in your process and set the keep-alive option and keep-alive timeout on it.
    You can do that by interposing socket system call.
    Or use libkeepalive: http://www.tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/#libkeepalive

  • SQL Server & ODBC with C Language

    Hi,
    I find that when doing bulk operations (like bulk update, delete, insert etc.) ODBC routines mimick the operation by iterating thru the array of data given in the program, since SQL Server does not have bulk operation facilities. I am worried about the performance,
    if it goes for a single record processing.
    Right now I am using C & ODBC for SQL Server. Is there any other better approach to speed up the process and accomplish what I want. There are about 200+ programs that do tremendous bulk data operations.
    If C & ODBC is Not the right thing, then can you advise me on what would be the best tool to do that. Somebody I knew suggested that using SSIS instead of C-ODBC would improve performance. Someone Advise on the right approach please.
    Thanks in advance people.
    Regards
    Yogesh B.

    Are you talking about the
    BULK INSERT and
    MERGE in SQL Server?

  • Error in connecting SQL Server ODBC connection to Oracle 8i

    I am tried connecting Oracle 8i on Windows2000 to SQL Server on Windowns2000 using ODBC. Sitting on Oracle server, in datasource(ODBC) when i give SQL servername and userid and password and click next, it gives error:
    connection failed
    SQL Server Error:1326
    ODBC SQL Server driver(Namespipe)
    client unable to establish connection
    can anyone help urgently?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by sanjayp patel ([email protected]):
    I tried connecting Oracle 8i on Windows2000 to SQL Server on Windowns2000 using ODBC. Sitting on Oracle server, in datasource(ODBC) when i give SQL servername and userid and password and click next, it gives error:
    connection failed
    SQL Server Error:1326
    ODBC SQL Server driver(Namespipe)
    client unable to establish connection
    can anyone help urgently?<HR></BLOCKQUOTE>
    null

  • SQL Server ODBC drivers for Solaris

    I am looking for an ODBC driver to let a Solaris box talk to a SQL Server 2012 db, I am hoping that someone will be able to put me in the right direction.
    Thanks,
    CB

    Hello,
    You can try to use the FreeTDS to connect to SQL Server database from Solaris.
    Reference:
    What is required to use Perl on Solaris to connect to MS-SQL?
    Solaris + FreeTDS + Pymssql + MSSQL
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • MS SQL Server 2012 Developers Freeze At ODBC Setup

    I am attempting to create an ODBC connection using my local computer's
    Admin Tools-ODBC Connection interface.
    I can select the MS SQL Server driver type, enter the odbc name I want to call the connection , then click browse so to look for sql databases in a local install of MS SQL Server 2012 Developers Edition
    The odbc setup goes into a search mode that ran for over 4 hours and the process could not be terminated using Task Manager - End Task. 
    After rebooting, I tried the Options - Create New Connection using Microsoft SQL Server Data Tools interface and get the same result where I again have to reboot the computer to stop the setup.
    Is this an expected result when setting up an odbc this way and/or is there another way odbcs are created so to connect to MS SQL Server 2012 databases?
    I am a database

    Hello,
    I can't reproduce this issue on my test environment, and I'm sure what do you mean hang on search mode while create a SQL Server ODBC Data Source. Could you please share a screenshot about this issue?
    I would suggest you take a look at the following articles about how to create a ODBC DSN to SQL Server 2012:
    Creating a SQL Server ODBC Data Source:
    http://technet.microsoft.com/en-us/library/cc879308(v=sql.105).aspx
    http://hodentekmsss.blogspot.com/2013/08/how-do-you-create-odbc-dsn-to-sql.html
    Hope this helps.
    Elvis Long
    TechNet Community Support

  • OGG-00868 SQL Server 2008 has problem with ODBC in  the EXTRACT process

    Hello Everyone
    I want to replicate tables between MS SQLServer 2008 and Oracle 10g
    I have Windows XP / MS SQLServer 2008 and Oracle Database 10g R 10.2.0.1.0 running  on Red Hat Linux
    I followed the steps from the white paper (http://www.oracle.com/technetwork/articles/datawarehouse/oracle-sqlserver-goldengate-460262.html)
    and Installed Oracle Golden Gate Version 11.2.1.0.1 (for Linux) and the  Version 11.2.1.0.1 32bits (for Windows XP)
    I followed all steps of the white paper without problem and I could do the initial load in
    the Oracle Database from SQL Server sucessfully.
    But when I tried to set and start the Extract process from SQL SERVER
    a error was generated in the file c:\gg\dirrpt\MSEXT.rpt and the process is ABENDING
    GGSCI >  info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING
    EXTRACT     STOPPED     MSEXT       00:00:00      03:22:29
    2013-08-25 11:59:41  ERROR   OGG-00868  Executing statement for select operation Database error 213 ([Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
    [Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    [Microsoft][SQL Server Native Client 10.0][SQL Server]Column name or number of supplied values does not match table definition.
    [Microsoft][SQL Server Native Client 10.0][SQL Server]DBCC execution completed. If DBCC printed error messag).
    2013-08-25 11:59:41  ERROR   OGG-01668  PROCESS ABENDING.
    If somebody has a clue or faced something similar please let me how could solve it.
    Thanks
    Juan

    Hello mb_ogg,
    Yes, I had created a Data Source  HR Driver= SQL Server (second Tab System DSN) and I also had tried with
    the driver SQL Server Native Client 10.0 but I faced the same error.
    The database by default is EMP
    Below is my configuration
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Data Source Name: HR
    Data Source Description:
    Server: JUAN-XP
    Database: EMP
    Language: (Default)
    Translate Character Data: Yes
    Log Long Running Queries: No
    Log Driver Statistics: No
    Use Integrated Security: Yes
    Use Regional Settings: No
    Prepared Statements Option: Drop temporary procedures on disconnect
    Use Failover Server: No
    Use ANSI Quoted Identifiers: Yes
    Use ANSI Null, Paddings and Warnings: Yes
    Data Encryption: No
    I also clicked on the button "Test Data Source" with the below messages:
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Running connectivity tests...
    Attempting connection
    Connection established
    Verifying option settings
    Disconnecting from server
    TESTS COMPLETED SUCCESSFULLY!
    Then I went to Database Properties (Right Click) /Oprtion  and Recovery model field has Full value
    I also made a Backup (Backup Type = Full)
    The Backups was made to Disk:  C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\Backup\EMP.bak
    Today I repeated the same steps and I got the same error (I Copied at the end):
    I also have the follow question:
    Is necessary define the location of the backup of MS SQL Server to say to GG where it can get it?
    GSCI (juan-xp) 1> DBLOGIN SOURCEDB HR
    2013-08-27 21:16:32  INFO    OGG-03036  Database character set identified as win
    dows-1252. Locale: en_US.
    2013-08-27 21:16:32  INFO    OGG-03037  Session character set identified as wind
    ows-1252.
    Successfully logged into database.
    GGSCI (juan-xp) 3> ADD TRANDATA HRSCHEMA.EMP
    Logging of supplemental log data is enabled for table hrschema.emp
    GGSCI (juan-xp) 4> EDIT PARAMS DEFGEN
    GGSCI (juan-xp) 5> exit
    C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
          Oracle GoldenGate Table Definition Generator for SQL Server
         Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
       Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2013-08-27 21:18:23
    Operating System Version:
    Microsoft Windows XP Professional, on x86
    Version 5.1 (Build 2600: Service Pack 2)
    Process id: 3236
    **            Running with the following parameters                  **
    defsfile c:\gg\dirdef\emp.def
    Source Context :
      SourceModule            : [defgen.main]
      SourceID                : [defgen/defgen.c]
      SourceFunction          : [create_defgen_file]
      SourceLine              : [808]
    2013-08-27 21:18:23  ERROR   OGG-00037  DEFSFILE file c:\gg\dirdef\emp.def alrea
    dy exists.
    2013-08-27 21:18:23  ERROR   OGG-01668  PROCESS ABENDING.
    C:\gg>defgen paramfile c:\gg\dirprm\defgen.prm
          Oracle GoldenGate Table Definition Generator for SQL Server
         Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
       Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:37:58
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2013-08-27 21:19:03
    Operating System Version:
    Microsoft Windows XP Professional, on x86
    Version 5.1 (Build 2600: Service Pack 2)
    Process id: 3312
    **            Running with the following parameters                  **
    defsfile c:\gg\dirdef\emp.def
    sourcedb hr
    2013-08-27 21:19:05  INFO    OGG-03036  Database character set identified as win
    dows-1252. Locale: en_US.
    2013-08-27 21:19:05  INFO    OGG-03037  Session character set identified as wind
    ows-1252.
    table hrschema.emp;
    Retrieving definition for hrschema.emp
    Definitions generated for 1 table in c:\gg\dirdef\emp.def
    C:\gg>ggsci
    Oracle GoldenGate Command Interpreter for SQL Server
    Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
    Windows (optimized), Microsoft SQL Server on Jul 25 2012 02:57:42
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
    GGSCI (juan-xp) 1> start manager
    MGR is already running.
    GGSCI (juan-xp) 2> info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING
    GGSCI (juan-xp) 3> ADD EXTRACT MSEXT, TRANLOG, BEGIN NOW
    EXTRACT added.
    GGSCI (juan-xp) 4> ADD RMTTRAIL /u01/app/oracle/gg/dirdat/ms, EXTRACT MSEXT
    RMTTRAIL added.
    GGSCI (juan-xp) 5> EDIT MSEXT
    ERROR: Invalid command.
    GGSCI (juan-xp) 6> edit params msext
    GGSCI (juan-xp) 7> START EXTRACT MSEXT
    Sending START request to MANAGER ('GGSMGR') ...
    EXTRACT MSEXT starting
    GGSCI (juan-xp) 8> show all
    Parameter settings:
    SET SUBDIRS    ON
    SET DEBUG      OFF
    Current directory: C:\gg
    Using subdirectories for all process files
    Editor:  notepad
    Reports (.rpt)                 C:\gg\dirrpt
    Parameters (.prm)              C:\gg\dirprm
    Replicat Checkpoints (.cpr)    C:\gg\dirchk
    Extract Checkpoints (.cpe)     C:\gg\dirchk
    Process Status (.pcs)          C:\gg\dirpcs
    SQL Scripts (.sql)             C:\gg\dirsql
    Database Definitions (.def)    C:\gg\dirdef
    GGSCI (juan-xp) 9> info all
    Program     Status      Group       Lag at Chkpt  Time Since Chkpt
    MANAGER     RUNNING
    EXTRACT     STOPPED     MSEXT       00:00:00      00:02:34
    GGSCI (juan-xp) 10> EDIT MSEXT
    Report MSEXT.rpt with same error
                   Oracle GoldenGate Capture for SQL Server
         Version 11.2.1.0.2 OGGCORE_11.2.1.0.2T3_PLATFORMS_120724.2205
       Windows (optimized), Microsoft SQL Server on Jul 25 2012 03:49:54
    Copyright (C) 1995, 2012, Oracle and/or its affiliates. All rights reserved.
                        Starting at 2013-08-27 21:30:26
    Operating System Version:
    Microsoft Windows XP Professional, on x86
    Version 5.1 (Build 2600: Service Pack 2)
    Process id: 2452
    Description:
    **            Running with the following parameters                  **
    2013-08-27 21:30:26  INFO    OGG-03035  Operating system character set identified as windows-1252. Locale: en_US, LC_ALL:.
    EXTRACT MSEXT
    SOURCEDB HR
    2013-08-27 21:30:28  INFO    OGG-03036  Database character set identified as windows-1252. Locale: en_US.
    2013-08-27 21:30:28  INFO    OGG-03037  Session character set identified as windows-1252.
    TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
    RMTHOST OCM, MGRPORT 7809
    RMTTRAIL /u01/app/oracle/gg/dirdat/ms
    TABLE HRSCHEMA.EMP;
    2013-08-27 21:30:28  INFO    OGG-01815  Virtual Memory Facilities for: COM
        anon alloc: MapViewOfFile  anon free: UnmapViewOfFile
        file alloc: MapViewOfFile  file free: UnmapViewOfFile
        target directories:
        C:\gg\dirtmp.
    CACHEMGR virtual memory values (may have been adjusted)
    CACHESIZE:                                1G
    CACHEPAGEOUTSIZE (normal):                4M
    PROCESS VM AVAIL FROM OS (min):        1.57G
    CACHESIZEMAX (strict force to disk):   1.41G
    Database Version:
    Microsoft SQL Server
    Version 10.00.1442
    ODBC Version 03.52.0000
    Driver Information:
    SQLSRV32.DLL
    Version 03.85.1117
    ODBC Version 03.52
    Source Context :
      SourceModule            : [ggvam.param]
      SourceID                : [../gglib/ggvam/cvamparams.cpp]
      SourceFunction          : [com_goldengate_vam::validateIfSqlServer]
      SourceLine              : [1955]
    2013-08-27 21:30:28  ERROR   OGG-00868  Executing statement for select operation Database error 213 ([Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
    [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system administrator.
    [Microsoft][ODBC SQL Server Driver][SQL Server]Column name or number of supplied values does not match table definition.
    [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC execution completed. If DBCC printed error messages, contact your system admi).
    2013-08-27 21:30:28  ERROR   OGG-01668  PROCESS ABENDING.
    Thanks
    Juan

  • ODBC errors for Oracle Migration Workbench and SQL Server 2000 on Windows

    Hi all-
    I setup a new ODBC connection for the Oracle 10g Migration Workbench to MS SQL Server 2000 on Windows XP and keep getting the following errors when I try to
    either test the new ODBC connection to MS SQL Server 2000 for use with the Oracle Migration Workbench tool. Goal is to fix these errors so that I can migrate our test SQL Server 2000 databases to Oracle 10g.
    Current configuration
    - Oracle 10.1 Migration Workbench
    - Oracle 10g Database (target)
    - MS SQL Server 2000 (source database)
    -Windows XP
    -ODBC 3.85.1117 driver for Windows XP with SQL Server and Oracle
    Errors:
    I. When I test the ODBC connection:
    Microsoft SQL Server ODBC Driver Version 03.85.1117
    Running connectivity tests...
    Attempting connection
    [Microsoft][ODBC SQL Server Driver][TCP/IP Sockets]Specified SQL server not found.
    TESTS FAILED!
    Now here is what has me totally confused:
    I can use the command line ISQL to access the database on the server and IP is all correct and port is available. So I can access the SQL Server database fine it is when I try to setup ODBC that it gives me problems.
    Any tips how to get this ODBC working?
    Thanks
    Ben Prusinski

    1. Jing Jin. If you had READ the post you would have seen that installing later versions is NOT an option.
    2. Not supported does NOT mean does NOT work, as Balmukund pointed out in the referenced thread.  The site that this databases supports is using ASP which is also NOT supported by Microsoft.  As it turns out Balmukund's solution actually turns
    out to be the correct solution.  I installed SS2K and its Service pack 4 on the machine last night.  Good answer Balmukund. as we say in the Navy, "BRAVO ZULU!!"  which means "WELL DONE!!
    3. Tom Li I just posted the question less than 48 hours ago.  My last post was less than 24 hours ago.  I think I have the right to be given the opportunity to determine whether a reply is the answer or not. I understand you don't like unanswered
    posts sitting around for weeks, months or years. (I don't like it either as I have a few that are still unanswered after several years.)  But you should not be showing replies as answers before I even get a chance to see them, much less try them out. 
    You should also not be showing replies as answers which don't address the criteria of the question.  I specifically stated that I had to install SS2K.  I went on to state, "And before anyone asks I need to install this version because that is what
    the customer is using and I need to duplicate their databases."  So the correct answer, if in fact SS2K did not work on Windows 7, would have been a virtual machine answer, as suggested on the thread Balmukund referenced.  So before you mark a reply
    as an answer read the question.
    Edward R. Joell MCSD MCDBA

  • Connect to MS-SQL Server from a Oracle 10g running under Solaris

    Hi,
    I have the following problem. I want to access a MS-SQL server from an Oracle database (10g Enterprise licence) that is running on Solaris.
    After googling a while, the following questions arise:
    - Is it correct that the Oracle Transparant Gateway for the SQL Server is not available on Solaris platforms (but only on Windows)?
    - Is it right, that the second possibility to solve this problem is to use an SQL-Server odbc driver for Solaris and access the SQL-Server over ODBC? And: Is this feature included in the Enterprise licence?
    - If yes, which driver is good and cheap ;-)?
    - Is there any other way to solve this problem?
    Thanks
    Aron
    Message was edited by:
    user583720

    I believe the Transparenet Gateway for SQL Server is available on Solaris. The problem is that you need a Unix based ODBC driver which you will also need to pay for.
    We had this same problem and decided to run a windows based Heterogeneous Services gateway and routed through it instead of using the SQL Server transparent gateway. The Heterogenous severives gateway is NOT an add on product (as is Transparent Gateway). The drawback would be performance as I would expect the native MS SQL transparent gateway to perform better, but in our case it worked acceptably.

Maybe you are looking for