SQL Server 2008 64-bit - Master Data Services troubleshoot database create Error

I am getting the following error when trying to create a new database in SQL server using MDS
        Microsoft.MasterDataServices.Configuration.ConfigurationException: Data is Null. This method or property cannot be called on Null values. ---> System.Data.SqlTypes.SqlNullValueException: Data is Null. This method or
property cannot be called on Null values.
           at System.Data.SqlClient.SqlBuffer.get_String()
           at Microsoft.MasterDataServices.Configuration.DatabaseUtilities.GetDatabases(DatabaseServerInformation server)
           at Microsoft.MasterDataServices.Configuration.Commands.NewMasterDataServicesDatabase.InternalProcessRecord()
           at Microsoft.MasterDataServices.Configuration.Commands.ConfigurationCmdlet.ProcessRecord()
           at System.Management.Automation.CommandProcessor.ProcessRecord()
           --- End of inner exception stack trace ---
          at Microsoft.MasterDataServices.Configuration.InstanceManager.Execute(Command command)
           at Microsoft.MasterDataServices.Configuration.InstanceManager.CreateMasterDataServicesDatabase(DatabaseServerInformation serverInformation, DatabaseInformation databaseInformation)
           at Microsoft.MasterDataServices.Configuration.UI.MdsDatabase.CreateNewDatabase()
How can this error be resolved?
Thanks

Just double check the code and history.
The bug is fixed in 2011/08/23 and made into SQL 2012 RTM. So I assume you are using 2008 R2, which mainstream support is ended. I am not able to push a fix to that.
https://msdn.microsoft.com/en-us/library/ms178534.aspx
collation_name
sysname
Collation for the database. Acts as the default collation in the database.
NULL = Database is not online or AUTO_CLOSE is set to ON and the database is closed.
The only option would be fix the NULL collation databases.

