Syncronize between multiple SQL server 2008 Databases

II am developing an application for a waterborne shipping company. The main office is running SQL server 2008 and holds an employee database. They would like each ship to have access to the Db. Each ship is also running SQL 2008. In addition each ship will
have multiple user needing update access to the Db.
I'm not sure it is smart (or even Possible) to sync between multiple copies of a SQL Server 2008 DB. I started (and am not opposed to using .net Sync Services, creating compact edition (.sdf) files on the servers and 'sharing' it with the users. The
problem with this is the sdf file would have to be replicated on each user machine. This would make data integrity a challenge.
I should note that the ships are only occasionally connected to the internet, so working directly with the office db is not possible.
Does anyone have any ideas, or shoud I resolve myself to using a shared copy of a compact edition of the DB?
Thanks

Merge replication han handle occasionally connected "devices". But you need to figure out whether update conflicts are acceptable and/or whether you can write your software so they don't happen in the first place.
Tibor Karaszi, SQL Server MVP |
web | blog
Thanks. That gives me a starting point. I'm sure I'll have many questions.
Thans again.

Similar Messages

  • How to restore SQL Server 2008 database to SQL Server Express 2012

    How to restore SQL Server 2008 database to SQL Server Express 2012.
    I BACKED UP a SQL Server 2008 database from work, which runs the enterprise version of 2008, and I tried to RESTORE it to my new 64-Bit home PC which is running the new SQL Server Express 2012 64-Bit (Advanced Edition).
    But if fails. I get the following message text.
    Can anyone help me please. I thought restoring a 2008 database to the later version 2012 would be possible.
    Here is the error message. Thanks.
    TITLE: Microsoft SQL Server Management Studio
    Restore of database failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
    ADDITIONAL INFORMATION:
    System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.3128. Either restore the database on a server that supports the backup, or use a
    backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)

    ADDITIONAL INFORMATION:
    System.Data.SqlClient.SqlError: The database was backed up on a server running version 8.00.2039. That version is incompatible with this server, which is running version 11.00.3128. Either restore the database on a server that supports the
    backup, or use a backup that is compatible with this server. (Microsoft.SqlServer.SmoExtended)
    Are you sure your database is SQL server 2008 from error message it seems your SQL server version is 2000.I guess you have multiple versions of SQL server.
    AFAIK you cannot restore backup of SQL server 2000 to 2012 directly .Restore it first to SQL 2008/2008R2 or 2005 then take backup again of new database created and then you would be able to restore it on 2012.Its kind of intermediate way
    Also make sure your DB size is less than 10 G as max DB size supported by Express edition is 10 G and if your DB size is more than 10 G restore will fail.
    You are also trying to restore enterprise DB backup on express edition so you will loose enterprise features on express edition
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Creating Universes from a SQL Server 2008 Database....Options?

    Needing to create a Universe from a SQL Server 2008 DB, I am of course finding it difficult at best to get the ball rolling. Support tells me the only option I have is to use Designer, and to not use the "Automated Detection" features because they are not for production environment use <citing business requirement differences as one issue, as was noted during a support call when I was having problems with our VM server literally locking up while the "Automatic Detection" features were trying to run>.
    So what that means is, from what I see, I am expected to manually add all of the SQL DB tables, and then have a Developer spend multiple hours adding appropriate Joins, Cardinalities, Keys, etc. And, whenever there are any DB changes, this has to be done all over again to the Universe to allow for syncronization with the DB.
    This really seems like a heavy load to bear just to be able to use SAP. Is anyone else having these same challenges? Are there other options I am just not seeing? Seems to me Builder needs a SQL bridge honestly.
    Appreciate any help I can get!!
    -Carl

    While it may seem disappointing, as long as you have the data schema and knowledge of the joins and cardinalities, then you've got a lot of the easy stuff sorted out.
    What you need to provide is a presentation layer that is more than just turning the tables and columns into classes and objects. There are often things that you need to create that don't exist in the database, such as objects for relative dates. These can be found in the thread that I created over on the BOB Board here:
    http://www.forumtopics.com/busobj/viewtopic.php?t=152613
    Make sure that all objects have a description
    Make sure that all dates and numbers have a format; there's nothing worse than creating a report and finding your year displayed as 2,011.00
    Use predefined filters - include prompts
    Other useful tips are available here:
    http://www.forumtopics.com/busobj/viewtopic.php?t=15227
    Do you have a set of reporting requirements?

  • Create linked server between MS SQL Server 2008 standard edition to MS SQL Server 2008 express edition

    For the captioned issue, is it possible?  We have successfully created linked server between 2 MS SQL server 2008 standard edition, but failed for the standard and express edition.  Is there any trick to setup?  Thanks.

    Hello,
    SQL Server Management Studio Express Edition may not allow to create a linked server, but the workaround is to use the T-SQL. You can use sp_addlinkedserver and sp_addlinkedsrvlogin.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to attached a sql server 2008 database on sql server 2005

    Hi,
    I have a backup of database designed over sql server 2008. I need to attacched this on a machine where sql server 2005 is installed and I am getting the message while attaching the database.
    "The database can not be opened because it is version 661.
    the server supports version 611 and earlier"

    You need to install/have another instance of SQL Server 2008, restore over there the database and perhaps create a SSIS package to move objects and data into SQL Server 2005
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • SQL Server 2008 Database Mail Failure

    I am currently using SQL Server 2008.  I have database mail setup and it was working for a while without any issues.  However, now we are getting the following message anytime it trys to send an email with a domain address other than our own.
    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 4 (2010-07-21T15:21:58). Exception Message: Cannot send mails to mail server. (The operation has timed out.). )
    The emails have been setup and working since last year up until June 30th.  I have made sure that the server name for the email server is correct.  Ports 25, 110, and 443 are open on the email server and I setup the database mail to use port 25.
    The sever name is webmail.somecompanyname.com
    I tested on the server that I could telnet to the mail server and I get the response back from the server that says ready.
    I tested sending an email to my work address by right clicking database mail and send test e-mail.  When I send it to my work email it works fine (myname.somecompany.com)
    When I do the same test only sending it to my personal comcast account I get the error message in the
    sysmail_faileditems.
    Can anyone help shed some light on other possible issues that might be causing this to fail now?
    Any help is greatly appreciated.
    Thanks in advance.

    My issues with the email might be fixed now.  I will be keeping an eye on it today.
    It turns out that we have 2 IPs for the 2 different internet providers that we have for our company.
    In the
    On Mail server > Exchange Server Manager > SMTP Connector Properties
     > Access Properties > Access Tab > Relay button it had the ip address for one of the providers, but not for the comcast one that we just installed on June 30th.
    The network administrator added the ip for comcast to the location above and it seems to be working now.
    We will keep our fingers crossed.
    Thanks for all your suggestions.

  • Can I recover a damaged SQL Server 2008 database with the undamaged .mdb and .ldf files?

    Their original SQL Server was 2008, with SP unknown, but installed on D: and C: drives.  The power spike corrupted their O/S on the C:
    drive and someone reinstalled both the O/S and the SQL Server, which is now SQL 2008, SP4.  They have intact files for all system databases, both .mdb and .ldf.  Is there some way they can reconnect with the user databases using the intact copies
    of the previous system databases? I have heard that if the SQL Server is stopped, previous Master and Msdb .mdb and .ldf files moved into place and the server restarted, that any previous user database .mdb and .ldf files can be accessed by the SQL server.
    Is this the case, or are there details missing?

    Hello! try this steps
     1 Open your SQL Server Management Studio console. This application shortcut is available in the SQL Server directory in the Windows Start button.
    2  Enter the system administrator user name and password. SQL Server's administrator user name is "sa." This account is required for privileges to restore the database. If your restoring on a host provider server, use the administrator user name
    and password they supplied for your account.
     3 Right-click your database name and select "Attach." In the new window that opens, click the "Add" button to open a dialog box.
     4 Select your MDF file and press the "Ok" button. It may take several minutes to restore the database if it is a large file. Once the process is finished, browse your tables to verify the data. The database is now restored.
    If nothing helped try to use: 
    https://www.youtube.com/watch?v=1cbOYdvBW2c

  • Creating multiple views in SQL Server 2008 database through sqlcmd

    I've written a script that generates a ddl file. The ddl file contains all the table creation, view creation and stored proc creation SQL statements for refreshing my database. The ddl file gets run by sqlcmd.
    From reading other forum posts, it seems that views and stored procedures can only be created through the sqlcmd command when they are part of an individual batch. Can someone please direct me to the documentation on how to do this?
    My DDL is below pertaining to view creation:
    CREATE VIEW [global].[viewDstLocations]
      WITH SCHEMABINDING
     AS
       SELECT REPLACE(STR(c.dstYear, 2), ' ', '0') AS 'DSTyear',
              a.countryCode AS 'CountryCode',
              a.countryDivision AS 'CountryDivision',
              a.stateCode AS 'StateCode',
              a.locationCode AS 'LocationCode',
              a.locationType AS 'LocationType',
              a.gmtVariation AS 'GMTvariation',
              c.dstVariation AS 'DSTvariation',
              REPLACE(SUBSTRING(CONVERT(VARCHAR(8), c.dstStartTs, 8), 1, 5), ':', '')  AS 'DSTstart_time',
              CONVERT(VARCHAR(8), c.dstStartTs, 12) AS 'DSTstart_date',
              c.statusMarkerStart AS 'StatusMarker_start',
              REPLACE(SUBSTRING(CONVERT(VARCHAR(8), c.dstEndTs, 8), 1, 5), ':', '')  AS 'DSTend_time',
              CONVERT(VARCHAR(8), c.dstEndTs, 12) AS 'DSTend_date',
              c.statusMarkerEnd AS 'StatusMarker_end',
              c.dataIndicator AS 'DataIndicator',
              b.locationName AS 'LocationName',
              a.latitude AS 'Latitude',
              a.longtitude AS 'Longtitude'
          FROM [global].[dstLocations] a
             LEFT JOIN [global].[dstLocationNames] b ON (b.locationId = a.locationId AND b.locale = 'en_US')
                LEFT JOIN [global].[dstLocationInfo] c ON (c.locationId = a.locationId);
    GO;
    EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'DST location info shown in the legacy table structure as well as data format.',
     @level0type=N'SCHEMA', @level0name=N'global', @level1type=N'VIEW', @level1name=N'viewDstLocations';
    GO;
    CREATE VIEW [global].[viewTypes]
      WITH SCHEMABINDING
     AS
       SELECT a.levelTypeId, a.levelTypeName, a.levelDepth, b.productId, b.productName, c.baseLevelTypeId, c.baseLevelTypeName
          FROM [global].[levelTypes] a
             LEFT JOIN [global].[products] b ON (b.levelTypeId = a.levelTypeId)
                LEFT JOIN [global].[baseLevelTypes] c ON (c.levelTypeId = a.levelTypeId);
    GO;
    EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Displays level types and their associated products and base level types.' , @level0type=N'SCHEMA',@level0name=N'global', @level1type=N'VIEW',@level1name=N'viewTypes';
    GO;
    <<Several other views>>

    Kalman,
    I've followed that approach, but was getting an error. Hopefully this gives enough detail:
    First, I use a .bat file to generate the sql file as you suggest. The structure is as follows:
    USE [MYDB] 
    GO
    <<All my create scripts, without GO between them>>
    GO;
    <<All my view scripts, without GO between them>>
    GO;
    <<All my strored procedures, without GO between them>>
    GO;
    Then, I run the generated SQL with the -i option as you mentioned.
    I get back the resulting error below:
    Msg 156, Level 15, State 1, Server DEV-238SQLEXPRESS, Procedure viewDstLocations, Line 2
    Incorrect syntax near the keyword 'EXEC'.
    Msg 156, Level 15, State 1, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Incorrect syntax near the keyword 'PROCEDURE'.
    Msg 137, Level 15, State 2, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Must declare the scalar variable "@parentId".
    Msg 137, Level 15, State 2, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Must declare the scalar variable "@levelTypeId".
    Msg 137, Level 15, State 1, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Must declare the scalar variable "@name".
    Msg 137, Level 15, State 2, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    Must declare the scalar variable "@name".
    Msg 134, Level 15, State 1, Server DEV-238SQLEXPRESS, Procedure spGeneralDeleteNodeAndSubtree, Line 2
    The variable name errormsg has already been declared. Variable names must be unique within a query batch or stored procedure.
    From the documentation, I saw that CREATE VIEW needs to be the first statement in a batch. I assume this to mean I will need to break out my view and stored procedures to separate files and call the sqlcmd command multiple times, once for the table creation
    and then once for each view and once for each stored procedure. If there is a way to still do this as only one file, that would answer my original question.
    If there is anything else I can paste or send, please let me know.

  • HSODBC connectivity between ORACLE 10g and SQL Server 2008 R2

    Hi,
    I'm getting below error when using the DB link between Oracle (10.2.0.2 which is on Sun Sparc) and MS Sql server 2008 R2.
    ERROR at line 1:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Generic Connectivity Using ODBC][Microsoft][ODBC Driver Manager] Data source
    name not found and no default driver specified (SQL State: IM002; SQL Code: 0)
    ORA-02063: preceding 2 lines from SCOPEX.WORLD
    My Config files:
    On Sun Sparc 5.9 where Oracle server is running.
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    Listener.ora file on Windows machine:
    TelemetryDB1 =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
    SID_LIST_TelemetryDB1 =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TelemetryDB1)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    Tnsnames.ora file:
    TelemetryDB1 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=172.16.6.48)(PORT=1522))
    (CONNECT_DATA=(SID=TelemetryDB1))
    (HS=OK)
    initTelemetryDB1.ora file under ORACLE_HOME\hs\admin\
    HS_FDS_CONNECT_INFO = TelemetryDB1
    HS_FDS_TRACE_LEVEL = OFF
    We have created DNS with TelemetryDB1.
    I'm getting the above error for DB links between Oracle 10.2 and SQL Server 2008 R2. But the same, when configured for MS SQL server 2000 works fine without any issues.
    Please advise me to rectify the error. We've been working for the last couple of weeks.
    Regards,
    Sunil

    Sunil,
    You don't need an Oracle ODBC driver.
    The way it works is that in the gateway init<sid>.ora file, in your case initTelemetryDB1.ora, the parameter HS_FDS_CONNECT_INFO points to a system DSN. This DSN should then be configured to use an ODBC driver to connect to the non-Oracle database. So, in your setup when you want to access the SQL*Server 2008 database then the DSN should use an ODBC driver that can connect to a SQL*Server 2008 database. If you still use the initTelemetryDB1.ora file for the connection then the TelemetryDB1 DSN should be configured to access the SQL*Server 2008 database.
    However, there are a couple of problems with your actual setup -
    - the configuration you have - 10.2 RDBMS on a Sun machine and HSODBC on Windows - is not supported. HSODBC should only be used from a RDBMS that is in the same ORACLE_HOME as HSODBC.
    - 10.2 HSODBC is now desupported and has been replaced by the 11g Database Gateway for ODBC (DG4ODBC) and the configuration you want is supported. That is because unlike HSODBC the DG4ODBC gateway can be installed standalone with a RDBMS being installed.
    I recommend that you download and install 11.20.2 DG4ODBC on your Windows machine in a new Oracle_home and access that from the 10.2 RDBMS on Sun - which is a supported configuration. But to do this, you will need to apply either the 10.2.0.4 or 10.2.0.5 patchset to your RDBMS.
    There is more information in the following note available on My Oracle Support (MOS) -
    Note.1083703.1 Master Note for Oracle Gateway Products
    The 11.2.0.2 DG4ODBC can be downloaded from MOS as patch and for the gateways on Windows 32-bit you just need to download -
    p10098816_112020_platform_4of6.zip
    However, to check the HSODBC ou need to confirm that the DSN used by HSODBC points to a System DSN configured to access SQL*Server 2008.
    Have a look at -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    But remember this is not a supported version or configuration and you should be using Dg4ODBC.
    Regards,
    Mike

  • Creating dynamic database connection (SQL server 2008) from Adf application

    Hello,
    I am creating an ADF Fusion Application. I use Jdev. 11.1.2.3.0 , WebLogic 10.3 and MS SQL server 2008 database. My question is that how can I create a database connection configuration file, now I connect to the database through hard coding, there should be a way to do this with sql server I think.
    my database name is : testDatabase
    my database username is : testUser
    my database password is : testPassword
    Anybody can help me please.
    Thanks,
    Shahe

    Hello Frank,
    The database schema is the same for all the users, but the location of the database differs, for example: I have set the hostname of the database to localhost because the database is installed on the local pc, but to other clients the database is installed on a managed server so in the hostname I should put the server's ip address or name. So I need an external file where I can set these options.
    Thanks,
    Shahe

  • Oracle 11.1.0.7 x64 to SQL Server 2008 connectivity

    Hi There,
    I'm trying to establish connectivity between oracle database running 11.1.0.7 64bit on windows 2008 server x64 to sql server 2008 database. Both databases (oracle and SQL) are on the same machine.
    I know with the older oracle versions, we used to setup hs connection between the two databases, however, I've been reading note 466225.1 (How To : How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit) on metalink and it states the following:
    >
    Please be aware:
    - DG4ODBC is first ported to 64bit Windows platforms starting with 11.2. Using a 32bit DG4ODBC on a 64bit Windows operating system is NOT certified.
    - HSOLEDB is no longer available for 11g on Windows.
    >
    So, according to the above, I'm guessing that we won't be able to use dg4odbc to establish the connectivity between the two.. how about the old hsodbc setup under ORACLE_HOME\hs\admin ? would that work? or is there another way that w can do this?
    I've been working on this and trying to get it going but not sure if I'm doing something wrong or it just doesn't work here..
    On the server I did the following:
    1. created the sqlserver DSN and tested the connection and it's all ok.
    2. added the following to the tnsnames.ora
    SQLCentralODBC  =
      (DESCRIPTION=
        (ADDRESS=(PROTOCOL=tcp)(HOST=188.87.135.90)(PORT=1522))
        (CONNECT_DATA=(SID=SQLCentralODBC))
        (HS=OK)
      ) 3. added the following to the listener.ora:
    LISTENER_ELMSCENTRAL =
    (ADDRESS_LIST=
          (ADDRESS=(PROTOCOL=tcp)(HOST=188.87.135.90)(PORT=1522))
    SID_LIST_LISTENER_SQLCENTRAL=
      (SID_LIST=
          (SID_DESC=
             (SID_NAME=SQLCentralODBC)
             (ORACLE_HOME=C:\oracle\product\11.1.0.7)
             (PROGRAM=hsodbc)
      )4. the listener started ok, and I validated the dsn connection and it's all ok:
    C:\Users\oracle>tnsping SQLCentralODBC
    TNS Ping Utility for 64-bit Windows: Version 11.1.0.7.0 - Production on 21-MAY-2010 15:47:12
    Copyright (c) 1997, 2008, Oracle.  All rights reserved.
    Used parameter files:
    C:\oracle\product\11.1.0.7\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=188.87.135.90)(PORT=1522)) (CONNECT_DATA=(SID=SQLCentralODBC)) (HS
    =OK))
    OK (10 msec)
    C:\Users\oracle>5. created the db link:
    SQL> create database link LM_SQLC connect to sqlc_user identified by xxx using 'SQLCentralODBC';
    Database link created.6. Test the connection:
    SQL> select * from event@LM_SQLC;
    select * from event@LM_SQLC
    ERROR at line 1:
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from LM_SQLC
    SQL>Any ideas/help will be really appreciated.
    Thanks alot.
    Edited by: user4415740 on May 21, 2010 12:36 PM
    Edited by: user4415740 on May 21, 2010 12:52 PM

    They say "Using a 32bit DG4ODBC on a 64bit Windows operating system is NOT certified." but we do it extensively and it works just fine. You need to install a 32-bit home and create a listener for the 32-bit gateway. Only downside (aside from maintaining 2 homes) is that if you need to file an SR, you must prove that you're able to reproduce the problem when the gateway is running on a 32-bit OS. We keep a little 32-bit server around for this purpose and point our gateways to that box to reproduce issues for SR's.
    If you want to run "certified" all the time, you could leave the gateways running in Production on a 32-bit OS, but it runs considerably slower this way, and all because Oracle won't support your SR's. You have to decide if you really think you'll hit an issue that wouldn't reproduce on the true 32-bit OS and decide if it's worth the risk. We've made our decision...
    Good luck!

  • 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

  • JDeveloper 11.1.1.2.0 - Panel Dashboard using Data from SQL Server 2008

    Hi All,
    I am using JDeveloper 11.1.1.2.0 and am trying to create a cross application dashboard. This dashboard would show 2 panel's of data from an Oracle Database (Already completed this) and two panel's of data from a SQL Server 2008 Database.
    I have successfully installed a SQL Server 2008 database locally on my machine. I have downloaded the JDBC drivers from the Microsoft website and I have two JAR Files:
    * sqljdbc.jar
    * sqljdbc4.jar
    I have created a SQL Server connection within the JDeveloper connections panel and I can successfully query my database.
    I have created a New application module and set its connection to a JDBC connection with the credentials specified within the Connections tab. I then added the two JAR files as libraries to the Model project and
    ran the Application Module tester. This succesfully shows some records.
    Within the View Project I Created a new page and dropped the View Object on as a table. I then go to Run the page and get an error relating to the JDBC drivier not being found. I have read a few posts about adding it to Weblogic lib files and modifying the start up scripts but can anyone give me a definitive working solution? I also tried changing my Application Module to using a DataSource, but I also have the same problem within the Weblogic console (it cannot create a data source for SQL SERVER as it does not have the drivers).
    Any help is greatly appreciated.
    Thanks

    Thanks for the responses.
    I have edited C:\oracle\Middleware\wlserver_10.3\common\bin\commEnv.cmd to add the entries as follows...
    set WEBLOGIC_CLASSPATH=%JAVA_HOME%\lib\tools.jar;%BEA_HOME%\utils\config\10.3\config-launch.jar;%WL_HOME%\server\lib\weblogic_sp.jar;%WL_HOME%\server\lib\weblogic.jar;%FEATURES_DIR%\weblogic.server.modules_10.3.2.0.jar;%WL_HOME%\server\lib\webservices.jar;%ANT_HOME%/lib/ant-all.jar;%ANT_CONTRIB%/lib/ant-contrib.jar;%WL_HOME%\server\lib\sqljdbc.jar;%WL_HOME%\server\lib\sqljdbc4.jar
    You can now see the additional entries at the end of the classpath.
    The Weblogic home is set as follows set WL_HOME=C:\oracle\Middleware\wlserver_10.3
    I have placed the files in C:\oracle\Middleware\wlserver_10.3\server\lib
    I restarted the server. Logged into the Weblogic console and tried to create a datasource with the Microsoft Drivers but still no luck. I gave the Oracle Microsoft Driver a go and it seemed to work! I'm guessing that there is a driver bundle in.

  • Transact-SQL debugger not working in SQL Server 2008: "...debugger does not support SQL Server 2005 or earlier..."

    I have recently installed SQL Server 2008. When I try to execute a query against an Access database, I receive this debugging error:
    "Unable to start Transact-SQL debugger. The Transact-SQL debugger does not support SQL Server 2005 or earlier versions of SQL Server. (SQLEditors)"
    Nor will the query execute; I get a transport-level error 0. Any thoughts?

    Hi Davidmhjr,
    >>Unable to start the Transact-SQL Debugger. The Transact-SQL Debugger does not support SQL Server 2005 or earlier versions of SQL Server. (SQLEditors).
    Have you tried to restart the server once you have installed SQL Server 2008? As Naomi N mentioned please check the version of SQL Server you are using.
    If you tried to connect to SQL Server 2005 from SQL Server 2008 SSMS, you would not be able to debug and get this error, it happens because T-SQL debugger includes both server-side and client-side components. The server-side debugger components are installed
    with each instance of the SQL Server 2008 Database Engine. The client-side components are installed when you install the SQL Server 2008 client-side tools.
    So it works with SQL Server 2008 only so far. Another way is you can triy to use SQL Server 2005 SSMS to connect to SQL Server 2005.
    More information about configuration requirement to run T-SQL debugger as below, please refer:
    There are no configuration requirements to run the Transact-SQL debugger when SQL Server Management Studio is running on the same computer as the instance of the SQL Server Database Engine. However, to run the Transact-SQL debugger when SQL Server Management
    Studio is running on a different computer from the instance of the Database Engine, you must enable program and port exceptions by using the Windows Firewall Control Panel application on both computers.
    On the computer that is running the instance of the Database Engine, in Windows Firewall, specify the following information:
    •Add TCP port 135 to the exceptions list.
    •Add the program sqlservr.exe to the exceptions list. By default, sqlservr.exe is installed in C:\Program Files\Microsoft SQL Server\MSSQL10.InstanceName\MSSQL\Binn, where InstanceName is MSSQLSERVER for the default instance, and the instance name for
    any named instance.
    •If the domain policy requires network communications to be done through IPsec, you must also add UDP port 4500 and UDP port 500 to the exception list.
    On the computer that is running SQL Server Management Studio, in Windows Firewall, specify the following information:
    •Add TCP port 135 to the exceptions list.
    •Add program ssms.exe (SQL Server Management Studio) to the exceptions list. By default, ssms.exe is installed in C:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE.
    Hope it is helpful.
    Regards, Amber zhang

  • Oracle 10g DB Export for SQL Server 2008

    I'm having a hard time exporting my database Primavera P6 Project Management for SQL Server 2008, in fact I need to do this so I can export to a future program in Visual Studio 2010. But contiue with the Oracle Database Enabled
    Thank you.
    Edited by: 898987 on 25/11/2011 01:59

    Hi,
    Thanks for the translation.
    You say you are having a hard time exporting my database Primavera P6 Project Management for SQL Server 2008. Could you give details of exactly what you are using for the export and what problems you are having ?
    Is this an export from an Oracle database or a SQL*Server 2008 database ?
    Regards,
    Mike

Maybe you are looking for