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

Similar Messages

  • SQL Server 2008 R2 Express with SP2: 'SQLEXPRESS'-instance installation fails while any other instance name installation succeeds.

    We supply our software package that also includes the unattended installation (with /QS and so on) of SQL Server R2 Express (with SP2).
    The setup works good in about 99.9% cases, but one customer complained that after the "successful SQL Sever installation (at least, it looked so!) he could not open the supplied database getting some strange error messages...
    After some months of trial-n-error attempts we are now able to reproduce the problems this custumer had. But we cannot find the reason of the problem.
    So the test computer is a virtual machine with Windows 7 + sp1 32-bit.
    Among the programs/tools installed on this machine there were (in the following order):
    SQL Server 2008 Express - the default SQLEXPRESS instance
    SSMS
    VS 2010 Pro (German)
    SQL Server 2008 Express R2 (with SP 1 or SP2 - ?) - the default SQLEXPRESS instance
    Then some of them were uninstalled in the following order:
    SQL Server 2008 Express
    SSMS
    SQL Server 2008 Express R2 
    Now we tried to install (in normal mode with UI) the SQL Server 2008 Express R2 with SP2.
    When we chose the default SQLEXPRESS instance - it failed with the following info:
    Configuration status: Failed: see details below
    Configuration error code: 0x7FCCE689
    Configuration error description: External component has thrown an exception.
    and the Detail.txt file contained the following:
    2015-01-20 10:44:09 Slp: External component has thrown an exception.
    2015-01-20 10:44:09 Slp: The configuration failure category of current exception is ConfigurationValidationFailure
    2015-01-20 10:44:09 Slp: Configuration action failed for feature SQL_Engine_Core_Inst during timing Validation and scenario Validation.
    2015-01-20 10:44:09 Slp: System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
    2015-01-20 10:44:09 Slp: at SSisDefaultInstance(UInt16* , Int32* )
    2015-01-20 10:44:09 Slp: at Microsoft.SqlServer.Configuration.SniServer.NLRegSWrapper.NLregSNativeMethod Wrapper.SSIsDefaultInstanceName(String sInstanceName, Boolean& pfIsDefaultInstance)
    2015-01-20 10:44:09 Slp: Exception: System.Runtime.InteropServices.SEHException.
    2015-01-20 10:44:09 Slp: Source: Microsoft.SqlServer.Configuration.SniServerConfigExt.
    2015-01-20 10:44:09 Slp: Message: External component has thrown an exception..
    2015-01-20 10:44:09 Slp: Watson Bucket 1 Original Parameter Values
    2015-01-20 10:44:09 Slp: Parameter 0 : SQL Server 2008 R2@RTM@
    2015-01-20 10:44:09 Slp: Parameter 1 : SSisDefaultInstance
    2015-01-20 10:44:09 Slp: Parameter 2 : SSisDefaultInstance
    2015-01-20 10:44:09 Slp: Parameter 3 : System.Runtime.InteropServices.SEHException@-2147467259
    2015-01-20 10:44:09 Slp: Parameter 4 : System.Runtime.InteropServices.SEHException@-2147467259
    2015-01-20 10:44:09 Slp: Parameter 5 : SniServerConfigAction_Install_atValidation
    2015-01-20 10:44:09 Slp: Parameter 6 : INSTALL@VALIDATION@SQL_ENGINE_CORE_INST
    When we chose some other instance name then the installation has completed successfully.
    So the questions are:
    What could be the reason of the problem (and only for SQLEXPRESS instance that was earlier installed and then uninstalled)? I will provide the complete Detail.txt file if needed. 
    How could we check (if we could) the conditions so some name would be allowed as an instance name for SQL Server installer to success?
    With the best regards,
    Victor
    Victor Nijegorodov

    Thank you Lydia!
    Unfortunately the simple check the registry
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Instance Names\SQL does /did not work in our case since there is no any instance
    name there,
    However there seem to be some "rudiments" under
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and/or HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
    So I will now try to check the subkeys of these two keys as it was mentioned by Xiao-Min Tan. 
    Best regards,
    Victor Nijegorodov
    Victor Nijegorodov

  • SQL Server 2008 R2 Std with SQL Server 2005 Express Subscriptions

    If we have SQL Server 2005 Express Merge Replication Subscriptions that synch to a SQL Server 2008 R2 Standard Edition. Do
    the Subscriptions still have same file size limitations even though they synch to a Proper Standard Version of SQL Server 2008?
    If so what are these limitations?
    What happens in the instance where by the server file becomes huge then the Subscriptions will not allow the data to replicate
    as the Express Subscription engine has a file size limitation - or does this not matter??

    You will get messages on your SQL Server Express  servers that the merge agent cannot write to the SQL Express database. These messages are difficult to debug as you don't get a warning you have exceeded the size limit on the subscriber.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • How to connect sql server 2008 r2 sp2 with vs2013 ultimate?

    how to connect sql server 2008 r2 sp2 with visual studio 2013 ultimate?

    Hi Shahzad,
    >>how to connect sql server 2008 r2 sp2 with visual studio 2013 ultimate?
    Based on your issue, if you wan to connect the sql server 2008 r2 sp2 from VS2013 IDE. I suggest you can try the Ammar and darnold924's suggestion to check your issue.
    In addition, I suggest you can also refer the following steps to connect the sql server 2008 r2 sp2 with visual studio 2013 ultimate.
    Step1: I suggest you can go to VIEW->SQL Server Object Explorer->Right click SQL Server->Add SQL Server.
    Step2: After you connect the SQL Server 2008 r2 sp2 fine, I suggest you can go to VIEW->Server Explorer-> right click the Data Connection->Add Connection.
    And then you can create the connect string in the Add Connection dialog box.
    Hope it help you!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Advance features available in sql server 2008 R2 compared with SQL 2008 SP2

    Hi,
    Can some one brief me the advance features available in sql server 2008 R2 compared with SQL Server 2008 SP2.
    I am planning to upgrade my existing sql server 2008 SP2 to sql server 2008 R2, before that i need the advantages to proceed , if the advantages are not suite to my requirements then i will drop out this option.
    Please give me the detailed reply for my analysis
    hemadri

    Hi Hemadribabu,
    There are some new features in SQL Server 2008 Service Pack 2(SP2), including SQL Server utility, Data-tier Application (DAC), Reporting Services in SharePoint Integrated mode and partitioning improvement. Features are supported by the different editions
    of SQL Server 2008 R2. For example, the Report Builder 3.0, PowerPivot for excel are available on the SQL Server Datacenter and SQL Server 2008 R2 Parallel Data Warehouse, they can assist you creating business intelligence documents. Here are the Top
     new features in SQL Server 2008 R2, including 
    Report Builder 3.0, SQL Server 2008 R2 Datacenter, SQL Server 2008 R2 Parallel Data Warehouse, 
    StreamInsight, Master Data Services and so on.
    For more information about SQL Server 2008R2 and SQL Server 2008 SP2, you can review the following articles.
    http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).ASPX
    https://social.technet.microsoft.com/wiki/contents/articles/1486.microsoft-sql-server-2008-sp2-release-notes.aspx
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • While installing the sql server 2008 management studio I am getting the below error.So what do I do?

    Hi,
    While installing the sql server 2008 management studio I am getting the below error.
    unhandled exception has occured in your application.if you click continue,the application will ignore this error and attempt to continue.if you click quit,the aplication will close immediatly.
    An error occured creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings:Could not load file or
    assembly 'system.version=4.0.0.0. culture=neutral, publickey token=b77a5c561934e089' or one of its dependencies.the system cannot find the file supplied.
    (C:\users\harsha\appdata\local\microsoft_corporation\landingpage.exe_strongname_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config
    and finally it is giving the options like continue and quit the installation.
    So what do I do?
    regards,
    harsha.

    Hello,
    Please try deleting the following sub folder to see if this will work:
      C:\users\(my profile)\AppData\Local\Microsoft_Corporation
    If you can't see AppData folder, you could use following steps to show hidden files:
     1. Open an explorer window, hit "ALT-T" choose Folder Options then go to the view tab.
     2. Turn on Show hidden files, folders or drives and
    disable Hide protected Operating System files (recommended).
    SQL Server 2008 setup fails with a Microsoft .NET Framework exception:
     http://blogs.msdn.com/b/vsnetsetup/archive/2009/10/29/sql-server-2008-setup-fails-with-a-microsoft-net-framework-exception.aspx.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Error on setup failover cluster with Windows 2008 R2 enterprise and SQL Server 2008 R2 (also with SP1)

    Hi!
    The setup process fails with this error:
      Configuration error code:     
    0x1C2074D8@1216@1
      Configuration error description: There was an error setting private property 'VirtualServerName' to value 'CLUSTER02' for resource 'SQL Server'.  Error: Value does not fall within the expected range.
    I have found some hints by google, but nothing really helpfull.
    Has anyone had a simular problem when installing SQL server 2008 R2?
    All posts I found are about sql server 2008 (no R2!).
    The cluster itself is working (storage, network, msdtc, quorum...).
    Any hints?
    Andreas
    Here is the complete log:
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2067791871
      Exit facility code:            1216
      Exit error code:               1
      Exit message:                  Failed: see details below
      Start time:                    2012-04-06 11:23:57
      End time:                      2012-04-06 12:01:21
      Requested action:              InstallFailoverCluster
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20120406_112205\Detail.txt
      Exception help link:           http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.2500.0%26EvtType%3d0x625969A3%400x294A9FD9
    Cluster properties:
      Machine name: OC-SQLCL02ND01
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
      Machine name: OC-SQLCL02ND02
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
    Machine Properties:
      Machine name:                  OC-SQLCL02ND01
      Machine processor count:       32
      OS version:                    Windows Server 2008 R2
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  Yes
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
    Package properties:
      Description:                   SQL Server Database Services 2008 R2
      ProductName:                   SQL Server 2008 R2
      Type:                          RTM
      Version:                       10
      Installation location:         G:\x64\setup\
      Installation edition:          STANDARD
      Slipstream:                    True
      SP Level                       1
    User Input Settings:
      ACTION:                        InstallFailoverCluster
      AGTDOMAINGROUP:                <empty>
      AGTSVCACCOUNT:                 MANAGEMENT\sqladmin
      AGTSVCPASSWORD:                *****
      ASBACKUPDIR:                   S:\OLAP\Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   S:\OLAP\Config
      ASDATADIR:                     S:\OLAP\Data
      ASDOMAINGROUP:                 <empty>
      ASLOGDIR:                      S:\OLAP\Log
      ASPROVIDERMSOLAP:              1
      ASSVCACCOUNT:                  MANAGEMENT\sqladmin
      ASSVCPASSWORD:                 *****
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            MANAGEMENT\administrator
      ASTEMPDIR:                     S:\OLAP\Temp
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20120406_112205\ConfigurationFile.ini
      CUSOURCE:                     
      ENU:                           True
      ERRORREPORTING:                False
      FAILOVERCLUSTERDISKS:          Cluster Disk 3,Cluster Disk 4,Cluster Disk 5
      FAILOVERCLUSTERGROUP:          SQL Server (MSSQLSERVER)
      FAILOVERCLUSTERIPADDRESSES:    IPv4;172.29.2.122;Cluster Network 2;255.255.255.0,IPv4;172.29.3.122;Cluster Network 3;255.255.255.0
      FAILOVERCLUSTERNETWORKNAME:    CLUSTER02
      FARMACCOUNT:                   <empty>
      FARMADMINPORT:                 0
      FARMPASSWORD:                  *****
      FEATURES:                      SQLENGINE,REPLICATION,FULLTEXT,AS,RS,BIDS,CONN,IS,BC,SSMS,ADV_SSMS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  NT AUTHORITY\LOCAL SERVICE
      FTSVCPASSWORD:                 *****
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             S:\
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    MSSQLSERVER
      INSTANCENAME:                  MSSQLSERVER
      ISSVCACCOUNT:                  NT AUTHORITY\SYSTEM
      ISSVCPASSWORD:                 *****
      ISSVCSTARTUPTYPE:              Automatic
      PASSPHRASE:                    *****
      PCUSOURCE:                     d:\install\mssql\sp1
      PID:                           *****
      QUIET:                         False
      QUIETSIMPLE:                   False
      RSINSTALLMODE:                 FilesOnlyMode
      RSSVCACCOUNT:                  MANAGEMENT\sqladmin
      RSSVCPASSWORD:                 *****
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         *****
      SECURITYMODE:                  SQL
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLDOMAINGROUP:                <empty>
      SQLSVCACCOUNT:                 MANAGEMENT\sqladmin
      SQLSVCPASSWORD:                *****
      SQLSYSADMINACCOUNTS:           MANAGEMENT\administrator
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               L:\MSSQL10_50.MSSQLSERVER\MSSQL\Data
      SQLUSERDBDIR:                  T:\MSSQL10_50.MSSQLSERVER\MSSQL\Data
      SQLUSERDBLOGDIR:               L:\MSSQL10_50.MSSQLSERVER\MSSQL\Data
      SQMREPORTING:                  False
      UIMODE:                        Normal
      X86:                           False
      Configuration file:            C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20120406_112205\ConfigurationFile.ini
    Detailed results:
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:     
    0x1C2074D8@1216@1
      Configuration error description: There was an error setting private property 'VirtualServerName' to value 'CLUSTER02' for resource 'SQL Server'.  Error: Value does not fall within the expected range.
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20120406_112205\Detail.txt
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:     
    0x1C2074D8@1216@1
      Configuration error description: There was an error setting private property 'VirtualServerName' to value 'CLUSTER02' for resource 'SQL Server'.  Error: Value does not fall within the expected range.
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20120406_112205\Detail.txt
      Feature:                       Full-Text Search
      Status:                        Failed: see logs for details
      MSI status:                    Passed
      Configuration status:          Failed: see details below
      Configuration error code:     
    0x1C2074D8@1216@1
      Configuration error description: There was an error setting private property 'VirtualServerName' to value 'CLUSTER02' for resource 'SQL Server'.  Error: Value does not fall within the expected range.
      Configuration log:             C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20120406_112205\Detail.txt
      Feature:                       Analysis Services
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Reporting Services
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Integration Services
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Client Tools Connectivity
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management Tools - Complete
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Management Tools - Basic
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Client Tools Backwards Compatibility
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
      Feature:                       Business Intelligence Development Studio
      Status:                        Passed
      MSI status:                    Passed
      Configuration status:          Passed
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20120406_112205\SystemConfigurationCheck_Report.htm

    Hi Andreas Plachy,
    Please make sure that the Virtual Server Name ‘CLUSTER02’ is unique on the network. In addition, are there any resources named ‘SQL Server’ on the Windows cluster? If that is the case, you may need to rename the related resources to avoid conflicting with
    SQL Server, and try again.
    Stephanie Lv
    TechNet Community Support

  • SQL Server 2008 KB2977321 Failed with Error code 1642

    As part of application of security patches via windows update, sql server KB2977321 was applied along with a number of OS security patches. 
    Prior to applying the patches, I stopped the agent, engine, reporting, analysis and full text services.
    The Sql server build prior to windows update was (for both instances):
    ProductVersion           
    ProductLevel               
    Edition
    10.0.5500.0                 
    SP3            
    Standard Edition (64-bit)
    After the update process, my main instance is showing (the second instance is not in use yet and I have left it in its stopped state)
    Microsoft SQL Server 2008 (SP3) - 10.0.5520.0 (X64)
    Jul 11 2014 16:11:50
    Copyright (c) 1988-2008 Microsoft Corporation
    Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (VM)
    In the Administrative Logs after the OS patches were applied (and all were reported as successful by windows update), I found the following errors listed:
    Log Name:     
    Application
    Source:       
    MsiInstaller
    Date:         
    11/18/2014 7:16:45 PM
    Event ID:     
    1024
    Task Category: None
    Level:        
    Error
    Keywords:     
    Classic
    User:         
    SYSTEM
    Computer:     
    SJCDB3.intranet.co.st-johns.fl.us
    Description:
    Product: Microsoft SQL Server 2008 Database Engine Services - Update '{9145CF54-462E-4A28-8FB5-A44C93AD3716}' could not be installed. Error code 1642. Windows Installer can create logs to help troubleshoot
    issues with installing software packages. Use the following link for instructions on turning on logging support: http://go.microsoft.com/fwlink/?LinkId=23127
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">1024</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-11-19T00:16:45.000000000Z" />
    <EventRecordID>1764186</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SJCDB3.intranet.co.st-johns.fl.us</Computer>
    <Security UserID="S-1-5-18" />
      </System>
      <EventData>
    <Data>Microsoft SQL Server 2008 Database Engine Services</Data>
    <Data>{9145CF54-462E-4A28-8FB5-A44C93AD3716}</Data>
    <Data>1642</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
    <Binary>7B38373544383436332D313135422D343444322D414432352D3731454337453833423843437D207B39313435434635342D343632452D344132382D384642352D4134344339334144333731367D2031363432</Binary>
      </EventData>
    </Event>
    In the C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20141118_191448\Detail.txt file I found the following around the time the error was reported
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_engine_core_inst_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_engine_core_inst_Cpu64 - NotInstalled on the baseline msi package sql_engine_core_inst_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_engine_core_inst_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_engine_core_inst_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_engine_core_inst.msp PatchCode={9145CF54-462E-4A28-8FB5-A44C93AD3716}
    2014-11-18 19:16:30 Slp: Patch Id: KB2977321_sql_engine_core_inst_Cpu32 - The baseline msi is not installed. 
    The patch package is ignored.
    2014-11-18 19:16:30 Slp: Patch Id: KB2977321_sql_engine_core_inst_Cpu32 - Detail description of this patch package is: PatchId=KB2977321_sql_engine_core_inst_Cpu32 PatchVersion=10.3.5520.0 BaselinePackageId=sql_engine_core_inst_Cpu32
    BaselineVersion=10.3.5500.0; PatchFileName=sql_engine_core_inst.msp PatchCode={9145CF54-462E-4A28-8FB5-A44C93AD3716}
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_rs_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_rs_Cpu64 - NotInstalled on the baseline msi package sql_rs_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_rs_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_rs_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_rs.msp PatchCode={2296F7DD-2D3D-4802-B61A-AE7460EFB767}
    2014-11-18 19:16:30 Slp: Patch Id: KB2977321_sql_rs_Cpu32 - The baseline msi is not installed. 
    The patch package is ignored.
    2014-11-18 19:16:30 Slp: Patch Id: KB2977321_sql_rs_Cpu32 - Detail description of this patch package is: PatchId=KB2977321_sql_rs_Cpu32 PatchVersion=10.3.5520.0 BaselinePackageId=sql_rs_Cpu32 BaselineVersion=10.3.5500.0;
    PatchFileName=sql_rs.msp PatchCode={2296F7DD-2D3D-4802-B61A-AE7460EFB767}
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_is_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_is_Cpu64 - NotInstalled on the baseline msi package sql_is_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_is_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_is_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_is.msp PatchCode={E870296C-24CC-4D82-BB59-CD136692E2BD}
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_bids_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_bids_Cpu64 - NotInstalled on the baseline msi package sql_bids_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_bids_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_bids_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_bids.msp PatchCode={EA407FA6-C2D1-4D3D-9227-B9E06DDDEFD0}
    2014-11-18 19:16:30 Slp: Baseline Package Id sql_ssms_Cpu64 - The highest patch version is 10.3.5500.0
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_ssms_Cpu64 - NotInstalled on the baseline msi package sql_ssms_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_ssms_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_ssms_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_ssms.msp PatchCode={8A81B870-E8F0-415D-AC80-13BEAA3EC8C8}
    2014-11-18 19:16:30 Slp: Baseline Package Id: sql_common_core_Cpu64 - No patches are found by SQL Discovery on the installed package whose ProductCode is {5340A3B5-3853-4745-BED2-DD9FF5371331}
    2014-11-18 19:16:30 Slp: Patch Id KB2977321_sql_common_core_Cpu64 - NotInstalled on the baseline msi package sql_common_core_Cpu64. 
    Detail description of this patch package is: PatchId=KB2977321_sql_common_core_Cpu64 PatchVersion=10.3.5520.0 BaselinePackageId=sql_common_core_Cpu64 BaselineVersion=10.3.5500.0; PatchFileName=sql_common_core.msp PatchCode={CF023E0F-3A19-4DBF-BCA3-0F664B447EDB}
    The instance came up successfully and seems to be operating normally. Was there an error or was the KB installed correctly as the result of the windows update process indicated? 
    Is there a way I can verify this? 

    I did some research on this particular KB article and it seems to be related to Master Data Services which I am not using.  The KB was pushed automatically and I am not sure that it was a required update in our situation. I'd like to understand exactly
    what caused the error message before initiating a repair as this is a production and not a test environment.  Everything appears to be functioning properly and I have received direction from Microsoft in the past that information in some logs identified
    as level 'error' are in fact to be ignored.  I checked the windows update and this KB shows 'Successful' rather than failed or cancelled.
    I would also like more information on why sql server services should not be stopped prior to allowing the OS patches to be applied.   I have received messages in the past that stopping the services before service packs are applied
    prevent the necessity for a reboot of the machine.  I've never heard before that it is a best practice not to stop Sql service prior to applying patches.  Once the services are stopped, I have our infrastructure admin start a VM snapshot on
    the machine then kick off the windows update process. When done, I reboot the machine, test out Sql Server processes and then if all goes well give the ok to release the VM snapshot.  I've supported various databases for 12 years, Sql Server for 5
    years and this is the first time I've heard stopping the service manually can cause problems.  If that is the case, I will certainly change how I do things....
    I did run the discovery report and the results follow:
    Microsoft SQL Server 2008 Setup Discovery Report
    Product
    Instance
    Instance ID
    Feature
    Language
    Edition
    Version
    Clustered
    Sql Server 2008
    MSSQLSERVER
    MSSQL10.MSSQLSERVER
    Database Engine Services
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    MSSQLSERVER
    MSSQL10.MSSQLSERVER
    SQL Server Replication
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    MSSQLSERVER
    MSSQL10.MSSQLSERVER
    Full-Text Search
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    MSSQLSERVER
    MSAS10.MSSQLSERVER
    Analysis Services
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    MSSQLSERVER
    MSRS10.MSSQLSERVER
    Reporting Services
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    EVAULT
    MSSQL10.EVAULT
    Database Engine Services
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    Management Tools - Basic
    1033
    Standard Edition
    10.3.5520.0
    No
    Sql Server 2008
    Management Tools - Complete
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    Client Tools Connectivity
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    Client Tools Backwards Compatibility
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    Client Tools SDK
    1033
    Standard Edition
    10.3.5500.0
    No
    Sql Server 2008
    Integration Services
    1033
    Standard Edition
    10.3.5520.0
    No

  • B1 with SQL Server 2008 and SEC with SQL Server 2005

    Hi,
    we are currently upgrading from B1 2005 to B1 2007. With B1 2007 we could use MS SQL Server 2008. In parallel we have a SEC implementation (which uses SQL Server 2005).
    Would there be any issues with the integration of B1 and SEC although they run on with different SQL Server products?
    Thanks
    Olaf

    Hi
    By creating two different instances you can run both simultaneouly. But pls do check whether SEC will run on 2008 or not ?
    Ashish Gupte

  • SSRS 2012, SQL Server 2012. Problem with changing database

    Hi all!
    I have a problem with changing database for SSRS.
    I have a SSRS 2012 and SQL Server 2012. These programs is on WIndows Server 2012.
    I need to link SSRS to the new database instance. For this I run SSRS Configeration Manager, open tab Database, click Change Database. Then I choose option "Choose an existing report server database", click Next, write the server name, test
    connection (it's successed) and push Next again. Then I see this error message:
    Error
    The feature: "Using other editions of SQL Server for report data sources and/or the report server database" is not supported in this edition of Reporting Services.
    OK   
    I'm confused, cause I have compatible versions of programs and THIS error.
    Please, help me.
    Thanks.

    Hi Kirill,
    From the error message, we can know that the issue may be caused by incorrect editions of SQL Server for report data sources are used as the Report Server Database.
    When creating a report server database, please be aware that not all editions of SQL Server can be used to host the database. So we should make sure that we have used the correct database as the
    Report Server Database. For more details, please refer to the “Report Server Database Server Edition Requirements” section in the following document:
    http://technet.microsoft.com/en-us/library/cc645993.aspx
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • MS SQL Server 2008 performance problem

    We use TopLink 10.1.3.5 to connect to MS SQL Server 2008.
    What we are seeing is that when a query is being run by TopLink a lot of cursors open up and remain open. Our database CPU usage goes up and it affects the whole application.
    Our DBA took a look at it and said the database shows FETCH_APICURSOR* being used for select statements.
    Is there a way to tell TopLink not to use cursors for queries?
    Thanks.

    Can you pin point a particular TopLink query tied to the " FETCH_APICURSOR* " call in the app and post how it is being created?
    My guess is that the application is specifying the TopLink query object to return a cursor or stream and not closing it in all cases, or keeping them open for a long period - did you say they were leaking, or is it just that a large number are open at a time leading to performance problems?
    This streams+cursors are described in the TopLink docs here
    http://docs.oracle.com/cd/E21764_01/web.1111/b32441/qryadv.htm#CJGJBHGJ
    or the 10g docs here:
    http://sqltech.cl/doc/oas10gR3/web.1013/b13593/qryadv010.htm
    If this is the case, you might want to use a different strategy such as pagination instead of cursors, described here:
    http://docs.oracle.com/cd/E17904_01/web.1111/b32441/optimiz.htm#CHDIBGFE
    Best Regards,
    Chris

  • SQL Server 2008 Express Installation with command line options , FAILED.

    HI,
    I Have SQL Server 2005 Express instances on my PC. Now i am trying to install 2008 Express edition with Advance Services(Reporting.)
    I am trying to install the SQL Server 2008 Express with command line Options.
    /qs /Action=Install /Hideconsole /SecurityMode=SQL /Features=SQL,Tools,RS /InstanceName=XXXXXX /SAPWD="StrongPassword" /SQLSYSADMINACCOUNTS="Builtin\Administrators" /SQLSVCACCOUNT="NT AUTHORITY\SYSTEM" /RSSVCACCOUNT="NT
    AUTHORITY\SYSTEM" /BROWSERSVCSTARTUPTYPE=Automatic /TCPENABLED=1 /NPENABLED=1
    But installation exits. It says the previous version 2005 tool are already exists, Remove them to Continue the 2008 Server Installation.
    please suggest me how to avoid that check and continue installation by replacing the older tool with 2008 automatically.
    regards 
    Pratap M:)

    Have you found any error in event logs?
    In my case even after uninstalling all 2005 related components it didn't worked. I had to resort to a brute force way and
    remove following registry keys
    32 Bit OS: HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\90
    64 Bit OS: HKLM\Software\Wow6432Node\Microsoft\Microsoft SQL Server\90
    Check below threads
    http://stackoverflow.com/questions/175881/sql-server-express-2008-install-side-by-side-w-sql-2005-express-fails
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/5fc58507-9f40-4213-acbd-32a57c8822d7/cant-uninstall-sql-server-2005-express-tools?forum=sqlsetupandupgrade
    Please click the Mark as answer button and vote as helpful if this reply solves your problem

  • Connet sql server 2008 to java with sqljdbc

    I'm trying to connect sql server 2008 with java and I tired to read from microsft documentation and other internet sites to do it and always get an mistake. I used sqljdb, sqljdb4, sqljdb4.1 and any
    the most simple codec is:
     public static void main(String[] args) throws SQLException{
            try {
                String connectionUrl = "jdbc:sqlserver://localhost.\\SQLEXPRESS:1433;" +
                "databaseName=hackeadorazodb;user=hacker;password=;integratedSecurity=true";
                Connection con = DriverManager.getConnection(connectionUrl);
                if(con != null){
                    System.out.println("exito");
            } catch (Exception e) {
                System.out.println("error: "+e.toString());

       
    Hi hackeadorazo,
    Could you please post the full error message?
    From your description, it seems that you are connecting to a named SQL Server instance locally.
    Firstly, please make sure the following things.
        1. SQL Server is running in SQL Server Configuration Manager (SSCM)
        2. TCP/IP is enabled in SSCM.
        3. SQL Server is listening on port 1433. Right-click "TCP/IP" in SSCM > SQL Server Network Configuration > Protocols for SQLEXPRESS, then choose "Properties" and click "IP Addresses" tab, you
    can check the port from “IPAll/TCP Port”.
    Secondly, if you use current Windows user account (Windows authentication) to log on SQL Server, the
    connection URL should be as follows.
    String connectionUrl = "jdbc:sqlserver://localhost\\SQLEXPRESS:1433;" + "databaseName=hackeadorazodb;integratedSecurity=true";
    If you use a SQL Server account (SQL Server authentication) to
    log on SQL Server. You need to specify username and password in the
    connection URL as follows. In addition, please make sure that SQL Server is configured as “SQL Server and Windows Authentication Mode “in SQL Server Management Studio (SSMS) and the login ‘hacker’ exists in SQL Server Instance>Security>Login.
    String connectionUrl = "jdbc:sqlserver://localhost\\SQLEXPRESS:1433;" + "databaseName=hackeadorazodb;user=hacker;password=<Password>";
    For more details, you can review the following blogs.
    http://blogs.msdn.com/b/brian_swan/archive/2011/03/02/getting-started-with-the-sql-server-jdbc-driver.aspx
    http://www.codejava.net/java-se/jdbc/connect-to-microsoft-sql-server-via-jdbc
    Thanks,
    Lydia Zhang

  • MS SQL Server 2008 Metro Cluster with same subnet

    Hi All,
    I want to setup SQL 2008 Active / Passive Cluster for OCS 2007 between two Data centers, Both DCs are same location which building 1(DC1) and building 2(DC2).
    I am planning to use Hyper-V cluster between two DCs and then create SQL 2008 VMs then  create another windows 2008 with SQL clusters.
    For the above solution, I need to use ISCSI based EMC VNX-e storages on both DCs and do the replication.
    Is there any other better solution to perform? Please help me to provide more infromation.

    Hi,
    Additional, we recommend that your clustered servers be member servers. If they are, you need an additional server that acts as the domain controller in the domain that contains
    your failover cluster.
    The related KB:
    Failover Cluster Step-by-Step Guide: Configuring a Two-Node File Server Failover Cluster
    http://technet.microsoft.com/en-us/library/cc731844(v=ws.10).aspx
    Windows Server 2008 Multi-Site Clustering Technical Decision-Maker White Paper
    http://download.microsoft.com/download/3/B/5/3B51A025-7522-4686-AA16-8AE2E536034D/WS2008%20Multi%20Site%20Clustering.doc
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Oracle 11gR2 to SQL Server 2008 R2 - Problem executing SP on SQL server

    Hi,
    I have this problem: Executing a sp in SQL server from oracle
    --------------------ORACLE SP--------------------
    create or replace
    PROCEDURE DRIVER_SP
    AP IN OUT appl_param%ROWTYPE
    as
    v_sp_name varchar2(50);
    v_control_id number;
    val VARCHAR2(100);
    cur INTEGER;
    nr INTEGER;
    BEGIN
    v_sp_name := ap.MESSAGE_MISC_TEXT;
    v_control_id := ap.control_id;
    cur := DBMS_HS_PASSTHROUGH.OPEN_CURSOR@dblink_sqlserver;
    DBMS_HS_PASSTHROUGH.PARSE@dblink_sqlserver(cur, 'execute ' || v_sp_name || ' ' || to_char(v_control_id));
    LOOP
    nr := DBMS_HS_PASSTHROUGH.FETCH_ROW@dblink_sqlserver(cur);
    EXIT WHEN nr = 0;
    DBMS_HS_PASSTHROUGH.GET_VALUE@dblink_sqlserver(cur, 1, val);
    END LOOP;
    DBMS_HS_PASSTHROUGH.CLOSE_CURSOR@dblink_sqlserver(cur);
    driver_ap01_log_msg('Procedure returned: ' || val);
    commit;
    exception
    when others then
    driver_ap01_log_msg(sqlerrm);
    END DRIVER_SP;
    --------------------SQL Server SP-----------------------
    ALTER PROCEDURE [dbo].[PA01_SP]
    @control_id integer
    AS
    begin
    --update PA01
    --set infile_control_id = @control_id
    --insert into dbo.PA01LOG(msg) values('test')
    select 0
    end
    THE PROBLEM: Oracle SP calls SQL Server SP and any time I try to INSERT/UPDATE/DELETE (DML) within SQLServer SP it throws an exception on Oracle's end. Once I comment all DML code the proc runs fine.
    +"ORA-28511: lost RPC connection to heterogeneous remote agent using SID=ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xxxxxxx)(PORT=1511))(CONNECT_DATA=(SID=dg4msql)))+
    +ORA-02063: preceding line from DBLINK_SQLSERVER"+
    Please help.
    Thanks

    Thanks for your response, it got me closer to my goal. I'm still facing one problem:
    Let me explain what I need to achieve
    Purpose
    Execute an Oracle stored procedure which in turn executes a stored procedure on remote SQLServer which updates local tables on that SQLServer.
    Observations
    The execution of both procedures completes successfully. However, an explicit COMMIT statement must be issued on the Oracle session which initiated the transaction before any data could be read from the SQLServer updated table.
    The following is test exercise for proof of concept.
    PL/SQL code
    declare
    out_arg integer;
    ret_val integer;
    begin
    out_arg := 0;
    ret_val := "dbo"."ZZZ_SP"@DBLINK_SQLSERVER(10, out_arg);
    dbms_output.put_line(to_char(out_arg));
    end;
    SQLServer code
    ALTER procedure [dbo].[ZZZ_SP] (@arg1 integer, @arg2 integer output)
    AS
    begin tran tran1
    insert into dbo.PA01LOG(msg) values('ddd')
    commit tran tran1
    set @arg2 = @arg1 * 100
    select -1
    GO
    I have put the Oracle gateway in Single_Site mode to avoid two phase commit. I want SQLServer to be able to run its own transaction management. I don't want Oracle to be responsible for completing the transactions which take place within SQLServer.
    I fear there might be a gap in my knowledge.
    Any ideas why I need to issue a COMMIT in Oracle session to release the lock from SQLServer table?
    Thanks

Maybe you are looking for