SQL Server 2008 R2 Replication - not applying snapshot and not updating all repliacted columns

We are using transactional replicating on SQL Server 2008 R2 (SP1) using a remote distributor. We are replicating from BaanLN, which is an ERP application to up to 5 subscribers, all using push publications. 
Tables can range from a couple million rows to 12 million rows and 100's of GBs in size. 
And it's due to the size of the tables that it was designed with a one publisher to one table architecture.  
Until recently it has been working very smooth (last four years)) but we have come across two issues I have never encountered.
While this has happen a half dozen times before, it last occurred a couple weeks ago when I was adding three new publications, again a one table per publication architecture.
We use standard SS repl proc calls to create the publications, which have been successful for years. 
On this occasion replication created the three publications, assigned the subscribers and even generated the new snapshot for all three new publications. 
However,  while it appeared that replication had created all the publications correctly from end to end, it actually only applied one of the three snapshot and created the new table on both of the new subscribers (two on each of the
publications).  It only applied the snapshot to one of the two subscribers for the second publications, and did not apply to any on the third.  
I let it run for three hours to see if it was a back log issue. 
Replication was showing commands coming across when looking at the sync verification at the publisher and 
it would even successfully pass a tracer token through each of the three new publications, despite there not being tables on either subscriber on one of the publishers and missing on one of the subscribers on another.  
I ended up attempting to reinitialize roughly a dozen times, spanning a day, and one of the two remaining publications was correctly reinitialized and the snapshot applied, but the second of the two (failed) again had the same mysterious result, and
again looked like it was successful based on all the monitoring. 
So I kept reinitializing the last and after multiple attempts spanning a day, it too finally was built correctly.  
Now the story only get a little stranger.  We just found out yesterday that on Friday the 17th 
at 7:45, the approximate time started the aforementioned deployment of the three new publications, 
we also had three transaction from a stable and vetted publication send over all changes except for a single status column. 
This publication has 12 million rows and is very active, with thousands of changes daily. 
, The three rows did not replicate a status change from a 5 to a 6. 
We verified that the status was in fact 6 on the publisher, and 
5 on both subscribers, yet no messages or errors.  All the other rows successfully updated.  
We fixed it by updating the publication from 6 back to 5 then back to 6 again on those specific rows and it worked.
The CPU is low and overall latency is minimal on the distributor. 
From all accounts the replication is stable and smooth, but very busy. 
The issues above have only recently started.  I am not sure where to look for a problem, and to that end, a solution.

I suspect the problem with the new publication/subscriptions not initializing may have been a result of timeouts but it is hard to say for sure.  The fact that it eventually succeeded after multiple attempts leads me to believe this.  If this happens
again, enable verbose agent logging for the Distribution Agent to see if you are getting query timeouts.  Add the parameters
-OutputVerboseLevel 2 -Output C:\TEMP\DistributionAgent.log to the Distribution Agent Run Agent job step, rerun the agent, and collect the log.
If you are getting query timeouts, try increasing the Distribution Agent -QueryTimeOut parameter.  The default is 1800 seconds.  Try bumping this up to 3600 seconds.
Regarding the three transactions not replicating, inspect MSrepl_errors in the distribution database for the time these transactions occurred and see if any errors occurred.
Brandon Williams (blog |
linkedin)