Similar Messages

  • Upgrade SQL server 2008 r2 to latest available Service Pack in SP 2010 farm.

    Hi, 
    We have 2 server's in the farm ( WFE+App server and SQL server).
    We are planning to upgrade SQL server 2008 r2 to latest available Service pack [10.50.6000 (SP3)] version.
    So before upgrading SQL server , need to take any necessary actions from SharePoint server side ?
    And once patching is done on SQL server, need to run SharePoint Configuration wizard ?
    Please provide best way for this upgrade.
    Cheers,
    RameshNK

    You certainly can turn off SharePoint/stop IIS if you wish, but it isn't required. SharePoint will be unavailable during a portion of the SP3 upgrade and will reconnect once SQL is back online.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Distributed transaction using linked server not working in SQL Server 2008 64 bit

    Hi. I have had an issue trying to get distributed transactions to work in SQL Server 2008 using a linked server. The error message I get is
    OLE DB provider "SQLNCLI10" for linked server "pod1" returned message "No transaction is active.".
    Msg 7391, Level 16, State 2, Line 3
    The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "pod1" was unable to begin a distributed transaction.
    My Environment:
    Windows Server 2008 Enterprise 64 bit, SQL Server 2008 Enterprise 64 bit
    Problem occurs with multiple different builds of SQL Server 2008 - I have been able to reproduce the problem with 10.0.1600.0, 10.0.1779.0 (CU 2), as well as 10.0.2531 (SP1)
    I am aware that other people have had this issue and have reviewed all existing posts. I have verified that the MSDTC is configured correctly on both machines. I have also used DTCTester to verify that DTC is working correctly on all machines in question.
    None of the mentioned resolutions has solved this problem for me.
    I am not seeing this problem occur on my 32 bit test machines - it is only occurring if at least one of the two machines is 64 bit.

    Hi All,
    I realise that this topic may be a little bit out-of-date but if someone gets here from some search engine trying to find a solution for DTC problems, this MAY be useful.
    So... I recently had the same issue, tried all the approaches described in KB and other articles, but it didn't help. Because my task to solve this was not of the highest priority I forgot about it for some time.
    Today I was troubleshooting some other issue and, by accident discovered source of that first problem:
    In the EventViewer I found Error entry logged by MSDTC saying:
    "The local MS DTC detected that the MS DTC on vm-server1 (other machine name that also runs DTC - my comment) has the same unique identity as the local MS DTC. This means that the two MS DTC will not be able to communicate
    with each other. This problem typically occurs if one of the systems were cloned using unsupported cloning tools. MS DTC requires that the systems be cloned using supported cloning tools such as SYSPREP. Running 'msdtc -uninstall' and then 'msdtc -install'
    from the command prompt will fix the problem. Note: Running 'msdtc -uninstall' will result in the system losing all MS DTC configuration information."
    So I followed suggestion and run:
    msdtc -uninstall
    msdtc -install
    This solved my problems with DTC. Hope it will help someone.
    Piotr

  • Bug in SQL Server 2008 R2 for Change Data Capture (CDC)

    I'm pretty sure I've encountered a bug in SQL Server 2008 R2 that's been fixed in 2012, regarding changing the design of a database using CDC.  With CDC disabled on a table with sys.sp_cdc_disable_table, I can add a column or change a column's data
    type, but when I call sp_rename, on 2008 R2 I'm getting "Cannot alter column 'xxx' because it is 'REPLICATED'.", even though the table's properties shows "Table is replicated" as False.  In 2012, works fine.
    Even calling sys.sp_cdc_disable_db didn't prevent this error.

    Feel free to file a request on http://connect.microsoft.com
    Balmukund Lakhani | Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • Install sql server 2008 r2 in windows xp service pack3 gives error

    After Installing Support Files, a pop up occurs stating that Microsoft SQL Server 2008 R2 installation has encountered an error.
    Error Signature: EventType : sql100msi P1 : 10.50.1600.1 P2 : 10.50.1600.1
    P3 : sqlncli.msi P4 : 0x2d2816fe P5 : 0x1603 P6 : install_sqlncli can anyone help me

    Hello people. I am having much problem trying to get the SQL installed on my computer.
    I just added half of error log:
    === Verbose logging started: 5/1/2014  13:27:12  Build type: SHIP UNICODE 4.05.6001.00  Calling process: f:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x86\setup100.exe
    ===
    MSI (c) (94:CC) [13:27:12:770]: Resetting cached policy values
    MSI (c) (94:CC) [13:27:12:770]: Machine policy value 'Debug' is 0
    MSI (c) (94:CC) [13:27:12:770]: ******* RunEngine:
               ******* Product: f:\41ab42c0be4c457100b4\1033_ENU_LP\x86\setup\x86\sqlncli.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (c) (94:CC) [13:27:12:770]: Client-side and UI is none or basic: Running entire install on the server.
    MSI (c) (94:CC) [13:27:12:770]: Grabbed execution mutex.
    MSI (c) (94:CC) [13:27:12:770]: Cloaking enabled.
    MSI (c) (94:CC) [13:27:12:770]: Attempting to enable all disabled privileges before calling Install on Server
    MSI (c) (94:CC) [13:27:12:770]: Incrementing counter to disable shutdown. Counter after increment: 0
    MSI (s) (2C:A0) [13:27:12:833]: Running installation inside multi-package transaction f:\41ab42c0be4c457100b4\1033_ENU_LP\x86\setup\x86\sqlncli.msi
    MSI (s) (2C:A0) [13:27:12:833]: Grabbed execution mutex.
    MSI (s) (2C:6C) [13:27:12:848]: Resetting cached policy values
    MSI (s) (2C:6C) [13:27:12:848]: Machine policy value 'Debug' is 0
    MSI (s) (2C:6C) [13:27:12:848]: ******* RunEngine:
               ******* Product: f:\41ab42c0be4c457100b4\1033_ENU_LP\x86\setup\x86\sqlncli.msi
               ******* Action: 
               ******* CommandLine: **********
    MSI (s) (2C:6C) [13:27:12:848]: Machine policy value 'DisableUserInstalls' is 0
    MSI (s) (2C:6C) [13:27:13:379]: File will have security applied from OpCode.
    MSI (s) (2C:6C) [13:27:13:629]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'f:\41ab42c0be4c457100b4\1033_ENU_LP\x86\setup\x86\sqlncli.msi' against software restriction policy
    MSI (s) (2C:6C) [13:27:13:645]: SOFTWARE RESTRICTION POLICY: f:\41ab42c0be4c457100b4\1033_ENU_LP\x86\setup\x86\sqlncli.msi has a digital signature
    MSI (s) (2C:6C) [13:27:13:942]: SOFTWARE RESTRICTION POLICY: f:\41ab42c0be4c457100b4\1033_ENU_LP\x86\setup\x86\sqlncli.msi is permitted to run at the 'unrestricted' authorization level.
    MSI (s) (2C:6C) [13:27:13:942]: End dialog not enabled
    MSI (s) (2C:6C) [13:27:13:942]: Original package ==> f:\41ab42c0be4c457100b4\1033_ENU_LP\x86\setup\x86\sqlncli.msi
    MSI (s) (2C:6C) [13:27:13:942]: Package we're running from ==> f:\WINDOWS\Installer\250ed1.msi
    MSI (s) (2C:6C) [13:27:13:958]: APPCOMPAT: looking for appcompat database entry with ProductCode '{4AB6A079-178B-4144-B21F-4D1AE71666A2}'.
    MSI (s) (2C:6C) [13:27:13:958]: APPCOMPAT: no matching ProductCode found in database.
    MSI (s) (2C:6C) [13:27:13:973]: MSCOREE not loaded loading copy from system32
    MSI (s) (2C:6C) [13:27:13:989]: Machine policy value 'TransformsSecure' is 0
    MSI (s) (2C:6C) [13:27:13:989]: User policy value 'TransformsAtSource' is 0
    MSI (s) (2C:6C) [13:27:13:989]: Machine policy value 'DisablePatch' is 0
    MSI (s) (2C:6C) [13:27:13:989]: Machine policy value 'AllowLockdownPatch' is 0
    MSI (s) (2C:6C) [13:27:13:989]: Machine policy value 'DisableLUAPatching' is 0
    MSI (s) (2C:6C) [13:27:13:989]: Machine policy value 'DisableFlyWeightPatching' is 0
    MSI (s) (2C:6C) [13:27:13:989]: APPCOMPAT: looking for appcompat database entry with ProductCode '{4AB6A079-178B-4144-B21F-4D1AE71666A2}'.
    MSI (s) (2C:6C) [13:27:13:989]: APPCOMPAT: no matching ProductCode found in database.
    MSI (s) (2C:6C) [13:27:14:004]: Transforms are not secure.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'F:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140501_131426\sqlncli_Cpu32_1.log'.
    MSI (s) (2C:6C) [13:27:14:004]: Command Line: ADDLOCAL=SQL_SNAC_CORE,SQL_SNAC_SDK INSTALLSQLSHAREDDIR_32=F:\Program Files\Microsoft SQL Server\ IACCEPTSQLNCLILICENSETERMS=YES REBOOT=ReallySuppress MEDIAPACKAGEPATH=\1033_ENU_LP\x86\setup\x86\ EXTERNALMSICONTROL=1
    CURRENTDIRECTORY=f:\41ab42c0be4c457100b4 CLIENTUILEVEL=3 MSICLIENTUSESEXTERNALUI=1 CLIENTPROCESSID=3988 
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{79872AB7-3F02-4F99-BDA4-03BBC4644342}'.
    MSI (s) (2C:6C) [13:27:14:004]: Product Code passed to Engine.Initialize:           ''
    MSI (s) (2C:6C) [13:27:14:004]: Product Code from property table before transforms: '{4AB6A079-178B-4144-B21F-4D1AE71666A2}'
    MSI (s) (2C:6C) [13:27:14:004]: Product Code from property table after transforms:  '{4AB6A079-178B-4144-B21F-4D1AE71666A2}'
    MSI (s) (2C:6C) [13:27:14:004]: Product not registered: beginning first-time install
    MSI (s) (2C:6C) [13:27:14:004]: Product {4AB6A079-178B-4144-B21F-4D1AE71666A2} is not managed.
    MSI (s) (2C:6C) [13:27:14:004]: MSI_LUA: Credential prompt functionality not available on this operating system
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding ProductState property. Its value is '-1'.
    MSI (s) (2C:6C) [13:27:14:004]: Entering CMsiConfigurationManager::SetLastUsedSource.
    MSI (s) (2C:6C) [13:27:14:004]: User policy value 'SearchOrder' is 'nmu'
    MSI (s) (2C:6C) [13:27:14:004]: Adding new sources is allowed.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
    MSI (s) (2C:6C) [13:27:14:004]: Package name extracted from package path: 'sqlncli.msi'
    MSI (s) (2C:6C) [13:27:14:004]: Package to be registered: 'sqlncli.msi'
    MSI (s) (2C:6C) [13:27:14:004]: Note: 1: 2262 2: AdminProperties 3: -2147287038 
    MSI (s) (2C:6C) [13:27:14:004]: Machine policy value 'DisableMsi' is 0
    MSI (s) (2C:6C) [13:27:14:004]: Machine policy value 'AlwaysInstallElevated' is 0
    MSI (s) (2C:6C) [13:27:14:004]: User policy value 'AlwaysInstallElevated' is 0
    MSI (s) (2C:6C) [13:27:14:004]: Product installation will be elevated because user is admin and product is being installed per-machine.
    MSI (s) (2C:6C) [13:27:14:004]: Running product '{4AB6A079-178B-4144-B21F-4D1AE71666A2}' with elevated privileges: Product is assigned.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'SQL_SNAC_CORE,SQL_SNAC_SDK'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding INSTALLSQLSHAREDDIR_32 property. Its value is 'F:\Program Files\Microsoft SQL Server\'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding IACCEPTSQLNCLILICENSETERMS property. Its value is 'YES'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding REBOOT property. Its value is 'ReallySuppress'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding MEDIAPACKAGEPATH property. Its value is '\1033_ENU_LP\x86\setup\x86\'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding EXTERNALMSICONTROL property. Its value is '1'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding CURRENTDIRECTORY property. Its value is 'f:\41ab42c0be4c457100b4'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding CLIENTUILEVEL property. Its value is '3'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding MSICLIENTUSESEXTERNALUI property. Its value is '1'.
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '3988'.
    MSI (s) (2C:6C) [13:27:14:004]: Machine policy value 'DisableAutomaticApplicationShutdown' is 0
    MSI (s) (2C:6C) [13:27:14:004]: DisableAutomaticApplicationShutdown system policy is ignored on this version of Windows.
    MSI (s) (2C:6C) [13:27:14:004]: TRANSFORMS property is now: 
    MSI (s) (2C:6C) [13:27:14:004]: PROPERTY CHANGE: Adding VersionDatabase property. Its value is '300'.
    MSI (s) (2C:6C) [13:27:14:004]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Application Data
    MSI (s) (2C:6C) [13:27:14:020]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Favorites
    MSI (s) (2C:6C) [13:27:14:020]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\NetHood
    MSI (s) (2C:6C) [13:27:14:020]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\My Documents
    MSI (s) (2C:6C) [13:27:14:020]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\PrintHood
    MSI (s) (2C:6C) [13:27:14:020]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Recent
    MSI (s) (2C:6C) [13:27:14:020]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\SendTo
    MSI (s) (2C:6C) [13:27:14:020]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Templates
    MSI (s) (2C:6C) [13:27:14:036]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\All Users\Application Data
    MSI (s) (2C:6C) [13:27:14:036]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Local Settings\Application Data
    MSI (s) (2C:6C) [13:27:14:036]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\My Documents\My Pictures
    MSI (s) (2C:6C) [13:27:14:036]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\All Users\Start Menu\Programs\Administrative Tools
    MSI (s) (2C:6C) [13:27:14:036]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\All Users\Start Menu\Programs\Startup
    MSI (s) (2C:6C) [13:27:14:036]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\All Users\Start Menu\Programs
    MSI (s) (2C:6C) [13:27:14:036]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\All Users\Start Menu
    MSI (s) (2C:6C) [13:27:14:051]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\All Users\Desktop
    MSI (s) (2C:6C) [13:27:14:051]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Start Menu\Programs\Administrative Tools
    MSI (s) (2C:6C) [13:27:14:051]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Start Menu\Programs\Startup
    MSI (s) (2C:6C) [13:27:14:051]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Start Menu\Programs
    MSI (s) (2C:6C) [13:27:14:051]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Start Menu
    MSI (s) (2C:6C) [13:27:14:051]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\Rashmi\Desktop
    MSI (s) (2C:6C) [13:27:14:051]: SHELL32::SHGetFolderPath returned: F:\Documents and Settings\All Users\Templates
    MSI (s) (2C:6C) [13:27:14:051]: SHELL32::SHGetFolderPath returned: F:\WINDOWS\Fonts
    MSI (s) (2C:6C) [13:27:14:051]: Note: 1: 2898 2: MS Sans Serif 3: MS Sans Serif 4: 0 5: 16 

  • Need clear steps for doing performance tuning on SQL Server 2008 R2 (DB Engine, Reporting Services and Integration Services)

    We have to inverstigate about a reporting solution where things are getting slow (may be material, database design, network matters).
    I have red a lot in MSDN and some books about performance tuning on SQL Server 2008 R2 (or other) but frankly, I feel a little lost in all that stuff
    I'am looking for practical steps in order to do the tuning. Someone had like a recipe for that : a success story...
    My (brain storm) Methodology should follow these steps:
     Resource bottlenecks: CPU, memory, and I/O bottlenecks
     tempdb bottlenecks
     A slow-running user query : Missing indexes, statistics,...
     Use performance counters : there are many, can one give us the list of the most important
    how to do fine tuning about SQL Server configuration
    SSRS, SSIS configuration ? 
    And do the recommandations.
    Thanks
    "there is no Royal Road to Mathematics, in other words, that I have only a very small head and must live with it..."
    Edsger W. Dijkstra

    Hello,
    There is no clear defined step which can be categorized as step by step to performance tuning.Your first goal is to find out cause or drill down to factor causing slowness of SQL server it can be poorly written query ,missing indexes,outdated stats.RAM crunch
    CPU crunch so on and so forth.
    I generally refer to below doc for SQL server tuning
    http://technet.microsoft.com/en-us/library/dd672789(v=sql.100).aspx
    For SSIS tuning i refer below doc.
    http://technet.microsoft.com/library/Cc966529#ECAA
    http://msdn.microsoft.com/en-us/library/ms137622(v=sql.105).aspx
    When I face issue i generally look at wait stats ,wait stats give you idea about on what resource query was waiting.
    --By Jonathan KehayiasSELECT TOP 10
    wait_type ,
    max_wait_time_ms wait_time_ms ,
    signal_wait_time_ms ,
    wait_time_ms - signal_wait_time_ms AS resource_wait_time_ms ,
    100.0 * wait_time_ms / SUM(wait_time_ms) OVER ( )
    AS percent_total_waits ,
    100.0 * signal_wait_time_ms / SUM(signal_wait_time_ms) OVER ( )
    AS percent_total_signal_waits ,
    100.0 * ( wait_time_ms - signal_wait_time_ms )
    / SUM(wait_time_ms) OVER ( ) AS percent_total_resource_waits
    FROM sys.dm_os_wait_stats
    WHERE wait_time_ms > 0 -- remove zero wait_time
    AND wait_type NOT IN -- filter out additional irrelevant waits
    ( 'SLEEP_TASK', 'BROKER_TASK_STOP', 'BROKER_TO_FLUSH',
    'SQLTRACE_BUFFER_FLUSH','CLR_AUTO_EVENT', 'CLR_MANUAL_EVENT',
    'LAZYWRITER_SLEEP', 'SLEEP_SYSTEMTASK', 'SLEEP_BPOOL_FLUSH',
    'BROKER_EVENTHANDLER', 'XE_DISPATCHER_WAIT', 'FT_IFTSHC_MUTEX',
    'CHECKPOINT_QUEUE', 'FT_IFTS_SCHEDULER_IDLE_WAIT',
    'BROKER_TRANSMITTER', 'FT_IFTSHC_MUTEX', 'KSOURCE_WAKEUP',
    'LAZYWRITER_SLEEP', 'LOGMGR_QUEUE', 'ONDEMAND_TASK_QUEUE',
    'REQUEST_FOR_DEADLOCK_SEARCH', 'XE_TIMER_EVENT', 'BAD_PAGE_PROCESS',
    'DBMIRROR_EVENTS_QUEUE', 'BROKER_RECEIVE_WAITFOR',
    'PREEMPTIVE_OS_GETPROCADDRESS', 'PREEMPTIVE_OS_AUTHENTICATIONOPS',
    'WAITFOR', 'DISPATCHER_QUEUE_SEMAPHORE', 'XE_DISPATCHER_JOIN',
    'RESOURCE_QUEUE' )
    ORDER BY wait_time_ms DESC
    use below link to analyze wait stats
    http://www.sqlskills.com/blogs/paul/wait-statistics-or-please-tell-me-where-it-hurts/
    HTH
    PS: for reporting services you can post in SSRS forum
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Heterogeneous Connectivity  10g r2 - SQL Server 2008 64 bit  - DMLs

    Hello,
    How do I update and delete based on condition of a where clause from an Oracle RDB 10g r2 instance to SQL Server database?
    I am using Oracle Database Gateway 11g for ODBC
    For e.g. consider following statement
    update  "ShipConfirm"@testsql set  "PackageReference" = 'test' where "PickListNumber" = '349318'in above example the ShipConfirm table in testsql DB link actually belongs to SQL Server 2008. And I am updating this from Oracle 10g's SQL Plus.
    When Above statement runs, Oracle gives following error
    ORA-02070: database TESTSQL does not support some function in this contextWhen I pass value without single quotes, I get following error
    ORA-02070: database TESTSQL does not support TO_NUMBER in this contextIf I remove where clauses then all Updates and Deletes are working just fine.
    Please advise.
    Thank you
    D

    To diagnose the error, please provide me the SQL statement for the create table command of the SQL Server table.
    In addition make sure no gateway process is loaded, then add/change your gateway init file: HS_FDS_TRACE_LEVEL=255
    Start a new SQL*Plus session and reexecute your statement.
    Upload the generated trace file to a public share like https://www.dropbox.com/tour and provide me the link
    Edited by: kgronau on Dec 4, 2011 9:46 AM
    If you don't want to post your trace file in a public share (security concerns), then please log a service request at Oracle Support.

  • Upgrade sql server 2008 to 2008R2 and apply Service pack 3

    Hello,
    I have a two node cluster (sql server 2008).  I would like to upgrade to SQL Server R2 and at the same time would like to patch to Service Pack 3.  What would be the best way to accomplish this task with minimal downtime to the users?
    This is my plan:
    1.  Detach any read only databases.
    2.  Upgrade to 2008 R2 (shared feature only) on passive node (node1).
    3.  Apply SP3 on passive node in step 2.
    4.  Swith active node to passive node (node2).
    5. Upgrade to 2008 R2 (shared feature only) on node2.
    6. Apply SP3 on node2.
    7.  Upgrade db (instance) on node2 to 2008 R2.
    8.  Upgrade db (instance) on node1 to 2008 R2.
    9.  Re-attach read only databases.
    Is my procedures correct?
    Thank you.

    Hello,
    Have you seen the following article before?
    http://msdn.microsoft.com/en-us/library/ms191295(v=sql.105).aspx
    You can slipstream SQL 2008 R2 + SP3.
    http://blogs.msdn.com/b/petersad/archive/2011/07/13/how-to-slipstream-sql-server-2008-r2-and-a-sql-server-2008-r2-service-pack-1-sp1.aspx
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Understand SQL Server 2008 R2 replication features for a reporting database

    Hi, I am using SQL Server 2008 R2 and working on building a reporting database using transactional push replication and want to know the downside that we should aware of using this.
    For instance, is the data always available to the users even when changes are being written from the publisher?
    I am also interested in learning replication mechanism & internals. How should I proceed?
    Thanks in advance........
    Ione

    >>For instance, is the data always available to the users even when changes are being
    written from the publisher?
    Answer is Yes.
    For more information
    http://www.codeproject.com/Articles/715550/SQL-Server-Replication-Step-by-Step
    --Prashanth

  • Hard Delete all soft delete records (members) in Master Data Service (MDS) database

    Hi,
    I am using Master Data Service for couple of months now. I can load, update, merge and soft delete data in MDS. Occasionally we even have to hard delete data from MDS. If we keep on soft deleting records in a MDS table eventually there will be huge number
    of soft deleted records.
    Is there an easy way to hard delete all the soft deleted records from all MDS tables in a specific Model.
    Regards,
    Rehan

    We did develop a Transact SQL procedure for this using the staging interface. It works and can be used freely :)
    God Luck!
    Jan Isacsson
    USE [MDS]
    GO
    /****** Object: StoredProcedure [dbo].[AutoPurge] Script Date: 4/21/2015 10:39:21 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- To be used without warranty but it works even for collections
    -- Jan Isacsson (www.independent.se) 2015-04-21
    CREATE PROCEDURE [dbo].[AutoPurge]
    @modelName nvarchar(200) = 'PDWmReferenceData',
    @versionName nvarchar(200) = 'VERSION_1',
    @entityName nvarchar(200) = NULL
    AS
    DECLARE @name nvarchar(200)
    DECLARE @tableName nvarchar(200)
    DECLARE @stagingName nvarchar(200)
    DECLARE @collectionTable nvarchar(200)
    DECLARE @collectionMemberTable nvarchar(200)
    DECLARE @isFlat INT
    DECLARE @sqlIsFlat NVARCHAR(512)
    DECLARE @sqlGetEntityTable NVARCHAR(512)
    DECLARE @sqlGetCollectionTable NVARCHAR(512)
    DECLARE @sqlGetCollectionMemberTable NVARCHAR(512)
    DECLARE @sqlGetStagingBaseTable NVARCHAR(512)
    DECLARE @sqlLoadPurgeConsolidated NVARCHAR(512)
    DECLARE @sqlLoadPurgeLeaf NVARCHAR(512)
    DECLARE @sqlRinseStaging NVARCHAR(512)
    DECLARE @sqlPurgeCollections NVARCHAR(512)
    DECLARE @sqlCheckErrorStaging NVARCHAR(512)
    DECLARE @batchTagName NVARCHAR(512)
    DECLARE @executePurge NVARCHAR(512)
    DECLARE @errorMsg NVARCHAR(512)
    DECLARE @i INT
    DECLARE @id INT
    DECLARE leaf_entity_cursor CURSOR FOR
    select e.ID, e.Name from
    mdm.tblModel m,
    mdm.tblEntity e
    where
    e.Model_ID = m.ID
    and m.Name = @modelName
    DECLARE noleaf_entity_cursor CURSOR FOR
    select e.ID, e.Name from
    mdm.tblModel m,
    mdm.tblEntity e
    where
    e.Model_ID = m.ID
    and m.Name = @modelName
    and e.IsFlat = 0
    -- Leaf purge
    SET @batchTagName = '''AutoPurge'''
    OPEN leaf_entity_cursor
    FETCH NEXT FROM leaf_entity_cursor INTO @id, @name
    WHILE @@FETCH_STATUS = 0
    BEGIN TRY
    if @name = @entityName or @entityName is null
    BEGIN
    SET @sqlGetEntityTable = N'select @tableName = EntityTable from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
    EXEC sp_executesql
    @query = @sqlGetEntityTable,
    @params = N'@tableName NVARCHAR(100) OUTPUT',
    @tableName = @tableName OUTPUT
    SET @sqlGetStagingBaseTable = N'select @stagingName = StagingBase from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
    EXEC sp_executesql
    @query = @sqlGetStagingBaseTable,
    @params = N'@stagingName NVARCHAR(100) OUTPUT',
    @stagingName = @stagingName OUTPUT
    SET @sqlRinseStaging = N'delete from stg.' + @stagingName + '_Leaf where BatchTag = ' + @batchTagName
    EXEC sp_executesql @query = @sqlRinseStaging
    SET @i = @@RowCount
    SET @sqlLoadPurgeLeaf = N'insert into stg.' + @stagingName + '_Leaf (ImportType, ImportStatus_ID, BatchTag, Code) select 6, 0, ''AutoPurge'', Code from mdm.' + @tableName + ' where Status_ID = 2'
    EXEC sp_executesql @query = @sqlLoadPurgeLeaf
    SET @i = @@RowCount
    if @i != 0
    BEGIN
    SET @executePurge = N'EXEC stg.udp_' + @stagingName + '_Leaf @VersionName = ''' + @versionName + ''', @LogFlag = 1, @BatchTag = ' + @batchTagName
    EXEC sp_executesql @query = @executePurge
    SET @i = @@RowCount
    SET @sqlCheckErrorStaging = N'select ErrorCode from stg.' + @stagingName + '_Leaf where BatchTag = ' + @batchTagName + ' and ErrorCode != 0'
    EXEC sp_executesql @query = @sqlCheckErrorStaging
    SET @i = @@RowCount
    if @i != 0
    BEGIN
    SET @errorMsg = 'Error in purging leaf entity: ' + CONVERT(nvarchar,@id)
    RAISERROR (@errorMsg, 16, 1 )
    END
    END
    END
    FETCH NEXT FROM leaf_entity_cursor INTO @id, @name
    END TRY
    BEGIN CATCH
    SET @errorMsg = ERROR_MESSAGE()
    PRINT @errorMsg
    BREAK
    END CATCH
    -- Consolidated purge
    OPEN noleaf_entity_cursor
    FETCH NEXT FROM noleaf_entity_cursor INTO @id, @name
    WHILE @@FETCH_STATUS = 0
    BEGIN TRY
    if @name = @entityName or @entityName is null
    BEGIN
    SET @sqlGetEntityTable = N'select @tableName = HierarchyParentTable from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
    EXEC sp_executesql
    @query = @sqlGetEntityTable,
    @params = N'@tableName NVARCHAR(100) OUTPUT',
    @tableName = @tableName OUTPUT
    SET @sqlGetStagingBaseTable = N'select @stagingName = StagingBase from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
    EXEC sp_executesql
    @query = @sqlGetStagingBaseTable,
    @params = N'@stagingName NVARCHAR(100) OUTPUT',
    @stagingName = @stagingName OUTPUT
    SET @sqlRinseStaging = N'delete from stg.' + @stagingName + '_Consolidated where BatchTag = ' + @batchTagName
    EXEC sp_executesql @query = @sqlRinseStaging
    SET @i = @@RowCount
    SET @sqlLoadPurgeLeaf = N'insert into stg.' + @stagingName + '_Consolidated (ImportType, ImportStatus_ID, BatchTag, HierarchyName, Code) select 4, 0, ''AutoPurge'', ''' +@entityName + ''', Code from mdm.' + @tableName + ' where Status_ID = 2'
    EXEC sp_executesql @query = @sqlLoadPurgeLeaf
    SET @i = @@RowCount
    if @i != 0
    BEGIN
    SET @executePurge = N'EXEC stg.udp_' + @stagingName + '_Consolidated @VersionName = ''' + @versionName + ''', @LogFlag = 1, @BatchTag = ' + @batchTagName
    EXEC sp_executesql @query = @executePurge
    SET @i = @@RowCount
    SET @sqlCheckErrorStaging = N'select ErrorCode from stg.' + @stagingName + '_Consolidated where BatchTag = ' + @batchTagName + ' and ErrorCode != 0'
    EXEC sp_executesql @query = @sqlCheckErrorStaging
    SET @i = @@RowCount
    if @i != 0
    BEGIN
    SET @errorMsg = 'Error in purging consolidated entity: ' + CONVERT(nvarchar,@id)
    RAISERROR (@errorMsg, 16, 1 )
    END
    END
    SET @sqlGetCollectionTable = N'select @collectionTable = CollectionTable from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
    EXEC sp_executesql
    @query = @sqlGetCollectionTable,
    @params = N'@collectionTable NVARCHAR(100) OUTPUT',
    @collectionTable = @collectionTable OUTPUT
    SET @sqlGetCollectionMemberTable = N'select @collectionMemberTable = CollectionMemberTable from mdm.tblEntity where ID = ' + CONVERT(nvarchar,@id)
    EXEC sp_executesql
    @query = @sqlGetCollectionMemberTable,
    @params = N'@collectionMemberTable NVARCHAR(100) OUTPUT',
    @collectionMemberTable = @collectionMemberTable OUTPUT
    SET @sqlPurgeCollections = N'delete mdm.' + @collectionMemberTable + ' from mdm.' + @collectionTable + ' cn inner join mdm.' + @collectionMemberTable +
    ' cm on cm.Parent_CN_ID = cn.ID where cn.Status_ID = 2'
    EXEC sp_executesql @query = @sqlPurgeCollections
    SET @i = @@RowCount
    if @i != 0
    BEGIN
    SET @sqlPurgeCollections = N'delete from mdm.' + @collectionTable + ' where Status_ID = 2'
    EXEC sp_executesql @query = @sqlPurgeCollections
    SET @i = @@RowCount
    END
    END
    FETCH NEXT FROM noleaf_entity_cursor INTO @id, @name
    END TRY
    BEGIN CATCH
    SET @errorMsg = ERROR_MESSAGE()
    PRINT @errorMsg
    BREAK
    END CATCH
    CLOSE noleaf_entity_cursor
    DEALLOCATE noleaf_entity_cursor
    GO
    JAIS

  • Windows 2008 64-bit SQL Server 2008 64-bit Linked Server fails - ODBC connects but has issues

    Installed the 64 but Oracle 11g client and Oracle ODAC. 
    From SQL Server Management Studio run script :  exec master.dbo.xp_cmdshell 'PING OracleHostNameHere'        Ping was successful
    OraOLEDB.Oracle shows up in the Provider list.  Run This Script:
    EXEC master.dbo.sp_MSset_oledb_prop N'OraOLEDB.Oracle', N'AllowInProcess', 1
    GO
    EXEC master.dbo.sp_MSset_oledb_prop N'OraOLEDB.Oracle', N'DynamicParameters', 1
    GO
    EXEC master.dbo.sp_addlinkedserver @server = N'Nav14', @srvproduct=N'Oracle', @provider=N'OraOLEDB.Oracle', @datasrc=N'TheOracleHostName'
    EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'TheOracleHostName',@useself=N'False',@locallogin=NULL,@rmtuser=N'TheUser',@rmtpassword='ThePassWord'
    Msg 15015, Level 16, State 1, Procedure sp_addlinkedsrvlogin, Line 49     The server 'TheHostName' does not exist. Use sp_helpserver to show available servers.
    Did the same process on a Windows 7 32 bit Enterprise - ODBC Works after installing ODAC
    ODBC worked, shows list of Oracle servers - picked the server - ODBC successful - MS Access able to use that ODBC service.
    In Windows 2008 64 bit installed both Oracle 11g Client and 64 bit ODAC - ODBC opens, the list of oracle servers doesn't populate, hard code in the host name - ODBC reports Success.
    Another Person Suggested:  Win7 64-bit with Oracle 11g. Oddly enough, it ran differently when I opened a command prompt window as administrator and ran setup.exe with the suggested command-line options:
    setup.exe -debug -printtime -printmemory -printdiskusage -logLevel finest
    While it had previously been failed both by running setup from the Explorer windows as administrator and by running it from the command line as administrator - it died every time at the same point mentioned by others in this thread - just after this message appeared in the log:
    Get view named [SummaryUI]
    ( I have tried re installing with no success)

    Windows 7 Enterprise 32-Bit
    Installed the version 12 for 32 bit ODAC and it worked. The key is to Install as Administrator once it is unzipped.
    Was able to set up Listener then
    Was able to set up ODBC using the ODAC. Connect MS Access 2010 to the Oracle views.
    Then, tried to install the 64 Bit onto Windows 2008 Server.
    It locked up during installation both times.
    Installed ODAC without an error.
    However, the ODBC setup will not provide a list of the servers in the ODBC  TNS Service Name listbox for Server 2008.
    In Windows 7, it populates the TNS Service Name.
    The list box in Windows 2008 is empty.
    Do you know what would cause that?
    The .ORA file scrips look the same on Windows 2008 as they do on Windows 7 except it does not have the (server = Dedicated) argument.
    Thanks.

  • SQL Server 2012 64 bit - reading data from dbf (DBase 3/4/5 or VFoxPro) - solution and examples

    It took me quite a while to find a solution that will enable me to read dbf files from 64 bit SQL server, so i decided to create this guide for all of you guys searching for an answer.
    Download and install Access Database Engine 64 bit : http://www.microsoft.com/en-us/download/details.aspx?id=13255
    Creating Linked server for me is the most elegant solution 
    To create a Linked Server modify following sql statement with your data and execute it:
    EXEC master.dbo.sp_addlinkedserver 
    @server = N'DBFServer', 
    @srvproduct=N'', 
    @provider=N'Microsoft.ACE.OLEDB.12.0', 
    @datasrc=N'D:\DBF\', 
    @provstr=N'dBASE IV'
    You can read data directly without linked server, but i find this less elegant
    To read data directly modify following sql statement with your data and execute it:
    Use KTCDB
    GO
    sp_configure 'show advanced options', 1
    reconfigure 
    GO
    sp_configure 'Ad Hoc Distributed Queries', 1 
    reconfigure
    GO
    EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0' , N'AllowInProcess' , 1;
    EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0' , N'DynamicParameters' , 1;
    SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0',
                           'dBASE IV;Database=D:\DBF\;', 
                           'SELECT * FROM ODMRAD')
    EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0' , N'AllowInProcess' , 0;
    EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0' , N'DynamicParameters' , 0;
    GO
    sp_configure 'Ad Hoc Distributed Queries', 0
    reconfigure
    GO
    sp_configure 'show advanced options', 0
    reconfigure 
    GO
    I hope this will help you guys avoid frustration and wasting lots of time.

    Visakh, i believe you are mixing terms 'reading' and 'importing', as with solution i proposed you can consume 'live' data without the need to
    import it on every change.
    To clarify : Data in DBF's can change at any point in time, and with my solution whenever you try to read data from either linked server or directly, you will always have most recent data, contrary to the import methods where you are cloning data and actually
    could run into many problems synchronizing original and cloned data.
    Ok..I understand that
    Based on your data volatility you can configure an automated job for executing SSIS package to extract latest of data from dbase. But again it wont be "in real time". There will be slight delay depending on frequency you choose for job.
    I was suggesting it more from a datawarehousing perspective whether data refresh happens only after predefined period (daily,6hrs etc)
    If requirement is to get realtime data when you desire then definitely linked server would be the way to go.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Unable to get SQL Server 2008 R2 to start SBSMONITORING service

    Hi, 
    I have been fighting with a Windows 2008 se
    rver and trying to get the SQL server ( SBSMONITORING ) Working. I have tried to start the service, always getting the error ' The request failed of the service did not respond in a timely fashion. Consult the event log or other applicable error logs for details
    '. Upon doing that, i found a few events in the event viewer. I also attempted a repair install ( as to where I can select a database to repair or the whole thing. ) Does anyone have any idea where i should be looking or what I should be doing? I have logs
    of the failed repair install also if anyone wants them.. Help please? Also please excuse my noobness, I don't have much experience with SQL server or anything. 
    Thanks 

    This is the event viewer information 
    Faulting application name: sqlservr.exe, version: 2009.100.2500.0, time stamp: 0x4dfb6221
    Faulting module name: sqlservr.exe, version: 2009.100.2500.0, time stamp: 0x4dfb6221
    Exception code: 0xc0000005
    Fault offset: 0x00000000000687f9
    Faulting process id: 0x1ea0
    Faulting application start time: 0x01cfc70f5f6a388c
    Faulting application path: C:\Program Files\Microsoft SQL Server\MSSQL10_50.SBSMONITORING\MSSQL\Binn\sqlservr.exe
    Faulting module path: C:\Program Files\Microsoft SQL Server\MSSQL10_50.SBSMONITORING\MSSQL\Binn\sqlservr.exe
    Report Id: 9df21a3e-3302-11e4-b861-00155d011601 
    I am also getting a lot ( i mean, a lot ) of these showing up 
    The description for Event ID 824 from source MSSQL$MICROSOFT##SSEE cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local
    computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event: 
    incorrect pageid (expected 1:365760; actual 0:0)
    read
    (1:365760)
    5
    0x000000b2980000
    C:\WSUS\SUSDB\\UpdateServicesDbFiles\SUSDB.mdf
    The specified resource type cannot be found in the image file

  • SP3 cannot be installed on SQL Server 2008 standard edition 64 bit

    I am getting error during the running of setup of SP3 for SQL Server 2008 Standard edition on windows 2008 R2 enterprise ed.
    Description:
      SQL Server 2008 Setup has encountered an error.
    Problem signature:
      Problem Event Name: SQL100Exception
      Problem Signature 01: SQL2008@RTM@KB2546951
      Problem Signature 02: 0xFE9E43A7
      Problem Signature 03: 0xFE9E43A7
      Problem Signature 04: 0xDC80C325
      Problem Signature 05: 0xDC80C325
      Problem Signature 06: InitializeUIDataAction
      Problem Signature 07: Unknown
      Problem Signature 08: Unknown
      Problem Signature 09: Unknown
      Problem Signature 10: Unknown
      OS Version: 6.1.7601.2.1.0.274.10
      Locale ID: 1033
    Additional information about the problem:
      LCID: 1033
    Read our privacy statement online:
    http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
    C:\Windows\system32\en-US\erofflps.txt

    Hi,
    I found the log file but I am not able to find any upload file button. It is very big file how can I upload it here?
    Overall summary:
      Final result:                  The patch installer has failed to update the shared features. To determine the reason for failure, review the log files.
      Exit code (Decimal):           -74274373
      Exit facility code:            914
      Exit error code:               43451
      Exit message:                  The system cannot open the device or file specified. 
      Start time:                    2014-04-10 08:03:59
      End time:                      2014-04-10 08:05:15
      Requested action:              Patch
      Log with failure:              C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140410_080359\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.0.5500.0%26EvtType%3d0xFE9E43A7%400xDC80C325
    Machine Properties:
      Machine name:                  AD-ITD-SW-SQLDB
      Machine processor count:       16
      OS version:                    Windows Server 2008
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                   
    Feature                                  Language            
    Edition              Version         Clustered
      Sql Server 2008      MSSQLSERVER          MSSQL10.MSSQLSERVER            Database Engine Services                
    1033                 Standard Edition     10.0.1600.22    No       
      Sql Server 2008      MSSQLSERVER          MSSQL10.MSSQLSERVER            SQL Server Replication                  
    1033                 Standard Edition     10.0.1600.22    No       
      Sql Server 2008      MSSQLSERVER          MSSQL10.MSSQLSERVER            Full-Text Search                        
    1033                 Standard Edition     10.0.1600.22    No       
      Sql Server 2008      MSSQLSERVER          MSAS10.MSSQLSERVER             Analysis Services                       
    1033                 Standard Edition     10.0.1600.22    No       
      Sql Server 2008      MSSQLSERVER          MSRS10.MSSQLSERVER             Reporting Services                      
    1033                 Standard Edition     10.0.1600.22    No       
      Sql Server 2008      SWMSSQLSERVER        MSSQL10.SWMSSQLSERVER          Database Engine Services                
    1033                                      10.0.1600.22   
    No       
      Sql Server 2008      SWMSSQLSERVER        MSSQL10.SWMSSQLSERVER          SQL Server Replication                  
    1033                                      10.0.1600.22   
    No       
      Sql Server 2008                                                         
    Management Tools - Basic                 1033                 Standard Edition    
    10.0.1600.22    No       
      Sql Server 2008                                                         
    Management Tools - Complete              1033                 Standard Edition     10.0.1600.22   
    No       
      Sql Server 2008                                                         
    Client Tools Connectivity                1033                 Standard Edition    
    10.0.1600.22    No       
      Sql Server 2008                                                         
    Client Tools Backwards Compatibility     1033                 Standard Edition     10.0.1600.22    No       
      Sql Server 2008                                                         
    Client Tools SDK                         1033                
    Standard Edition     10.0.1600.22    No       
      Sql Server 2008                                                         
    Integration Services                     1033                 Standard Edition    
    10.0.1600.22    No       
    Package properties:
      Description:                   SQL Server Database Services 2008
      SQLProductFamilyCode:          {628F8F38-600E-493D-9946-F4178F20A8A9}
      ProductName:                   SQL2008
      Type:                          RTM
      Version:                       10
      SPLevel:                       3
      KBArticle:                     KB2546951
      KBArticleHyperlink:           
      PatchType:                     SP
      AssociatedHotfixBuild:         0
      Platform:                      x64
      PatchLevel:                    10.3.5500.0
      ProductVersion:                10.0.1600.22
      GDRReservedRange:              10.0.1000.0:10.0.1099.0;10.0.3000.0:10.0.3099.0;10.0.4010.0:10.0.4250.0;10.0.5501.0:10.0.5750.0
      PackageName:                   SQLServer2008-KB2546951-x64.exe
      Installation location:         d:\c8811b7ec810308deb\x64\setup\
    User Input Settings:
      ACTION:                        Patch
      ALLINSTANCES:                  False
      CLUSTERPASSIVE:                False
      CONFIGURATIONFILE:            
      HELP:                          False
      INDICATEPROGRESS:              False
      INSTANCENAME:                  <empty>
      QUIET:                         False
      QUIETSIMPLE:                   False
      X86:                           False
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file:               The rule result report file is not available.
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: System.ComponentModel.Win32Exception
        Message:
            The system cannot open the device or file specified.
        Data:
          DisableWatson = true
        Stack:
            at Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetDBProperty(ServiceContainer context, String pathToMsi, String propertyName)
            at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetMsiRtmVersion(PackageInstallProperty targetPackage)
            at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.IsApplicablePatch(PatchProperty currentPatch, PackageInstallProperty targetPackage)
            at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId)
            at Microsoft.SqlServer.Configuration.MsiExtension.ProductInstallProperty.GetInstalledPackages(String instanceName, List`1& installedInstancePackages, List`1& installedSharedPackages, String& returnedErrorMessage)
            at Microsoft.SqlServer.Configuration.MsiExtension.ProductInstallProperty.CollectProductData()
            at Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase.LoadFeatureTreeDefinitionAllInstances()
            at Microsoft.SqlServer.Configuration.PatchFeatureTree.InitializePatchFeatureTree(ServiceContainer context)
            at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
            at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)

  • SQL Server 2008 Service Pack 1 installation problem

    I am using Windows 7.
    Today I saw "Microsoft SQL Server 2008 Service Pack 1 (KB968369)" as an optional update in the updates list. I've tried to intstall it but it failed with Code CF2E222F. I found nothing about this code on the internet.
    I've also tried to install the sp manually. I've downloaded it an tried to install. But it also failed.
    SQL Server Setup has encountered the following error: C:\Windows\Installer\9bcac.msi.
    Any suggestions?

    Here's the summary:
    Overall summary:
    Final result: The patch installer has failed to update the shared features. To determine the reason for failure, review the log files.
    Exit code (Decimal): -819060177
    Exit facility code: 1838
    Exit error code: 8751
    Exit message: C:\Windows\Installer\9bcac.msi
    Start time: 2010-04-28 10:10:14
    End time: 2010-04-28 10:11:02
    Requested action: Patch
    Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20100428_100952\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.0.2531.0%26EvtType%3d0x4C9229A1%400x2FCB8C55
    Machine Properties:
    Machine name: MACHINE_NAME
    Machine processor count: 4
    OS version: Windows Vista
    OS service pack:
    OS region: Türkiye
    OS language: English (United States)
    OS architecture: x86
    Process architecture: 32 Bit
    OS clustered: No
    Product features discovered:
    Product Instance Instance ID Feature Language Edition Version Clustered
    Sql Server 2008 MSSQLSERVER MSSQL10.MSSQLSERVER Database Engine Services 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 MSSQLSERVER MSSQL10.MSSQLSERVER SQL Server Replication 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 MSSQLSERVER MSSQL10.MSSQLSERVER Full-Text Search 1033 Developer Edition 10.0.1600.22 No
    Sql Server 2008 MSSQLSERVER MSAS10.MSSQLSERVER Analysis Services 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 MSSQLSERVER MSRS10.MSSQLSERVER Reporting Services 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 RETAILSTORE MSSQL10.RETAILSTORE Database Engine Services 1033 Developer Edition 10.0.1600.22 No
    Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS Database Engine Services 1033 Express Edition 10.1.2531.0 No
    Sql Server 2008 SQLEXPRESS MSSQL10.SQLEXPRESS SQL Server Replication 1033 Express Edition 10.1.2531.0 No
    Sql Server 2008 Management Tools - Basic 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 Management Tools - Complete 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 Client Tools Connectivity 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 Client Tools Backwards Compatibility 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 Client Tools SDK 1033 Developer Edition 10.1.2531.0 No
    Sql Server 2008 Integration Services 1033 Developer Edition 10.1.2531.0 No
    Package properties:
    Description: SQL Server Database Services 2008
    SQLProductFamilyCode: {628F8F38-600E-493D-9946-F4178F20A8A9}
    ProductName: SQL2008
    Type: RTM
    Version: 10
    SPLevel: 1
    KBArticle: KB968369
    KBArticleHyperlink: http://support.microsoft.com/?kbid=968369
    PatchType: SP
    AssociateHotfixBuild: 0
    Platform: x86
    PatchLevel: 10.1.2531.0
    ProductVersion: 10.0.1600.22
    GDRReservedRange: 10.0.1000.0:10.0.1099.0;10.0.3000.0:10.0.3099.0
    PackageName: SQLServer2008-KB968369-x86.exe
    Installation location: g:\2aa334eee83bd39b499730\x86\setup\
    User Input Settings:
    ACTION: Patch
    ALLINSTANCES: False
    CLUSTERPASSIVE: False
    CONFIGURATIONFILE:
    HELP: False
    INDICATEPROGRESS: False
    INSTANCENAME: <empty>
    QUIET: False
    QUIETSIMPLE: False
    X86: False
    Rules with failures:
    Global rules:
    There are no scenario-specific rules.
    Rules report file: The rule result report file is not available.
    Exception summary:
    The following is an exception stack listing the exceptions in outermost to innermost order
    Inner exceptions are being indented
    Exception type: System.IO.FileNotFoundException
    Message:
    C:\Windows\Installer\9bcac.msi
    Data:
    DisableWatson = true
    Stack:
    at Microsoft.SqlServer.Chainer.Infrastructure.MsiNativeMethodHelpers.GetDBProperty(ServiceContainer context, String pathToMsi, String propertyName)
    at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.GetMsiRtmVersion(PackageInstallProperty targetPackage)
    at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.IsApplicablePatch(PatchProperty currentPatch, PackageInstallProperty targetPackage)
    at Microsoft.SqlServer.Configuration.MsiExtension.SetPatchInstallStateAction.ExecuteAction(String actionId)
    at Microsoft.SqlServer.Configuration.MsiExtension.ProductInstallProperty.GetInstalledPackages(String instanceName, List`1& installedInstancePackages, List`1& installedSharedPackages, String& returnedErrorMessage)
    at Microsoft.SqlServer.Configuration.MsiExtension.ProductInstallProperty.CollectProductData()
    at Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase.LoadFeatureTreeDefinitionAllInstances()
    at Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase.LoadFeatureTreeDefinition()
    at Microsoft.SqlServer.Configuration.FeatureTreeConfigurationBase..ctor(ServiceContainer context)
    at Microsoft.SqlServer.Configuration.PatchFeatureTree..ctor(ServiceContainer context)
    at Microsoft.SqlServer.Configuration.PatchFeatureTree.InitializePatchFeatureTree(ServiceContainer context)
    at Microsoft.SqlServer.Configuration.SetupExtension.InitializeUIDataAction.ExecuteAction(String actionId)
    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)

Maybe you are looking for