Similar Messages

  • SQL SERVER 2008 R2 - REPLICATION BEGINNERS

    Hi all Friends,
    Am beginner to ms sql 2008 and i have installed sql Express edition and management studio and tried to do replication there some issues i have faced 
    1) Cant use my host as distributor
    2) SQL server agent Edition is running 
    3)Cant create publisher also 
    May i know which edition supports for all replication ( Merge,Transactional,Snapshot)
    Thankful to repliers

    You do not mention what you are replicating to. SQL Server express can only be a merge replication subscriber. If you want to replicate to a SQL Server Standard Edition and above you will need to make the SQL Server Standard Edition server your publisher
    and the SQL Server express edition your subscriber and then changes will move from the merge replication subscriber to the publisher and vice versa.
    As the SQL Server Express client does not have SQL Server agent, you will need to do a push subscription from the Standard Edition, or run RMO, or a batch file which runs replmerg.exe on the subscriber. You might also be able to run web sychronization.
    If the source and destination servers are both SQL Server Express editions you might want to use Sync Services.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • HELP ME!!! I have a problem regarding SQL Server 2008 R2 Replication! :((((

    Good day!
    I'm having a big problem in my SQL Server 2008 R2... I can't see the "Local Publication" under the Replication...
    About not installing it, I guess that's not true because I checked all the features to install.
    Is this a bug? Do I need to re-install my SQL Server 2008 R2? Or simply, do I need to do something simple without re-installing it?
    PLEASE HELP....
    See Link below:
    http://oi59.tinypic.com/4jx3y1.jpg

    None. This is a freshly installed SQL Server 2008 R2. After installing, All I did was create a database.
    If you want to know how I did it, simply:
    1. Open SSMS, connect to local server
    2. Open Object Explorer
    3. Expand your local server
    4. Right+Click on the Database then clicked on to "New Database..."
    5. Entered my database name then clicked "OK"

  • 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

  • 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

  • MOSS 2007 SP1 & SQL Server 2008 upgrade plan into MOSS 2010 and SQL Server 2008 R2 ?

    Hi All,
    I've got the following setup in one single server:
    Windows Server 2008 Standard
    SQL Server 2008 Standard
    SharePoint Server 2007 Enterprise SP1
    that I'd like to upgrade into the following:
    Windows Server 2008 R2 Standard
    SQL Server 2008 R2 SP1 ?
    SharePoint Server 2010 Enterprise
    can i just perform CA farm level backup then import it on the new SharePoint server ? is there any caveat that i should pay attention to ? (eg. non working site list or web parts ? )
    thanks.
    /* Infrastructure Support Engineer */

    Backup/import will not work for upgrade. As mentioned on the other thread, you need to perform a database attach upgrade to move to a separate 2010 from from a 2007 farm. For information about upgrading to SharePoint Server 2010, see the upgrade guide:
    http://technet.microsoft.com/en-us/library/cc303420.aspx 

  • 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

  • Attempted to perform an unauthorized operation error while installing SQL Server 2008 R2 Enterprise edition on Windows Server 2012 R2 standard VM server

    I've been trying fresh installation of SQL Server 2008 R2 enterprise on Windows Server 2012 R2 standard VM server several times for two weeks, but always get the error "Attempted to perform an unauthorized operation". At first, I attempted
    to install all features, but failed several times. So I decided to try install just Database Engine service, and still fail at the SqlBrowserConfigAction_Install_ConfigNonRC_Cpu32, with the error "Attempted to perform an unauthorized operation".
    I remote login to server with my admin domain account. This account is in server local Administrators group. I
    1. Right-click on setup.exe file | properties | Compatibility tab | select compatibility to Windows 8.Then click OK.
    2. Right-click on setup.exe file | Run as Administrator, to start the Installation Center.
    I have the document of my installation steps and zip file of the installation logs, if you need to take a look.
    Appreciate for any help!
    ntth

    Hi ntth,
    "Attempted to perform an unauthorized operation"
    The above error is always related to the Windows account SID mapping. I recommend you login into Windows using another Windows account which has administrative privileges and run SQL Server setup using that Windows account.
    Besides, please note that we need to apply SQL Server 2008 R2 Service Pack 2 or a later update when installing SQL Server Windows Server 2012 R2. For more information, please review this
    KB article.
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • 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)

  • Temporarily disable Digital Signature Checks to Install MS SQL Server 2008 with no Internet Access

    I am attempting to install a licensed copy of MS SQL Server 2008 in a Private Enclave that does NOT have Internet access on a Win2008 R2 SP1 server (that is VM - thus I can't reboot and press F8 to select "Disable Driver Signature Enforcement"
    ). The installation fails with an error of the vc_red.cab file being found either corrupt or a bad digital signature.  The file is good, but the signature has an expiration of 2011.   I understand that a DOTNET SDK v1.1 program called setreg.exe
    will enable disabling the digital signature check, but I am not permitted to use that program. 
    I might be permitted to use the "Signtool.exe" utility, but it is not clear what command sequences are necessary to disable and then re-enable the Digital Signature checks.
    I saw a thread that recommended using the command:
    bcdedit.exe /set nointegritychecks ON
    However, the comments indicated that this might not have worked.
    Are there Registry settings I can use with regedit to make the necessary changes to be able to install the application?  I anticipate running into this problem with other software when I do not have Internet connectivity.   I already tried
    downloading the Microsoft CRL files; updated the lists on the Server; and rebooted.  This did not solve my problem.  

    Hi,
    As far as I know, it is not recommended to disable digital signature check.
    Since we are not familair with installing MS SQL server, please also refer to SQL forums below to see if experts there have more insights regarding the matter.
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/home
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Using SSDT-BI in Visual Studio 2012 to create and maintain SSRS, SSAS, SSIS in SQL Server 2008 R2

    Hi,   My management is wanting all the developers (database and .net) to upgrade from Visual Studio 2008 to Visual Studio 2012.  We are currently using SQL Server 2008 R2 for our data warehouse and using Business Intelligence (SSIS,
    SSAS, and SSRS) to maintain it.  Our database team is also wanting to create database projects and include that in our Team Foundation Server 2010 code repository along with our BI code.  From what I've been able to research googling the
    internet is there are two products available SSDT and SSDT-BI which can be installed into VS2012, but it appears that only SSDT for database projects is the only thing that will work until we someday upgrade to SQL Server 2012.  Most of the information
    I've found on the internet regarding this subject is over a year old and a lot can change in a year.  So my questions are can we install VS2012 and both SSDT and SSDT-BI to create and maintain the SSIS, SSRS, and SSAS currently in our SQL Server 2008
    R2 database?  If we can install these three items, VS2012 and the two SSDTs, and are able to create new BI and maintain our current BI in our SS2008R2 database then what issues might we have with our TFS2010 code repository?  We prefer
    to use only VS2012 or VS2008 but not both at the same time.  If we can't do everything we are currently doing in VS2008 with our SS2008R2 database by switching to VS2012 and the two SSDTs then we will stay with VS2008 until we someday upgrade
    to SS2012.  Please advise and thank you.  James M.

    I'm going to move this to the SSAS blog, where most SSDT-BI questions are answered (this forum mainly answers SSDT questions). Someone there may be able to give you better information but here's what I know:
    - I think you'll only need to install SSDT-BI since you're using SSIS, SSAS and SSRS. SSDT is the database tooling which it sounds like you wouldn't use, and it's actually built into VS2012 in any case.
    - SSIS projects don't work with earlier versions of SQL Server, but SSAS and SSRS do. Details are on
    this blog post. I don't have enough knowledge to suggest workarounds or best practices for handling the SSIS issue. Perhaps you could keep 2 projects, or 2 branches of the same project (one for 2012, one for 2008) if that's possible? I think your BIDS projects
    will be upgraded to SSDT-BI compatible projects so it's work checking them into source control, upgrading, then comparing to understand what's changed. You might be able to keep the same overall source and just change a few settings in the different branches?
    Hopefully someone on the SSAS forum can help give you more information and suggestions.
    Kevin

  • SQL Server 2008 R2: which version of Visual Studio do I need to keep database projects and SSIS projects in the same solution

    I need to build a solution containing a database project and an integration services project for SQL Server 2008R2.  Apparently, the subset of Visual Studio tools that comes with SQL Server 2008R2 does not include database projects and does not have
    Team Foundation Server support.  Because of those limitations, I am trying to determine which version of Visual Studio will allow me to:
    1. Build a single solution that includes both a database project and an Integration Services project
    2. For the database project, be able to import a database schema from an existing SQL Server 2008 R2 database, do schema compares and update the project from the database and vice versa
    3. For the Integration Services project, be able to deploy the packages to SQL Server Integration Services on SQL Server 2008 R2 (that is, to the msdb database).
    4. Use Team Foundation Server for source control of the whole solution, including both project types.

    Hi G Britton,
    To build a solution containing a database project and an integration services project for SQL Server 2008 R2 and use Team Foundation Server for source control.
     You can choose to install Visual Studio 2008.
    And as you want to utilize Schema compare and/or Data compare functionalities in Visual Studio, you will need to install the
    Visual Studio Team System 2008 Database Edition or Visual Studio Team System 2008 Team Suite.
    In addition, for Visual Studio issues, I would like to recommend you post the question in the
    Visual
    Studio forums to get better support.
    Reference:
    Team Foundation Version Control
    Compare and Synchronize Database Schemas
    Interoperability and Coexistence (Integration Services)
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • SQL Server 2008/2012 Express Connection Problem

    Hello,
    since a couple of days I'm working on a problem with the SQL Server Express (32-Bit as well as 64Bit).
    I installed a new SQL Server 2008 with an instance named SQL2012 and the Management Studio 2008 R2 on the same machine. I easily am abled to connect to the Server using the Management Studio with several Server Name settings (localhost, IP, (local), .\SQL2012).
    Now I have a self-written programm (C#) wich should connect to the Server, but it does not work. It is definitely not a problem of the programm code because the same programm is abled to connect to a SQL Server 2008 Enterprise Edition. Similar Problem with
    the 2012 Express Version (2012 Enterprise not tested).
    The connection string I use and wich is working with connecting on the Enterprise Edition is: Server=Servername\Instance;Database=DatabaseName;User Id=user;Password=password;
    Anybody any solution why the Express-Version refuses to connect?
    (Sorry if I have made several failures in my text, English is not my native language)

    It Occurs when I try to ping.Send the Server to see if he is active. If I skip this step and try to connect directly to the server (con.Open()) I get the exception:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The
    server was not found or it can not be accessed. Verify that the instance name is correct and that SQL Server allows remote connections. (provider: Named Pipes Provider, error: 40 - Connection with the SQL Server couldn't be opened)

  • 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

  • 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!

Maybe you are looking for

  • Open & Save on many applications dialouges acting very strange lately!

    This is a weird situation to explain because it is so odd to me, and I've never seen anything like it. On applications like Mail, Photoshop, Text Edit, and other programs (both Apple and non-Apple) have been giving me very odd behaviors when saving a

  • CD player wont accept blank cd's to record

    Hi, I'm trying to get my disk burner to accept a blank cd for recording music. After I insert the blank cd it whirls around for awhile the just ejects it without any type of pop up saying why it won't accept it. Yes I'm using correct media type. Play

  • Itunes Mobile device manager wont load/gone

    I bought a new ipad3 and i am having an error message come up when syncing my music  from my iTunes account on a HP Netbook (Windows XP) to my iPad3. I get an error message that the iTunes Mobile Device Manager is not connected. Using the new 10.6 OS

  • HT4052 how to upgrade iphoto 8.1.2 to iPhoto 11?

    I have MBP OS 10.6.8 and want to upgrade iPhoto 8.1.2 to iPhoto '11 so my iPhoto Library from my MBA which uses iPhoto '11 with OS 10.6.8 can be opened. I have gone to the Apps stall to purchase the upgrade and I get this message "iPhoto 8.1.2 is alr

  • How/where do I get BPR-content for SAP best practices into solar01/solar02?

    I am looking to use SAP Solution Manager to perform a blueprint & (parts of) a configuration/realization with a number of SAP ERP best practices as the starting point. Unfortunately the BPR-content for my solman seems to be missing as I cannot find a