Adding SQL Server 2012 to PD 16.0

The latest version of SQL Server supported in PD 16.0 is 2008. What is the process / where / how do I obtain the database configuration file for SQL Server 2012.
Thanks

Hi,
PD16.0 support stopped before sql server 2012 was officially out...
You may find the xdb (configuration file) from a PD16.5SP03 trial and check the difference with the 2008 to create your own xdb.
But it will not be supported by SAP.
Best solutionis to upgrade to PowerDesigner 16.5 SP3 which have support for sql server 2012.
Marc

Similar Messages

  • Adding Availability Group to Existing SQL Server 2012 Enterprise installation

    Looking at an existing SQL Server 2012 Enteprise vm. We'd like to add availability group functionality.  It seems that we should be able to create a second VM and install SQL on it in an identical configuration.  Then create a windows cluster with
    the two nodes. From there we should be able to configure avaialbility groups.
    I've set up avaialbility groups before but have not retrofitted one before.  It seems possible though since the instances are standalone.  Anyone see a problem with doing this?
    thanks
    Peter

    Hello,
    What you have is pretty much it. Since AGs require clustering but do not require a clustered install (stand alone install is used) there shouldn't be any changes with the actual install. You will have to enable the HADR option in the configuration manager
    once the clustering is setup.
    Sean Gallardy | Blog |
    Twitter

  • Msg 8631 Internal error: Server stack limit has been reached on SQL Server 2012 from T-SQL script that runs on SQL Server 2008 R2

    I have an Script mostly that is generated by SSMS which works with-out issue on SQL Server 2008, but when I attempt to run it on a new fresh install of SQL Server 2012 I get an Msg 8631. Internal error: Server stack limit has been reached. Please look for
    potentially deep nesting in your query, and try to simplify it.
    The script itself doesn't seem to be all that deep or nested.  The script is large 2600 lines and when I remove the bulk of the 2600 lines, it does run on SQL Server 2012.  I'm just really baffled why something that SQL Server generated with very
    few additions/changes AND that WORKS without issue in SQL Server 2008 R2 would suddenly be invalid in SQL Server 2012
    I need to know why my script which is working great on our current SQL Server 2008 R2 servers suddenly fails and won't run on an new SQL Server 2012 server.  This script is used to create 'bulk' Replications on a large number of DBs saving a tremendous
    amount of our time doing it the manual way.
    Below is an 'condensed' version of the script which fails.  I have removed around 2550 lines of specific sp_addarticle statements which are mostly just copy and pasted from what SQL Management Studio 'scripted' for me went I when through the Replication
    Wizard and told it to save to script.
    declare @dbname varchar(MAX), @SQL nvarchar(MAX)
    declare c_dblist cursor for
    select name from sys.databases WHERE name like 'dbone[_]%' order by name;
    open c_dblist
    fetch next from c_dblist into @dbname
    while @@fetch_status = 0
    begin
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 2400 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script =
    null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509F, @identityrangemanagementoption = N''manual'', @destination_table = N''TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false'', @ins_cmd = N''CALL sp_MSins_dboTABLE_ONE'',
    @del_cmd = N''CALL sp_MSdel_dboTABLE_ONE'', @upd_cmd = N''SCALL sp_MSupd_dboTABLE_ONE''
    EXEC sp_executesql @SQL
    SET @dbname = REPLACE(@dbname, 'dbone_', 'dbtwo_');
    print @dbname
    SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
    use ['+@dbname+']
    exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
    use ['+@dbname+']
    exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
    -- Adding the transactional publication
    use ['+@dbname+']
    exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
    '''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
    = N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
    @immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
    exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
    @frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
    -- There are around 140 lines roughly the same as this only difference is the tablename repeated below this one
    use ['+@dbname+']
    exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''DB_TWO_TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''DB_TWO_TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script
    = null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509D, @identityrangemanagementoption = N''manual'', @destination_table = N''DB_TWO_TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false''
    EXEC sp_executesql @SQL
    fetch next from c_dblist into @dbname
    end
    close c_dblist
    deallocate c_dblist
    George P Botuwell, Programmer

    Hi George,
    Thank you for your question. 
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    If you have any feedback on our support, please click
    here.
    Allen Li
    TechNet Community Support

  • Unable to add replication feature in sql server 2012 web edition

    Hi All,
    We are using SQL Server 2012, Web edition and when it was installed replication is not an added feature so I tried to add this feature but getting below error.
    Error: There are no SQL Server instances or shared features that can be updated on this computer.
    Description: The version of SQL Server instance MSSQLSERVER does not match the version expected by the SQL Server update. The installed SQL Server product version is 11.1.3000.0, and the expected SQL Server version is 11.0.2100.60
    And also please let me know how to identify the default file location of the setup file 'setup.exe' for SQL Server 2012 (Webedition, 64bit) Grateful to your time and support.
    I'm using "C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Update Cache\KB2777772\QFE\setup.exe" to add replication feature, please correct me if I'm wrong.
    Thank You.
    Regards,
    Kalyan
    ----Learners Curiosity Never Ends----

    It looks like you are trying to add Replication Components, however, you are using the Cumulative update package 5 setup, which is wrong.
    Note that you will not find the setup file for SQL Server on your file system, it will be on your installation media.
    To install SQL Server Replication Components, locate your installation media and run Setup.exe.  Select the add features to an existing instance option, select your instance, and add replication components.
    Brandon Williams (blog |
    linkedin)

  • Failed to create LOGIN from a domain account on SQL Server 2012

    Hello,
    My environment is like,
    A Domian Controller (with the domain name: CONTOSO) hosted by a Windows Server 2008 R2.   --- Server 1
    A SQL Server 2012 x64 runs on another Windows Server 2008 R2 (this Server has been added into the CONTOSO domain).  --- Server 2
    I am trying to create a SQL login on Server 2 with the statement shown below:
    CREATE LOGIN "CONTOSO\domain_group_b" FROM WINDOWS;
    while, an error occurred,
    Msg 15401, Level 16, State 1, Line 1
    Windows NT user or group 'CONTOSO\domain_group_b' not found. Check the name again.
    I've made sure that the domain group account "domain_group_b" has been created on Server 1.
    Is anything else needed to be done?

    Pretty pretty sorry for my bad explanation in English.
    Yes, the Server 2 (the actual name of this server is "SQL-A", the Server 1's name is "DC") has been a member of CONTOSO. 
    I typo the domain name CONTOSO as CONTSO, but I keep using CONTSO everywhere.
    These two servers are hosted by Hyper-V.
    I could login on server2 by the domain user "domain_user_b".
    It seems that neither the domain group, "domain_group_b" nor the domain user, "domain_user_b" cannot be associated when creating a SQL login.
    SQL-A captures:

  • When installing DPM2012 R2 to a remote SQL Server 2012 R2 Sp1 produces an error 832

    Sorry for bad english 
    Good afternoon trying to overcome the installation error 832 
    There are two virtual servers on ESXI 
    1. DPM on it trying to install itself DPM 
    2. SQL it should be a database DPM 
    SQL virtual machine on the net it was added component NetFW 3.5 put SQL Server 2012 SP1 EN-en. In the first plug SQL Data Base, Report Services, SQL Management studio from all services are running under a domain administrator 
    When you install SQL selected Server Collation "SQL_Latin1_General_CP1_Cl_AS" 
    Both hosts have Windows Server 2012 R2 En-en 
    DPM virtual machine clean, installed on it NetFW 3.5 and the component SQL Management studio, when you install DPM SQL Server validation errors not issued, at the end of the installation gives an error 832 
    Windows Server 2012 R2, SQL Server 2012 Sp1, DPM 2012 R2, all downloaded from a site microsoft 
    Visited rearrange SQL, rearrange Windows, put Ru-ru and En-en 
    Went to run the SQL from under Local system and other domain account 
    Where then subtracted that you want to create a domain / local recording Microsoft$DPM$ACC and run from under her service 
    did not help. 
    The only thing that bothers me more is that the domain name is XXX.YYY.local here where you need to read that domain would look like XXX.local but not sure that's true

    Hi
    Can you post the log file so we can see the error in more detail?

  • SQL Server 2012 - Wat Is The Best Solution For Creating a Read Only Replicated/AlwaysOn Database

    Hi there I was wondering if someone may have a best recommendation for the following requirement I have with regards setting up a third database server for reporting?
    Current Setup
    SQL Server 2012 Enterprise setup at two sites (Site A & Site B).
    Configured to use AlwaysOn Availability groups for HA and DR.
    Installed on Windows 2012 Servers.
    This is all working and failover works fine and no issues. So…
    Requirement
    A third server needs to be added for the purpose of reporting, to be located on another site (Site C) possibly in another domain. This server needs to have a replicated read only copy of the live database from site A or Site B, whichever is in use. The Site
    C reporting database should be as up-to-date to the Site A or Site B database as possible – preferably within a few seconds anyway….
    Solution - What I believe are available to me
    I believe I can use AlwaysOn and create a ReadOnly replica for the Site C. If so do I assume Site C needs to have the Enterprise version of SQL server i.e. to match Site A & Site B?
    Using log shipping which if I am correct means the Site C does not need to be an Enterprise version.
    Any help on the best solution for this would be greatly appreciated.
    Thanks, Steve

    for always on - all nodes should be part of one windows cluster..if there site C is on different domain - I do not think it works.
    Logshipping works --as long as the sql on site C is is same or higher version(sql 2012 or above).  you can only do read only.
    IMHo, if you can make site C in the same domain then, Always is better solution else log shipping
    also, if your database has enterprise level features such as - partitonin, data compression -- you cannot restore the database on lower editions- so you need to have enterprise edition.
    Hope it Helps!!

  • Import MS Access 2013 tables into SQL Server 2012

    Hi there,
    Is there a step by step example somewhere showing how to import an MS Access 2013 table into SQL Server 2012?
    I have read the existing posts and don't see a definitive answer.
    I have installed MS Access 2010 engine, first 32 bit then 64 bit.
    I have installed the MS Access 2013 runtime on my server.
    I use the Office 2015 Access Database Engine OLE DB Provider.
    I get the error:
    Error 0xc0202009: Source - APEntries [1]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E37.
    Error 0xc02020e8: Source - APEntries [1]: Opening a rowset for "`TableName`" failed. Check that the object exists in the database.
    The post regarding the above errors doesn't resolve the issue.
    I have full administrative permissions on the server.
    What is the trick to making this work?
    Thanks,
    Ric
    Ric Miller

    Hi there,
    I tried the exact same operation on a third machine.
    This machine has Windows 8.1 64 bit, SQL Server 2012 64 bit, MS Office 2013 Plus 32 bit.
    I am the administrator on this machine.
    I installed this:
    Microsoft Access Database Engine 2010 Redistributable 32 bit (because I have MS Office 2013 plus 32 bit installed.)
    From here:
    http://www.microsoft.com/en-us/download/details.aspx?id=13255
    It won't let me install the 64 bit version without uninstalling MS Office 32 bit.
    I created an MS Access database on this machine using MS Access 2013 and created a table with 3 records.
    I used the "Import and Export Data (32 bit)" from the start menu.
    After I installed the "Database Engine 2010 32 bit" driver above, I now have the option of "Office 2015 Access Database Engine OLE DB Provider" as Data Source which I did not have prior to doing this installation.
    I selected the driver and added the Properties of the Data Source Name file location of the MS Access file. I am using a blank password.
    I go thru the same sequence of selecting a table to import and after running the result is the same:
    Error 0xc0202009: Source - APEntries [1]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E37.
    "Error 0xc02020e8: Source - APEntries [1]: Opening a rowset for "`TableName`" failed. Check that the object exists in the database."
    This seems to be consistent across three machines with three operating systems with the same files and the same result.
    I understand that some people have gotten this to work.
    I would appreciate it if anyone can report an error in the above procedure to me.
    Thanks,
    Ric
    Ric Miller

  • SQL Server 2012 PowerView & PoverPivot in combination with SharePoint 2013

    Hi,
    I have been reading articles on the internet about this, and I am little bit confused. I understand this is also changed since in SP2013. Could someone with experience clarify.
    1. It looks like Power View has become a part of Reporting Services and can not be installed without Reporting Services, is this correct? If this is true, then what is this
    http://www.microsoft.com/en-us/download/details.aspx?id=35577 If not, why do I see a lot of links referring to PowerView as a part of Reporting Services? for example
    http://www.codeproject.com/Articles/615462/Configure-Power-View-Reporting-Services-Features-o
    2. Do I need Analysis Services in order to use PowerView, is other words is Analysis Services a requirement?
    3. Where do I run the SQL Server 2012 Setup? I was assuming that I need to run it on SharePoint in order to add and register dll's on the SP servers, they are needed in order to create Service Applications (PowerView & PoverPivot). However in pictures
    on the
    http://www.codeproject.com/Articles/615462/Configure-Power-View-Reporting-Services-Features-o link I see they are adding features to SQL instance. So do we run it on SharePoint or SQL server? If we run it on SharePoint server, what to do with instance name?
    If on SQL server, how will SharePoint server get dll's in order to create Service Applications?
    4. Can SQL 2008 be used for PowerView & PoverPivot configuration databases? I mean a scenario when SharePoint has 2012 versions of PowerView & PoverPivot DLLs (i.e. PowerView & PoverPivot Service Applications created
    with SQL2012 version), but  configuration databases itself for these applications are in SQL 2008? I know that such a scenario was supported with SSRS on SP2010(you could simply run the SQL2012 setup on SP server and add SQL2012 SSRS, later when you configure
    SSRS in SharePoint mode SQL 2008 database could be used as a SSRS configuration database)...
    Thanks in advance!
    Tofig

    1. Part of the confusion comes from the fact that there are several versions of powerview: powerview for SharePoint and PowerView for Excel. But yes, for SharePoint integration it's part of SSRS. (If you're not talking about SharePoint, then you can create
    and use PowerView in Excel. No SSRS or SharePoint required. But, the link you provided is for PowerPivot for SharePoint. This provides additional functionality for folks that want to surface PowerPivot workbooks in SharePoint. (which is different than PowerView).
    (PowerPivot = tabular data mode in excel = the ability to create pivottables/charts with millions of rows of data in Excel with jaw dropping performance (sorry for the advertising speak, but in my experience, it's true).  PowerView = the ability to create
    dashboards / eye candy / other neat visualizations like maps for data that is stored in a tabular data model (PowerPivot or SSAS in tabular mode)).
    2. No. PowerView was originally designed to use "tabular data models" as their source of data. There are two ways to create a tabular data model: An SSAS instance in tabular mode, or an Excel Workbook with a powerPivot data model (PowerPivot is the excel
    version of the tabular data model). So, if you have a workbook that has data loaded in through PowerPivot, you can create a PowerView report in that workbook and surface it with excel services, with no SSAS needed.
    3. On a SharePoint box. The only way to install SSRS in SharePoint integrated mode is to install SSRS on a SharePoint WFE. (The databases they use will go on the SQL box, but the bits for SSRS go on the SharePoint box)
    4. According to the following doc, SharePoint 2013 only supports SSRS 2012 SP1 (which means only SQL 2012):
    http://msdn.microsoft.com/en-us/library/gg492257.aspx
    Mike G.

  • How do you create a buffer of a geometry in SQL Server 2012?

    Hello,
    I am new to SQL Server 2012 and spatial data. I built a geometry object of coordinates from a polygon that I stored in a database.  The code is below:
    DECLARE @digb GEOMETRY;
    SET @digb = GEOMETRY::STGeomFromText('POLYGON ((-79.927138 40.362654, -79.91883 40.364224, -79.915966 40.361067, -79.917897 40.359266, -79.927398 40.360142, -79.927138 40.362654))', 4269);
    I am using SRID 4269 (Latitude/Longitude NAD83).  I have no issues getting this geometry to load properly when the query is executed. (shown below)
    My problem is that I am unable to create a valid buffer of 150 feet on this geometry.  I have tried using these 3 statements below (I assumed BufferWithCurves() would be the one that would work); however, ALL of them returned to an invalid buffer of
    the polygon (shown below):
    -     DECLARE @digbb GEOMETRY = @digb.STBuffer(2);
    -     DECLARE @digbb GEOMETRY = @digb.BufferWithCurves(2)
    -     DECLARE @digbb GEOMETRY = @digb.BufferWithTolerance(@BufferSize,250.0,1);
    Does anyone have any idea of how creating this buffer of a geometry object (polygon mentioned above) in SQL Server 2012? 
    Thanks in advance for any help.
    Nick

    Hi Nick,
    BTW, please do ask questions on the forum, that's what it's for. I only meant "if my explanation in that specific answer was unclear, let me know and I'll clarify". Feel free to start a new thread for each topic because that way, it's
    might be easier for folks to search on.
    Specific answers:
    I haven't worked directly with the MapInfo loader but if you're working with SQL Server, I assume what they may be doing is looking for "geodesic SRIDs" that SQL Server supports (the ones listed in sys.spatial_reference_systems) and loading those
    as geography, else geometry. That may be a good thing to do.
    If you want to decide yourself, here's some (short) background.
    Only SQL Server (I think PostGIS might have added it) has separate geography and geometry types. Everyone else always uses "geometry" and gives you (maybe) the ability to convert between SRIDs in the database. SQL Server doesn't have
    this built-in; you'd need to use a library like PROJ4.
    You can use geometry type to refer to geodesic SRIDs, but it doesn't have a way to "take the area using spatial instances in decimal degrees and come up with meters". So, if you only use it to display on a map, it will display correctly.
    Or close enough. Same with intersects, intersection and the like. But anything like area, distance, or, in your case buffer using a specific number of meters, you need to use geography.  You could have gotten somewhat similar-looking
    results with geometry by making your input to STBuffer a sufficiently small fraction, but it would be a guess on your part, not a "150 feet" buffer.
    You can't CAST/CONVERT between geometry and geography because they didn't want people to assume that these would do SRID conversion. However, there is a codeplex library "SQL Server Spatial Tools" (http://sqlspatialtools.codeplex.com/) that
    has two methods: VacuousGeometryToGeography and vice-versa, that does the equivalent (but optimized) of taking one type, spitting it out in well-known text format, then using it to initialize the other type. Or you can do this in your own code.
    In general, geography is for anything geodesic; geometry is for planar or projected coordinate systems (e.g state plane coordinate systems in US, that don't use Long/Lat). But geography is slightly slower in calculations (like intersects) because it's more
    complex than simple Euclidian geometry. And folks in other platforms are used to using "geometry" and having the platform do the (sometimes fairly expensive) conversions on-the-fly. Or maybe you don't care about the area, distance, etc.
    Even in the geography type, WKT specifies (Long Lat) not (Lat Long). This is because the OGC standard doesn't distinguish and calls things (X Y), and if you think about it, (X Y) is (Long Lat) not (Lat Long). The SQL Server geography-specific method MakePoint
    has latitude first as a parameter. OGC or SQL/MM standard methods and property names start with "ST" in SQL Server (e.g. STIntersects); SQL Server-specific methods and properties do not (e.g. MakePoint, ReorientObject).
    Finally, attempting to do spatial calculations with unlike SRIDs (e.g. intersects between SRID 4269 and 4326 instance) returns NULL.  
    One more post coming on this thread with some info/links.
    Cheers, Bob

  • Could not connect to SQL Server 2012 Remotely

    Hello, 
    I have a situation as follows:
    The Server
    SQL Server 2012 Standard Edition installed on Windows Server 2012 Standard Edition
    Active Directory is installed on the same server as well
    Remote Access Role added and configured to connect VPN 
    DNS Role added
    Windows Firewall is disabled
    The Server is connected to the internet 
    SQL Server Service & SQL Browser both are running under domain accounts
    SQL Server allows remote connections
    The Router
    The router that connects the server to the Internet is configured to:
    Enable VPN Tunnels Protocols (PPTP, L2TP and IPSec)
    Forwarding > Virtual Servers (all requests on TCP and UDP on all ports to the server local IP)
    The Client
    PC running Windows 7 SP1 with SQL Server 2012 Express 
    Joined AD on the server
    Connected to the internet
    VPN Connected to the Server
    Can Remote Desktop the Server
    Can ping the server host name
    Can nslookup the server host name
    The Problem
    If Both the Server and the Client are connected in the same Local Area Network, Client can connect to the SQL Serve
    Once the Client is placed in different location connected to the Interent, VPN connected as described above, I could not connect to the Server using:
    Windows Authentication Domain Users or
    SQL Server users
    and the error message is:
    Cannot connect to SERVER\SQLINSTANCE.
    ADDITIONAL INFORMATION:
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476
    Any thoughts
    Thanks in advance
     

    Hello Hilary,
    I have been working on a small replication test.
    On the Publisher, things went smooth and the Snapshot Agent was able to work and produce a snapshot written in a shared folder located on the Publisher
    On the Subscriber, as I am testing from SQL Server Express, I had run the following command:
    replmerg.exe -Publisher [SERVER\SQLInstance] -PublisherDB [dbRepl] -PublisherSecurityMode 0 -PublisherLogin rplMergeAgent -PublisherPassword p@ssw0rd -Publication [TEST Publication] -Distributor [SERVER\SQLInstance] -DistributorSecurityMode 0 -DistributorLogin
    rplMergeAgent -DistributorPassword p@ssw0rd -Subscriber [SUBSCRIBER\SQLInstance] -SubscriberSecurityMode 0 -SubscriberLogin rplMergeAgent -SubscriberPassword p@ssw0rd -SubscriberDB [dbRepl] -SubscriptionType 1 -OutputVerboseLevel 2 -Output C:\TEMP\mergeagent.log 
    Where 
    SERVER
    Publisher and Distributor
    dbRepl
    Database to replicate
    Merge Agent
    rplMergeAgent
    Subscriber
    SUBSCRIBER
    dbRepl
    Subscriber Database
    Merge Agent
    rplMergeAgent
    Password
    p@ssw0rd
    rplMergeAgent
    SQL Login defined in both Publisher and Subscriber with same password
    Granted the following at Publisher:
    Login to Publication Database (dbRepl)
    Login to Distribution Database (distribution)
    Member of PAL
    Granted the following at Subscriber:
    db_owner fixed database role in Subscription database (dbRepl)
    I couldn't grant rplMergeAgent Read Permission on SnapshotFolder as it is only a SQL Login.
    When I ran the above command line, I received the following error:
    Message: The schema script 'Person_2.sch' could not be propagated to the subscriber.
    I am pasting below the whole log file written by the above command:
    2014-04-11 15:38:07.205 Microsoft SQL Server Merge Agent 11.0.2218.0
    2014-04-11 15:38:07.342 Copyright (c) 2008 Microsoft Corporation
    2014-04-11 15:38:07.389 
    2014-04-11 15:38:07.406 The timestamps prepended to the output lines are expressed in terms of UTC time.
    2014-04-11 15:38:07.433 User-specified agent parameter values:
    -Publisher SERVER\SQLInstance
    -PublisherDB dbRepl
    -PublisherSecurityMode 0
    -PublisherLogin rplMergeAgent
    -PublisherPassword **********
    -Publication TEST Publication
    -Distributor SERVER\SQLInstance
    -DistributorSecurityMode 0
    -DistributorLogin rplMergeAgent
    -DistributorPassword **********
    -Subscriber SUBSCRIBER\SQLInstance
    -SubscriberSecurityMode 0
    -SubscriberLogin rplMergeAgent
    -SubscriberPassword **********
    -SubscriberDB dbRepl
    -SubscriptionType 1
    -OutputVerboseLevel 2
    -Output C:\TEMP\mergeagent.log
    2014-04-11 15:38:07.497 Percent Complete: 0
    2014-04-11 15:38:07.517 Connecting to Subscriber 'SUBSCRIBER\SQLInstance'
    2014-04-11 15:38:07.518 Connecting to OLE DB Subscriber at datasource: 'SUBSCRIBER\SQLInstance', location: '', catalog: 'dbRepl', providerstring: '' using provider 'SQLNCLI11'
    2014-04-11 15:38:07.608 OLE DB Subscriber: SUBSCRIBER\SQLInstance
    DBMS: Microsoft SQL Server
    Version: 10.50.4000
    catalog name: dbRepl
    user name: rplMergeAgent
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2014-04-11 15:38:07.613 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': select SERVERPROPERTY ('ProductVersion') 
    2014-04-11 15:38:07.617 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select
    collationproperty(@collation, N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) &
    0x1 = 0x1 then 0 else 1 end as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
    2014-04-11 15:38:07.637 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': {?=call sp_helpsubscription_properties (N'SERVER\SQLInstance', N'dbRepl', N'TEST Publication')}
    2014-04-11 15:38:07.681 Distributor security mode: 0, login name: rplMergeAgent, password: ********.
    2014-04-11 15:38:07.682 Percent Complete: 0
    2014-04-11 15:38:07.683 Connecting to Distributor 'SERVER\SQLInstance'
    2014-04-11 15:38:07.684 Connecting to OLE DB Distributor at datasource: 'SERVER\SQLInstance', location: '', catalog: '', providerstring: '' using provider 'SQLNCLI11'
    2014-04-11 15:38:25.062 OLE DB Distributor: SERVER\SQLInstance
    DBMS: Microsoft SQL Server
    Version: 11.00.2100
    catalog name: 
    user name: guest
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2014-04-11 15:38:28.887 OLE DB Distributor 'SERVER\SQLInstance': select SERVERPROPERTY ('ProductVersion') 
    2014-04-11 15:38:29.842 OLE DB Distributor 'SERVER\SQLInstance': {call sp_helpdistpublisher (N'SERVER\SQLInstance') }
    2014-04-11 15:38:32.198 OLE DB Distributor 'SERVER\SQLInstance': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'SERVER\SQLInstance')
    2014-04-11 15:38:33.199 OLE DB Distributor 'SERVER\SQLInstance': {call sp_MShelp_merge_agentid (0,N'dbRepl',N'TEST Publication',null,N'dbRepl',100,N'SUBSCRIBER\SQLInstance')}
    2014-04-11 15:38:34.451 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:38:34.560 OLE DB Distributor 'SERVER\SQLInstance': {call sp_MShelp_profile (23, 4, N'')}
    2014-04-11 15:38:36.189 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:38:36.499 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_get_redirected_publisher(N'SERVER\SQLInstance',N'dbRepl',0)}
    2014-04-11 15:38:37.396 Percent Complete: 0
    2014-04-11 15:38:37.396 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:38:37.399 Initializing
    2014-04-11 15:38:37.401 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:38:37.403 Connecting to OLE DB Publisher at datasource: 'SERVER\SQLInstance', location: '', catalog: 'dbRepl', providerstring: '' using provider 'SQLNCLI11'
    2014-04-11 15:38:38.427 Percent Complete: 0
    2014-04-11 15:38:38.428 Validating publisher
    2014-04-11 15:38:38.429 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:38:39.455 Percent Complete: 0
    2014-04-11 15:38:39.456 Connecting to Publisher 'SERVER\SQLInstance'
    2014-04-11 15:38:39.457 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:38:46.548 OLE DB Publisher: SERVER\SQLInstance
    DBMS: Microsoft SQL Server
    Version: 11.00.2100
    catalog name: dbRepl
    user name: rplMergeAgent
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2014-04-11 15:38:50.282 OLE DB Publisher 'SERVER\SQLInstance': set nocount on declare @dbname sysname select @dbname = db_name() declare @collation nvarchar(255) select @collation = convert(nvarchar(255), databasepropertyex(@dbname, N'COLLATION')) select collationproperty(@collation,
    N'CODEPAGE') as 'CodePage', collationproperty(@collation, N'LCID') as 'LCID', collationproperty(@collation, N'COMPARISONSTYLE') as 'ComparisonStyle',cast(case when convert (int,databasepropertyex (@dbname,'comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end
    as bit) as DB_CaseSensitive,cast(case when convert (int,serverproperty ('comparisonstyle')) & 0x1 = 0x1 then 0 else 1 end as bit) as Server_CaseSensitive set nocount off
    2014-04-11 15:38:57.393 OLE DB Publisher 'SERVER\SQLInstance': select SERVERPROPERTY ('ProductVersion') 
    2014-04-11 15:38:59.236 Connecting to OLE DB Publisher at datasource: 'SERVER\SQLInstance', location: '', catalog: 'dbRepl', providerstring: '' using provider 'SQLNCLI11'
    2014-04-11 15:39:07.271 OLE DB Publisher: SERVER\SQLInstance
    DBMS: Microsoft SQL Server
    Version: 11.00.2100
    catalog name: dbRepl
    user name: rplMergeAgent
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2014-04-11 15:39:45.229 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:39:45.234 Percent Complete: 0
    2014-04-11 15:39:45.235 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:39:45.236 Retrieving publication information
    2014-04-11 15:39:45.238 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:39:46.287 Percent Complete: 0
    2014-04-11 15:39:46.288 Retrieving subscription information.
    2014-04-11 15:39:46.290 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:40:00.472 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:40:00.478 Percent Complete: 0
    2014-04-11 15:40:00.479 Applying the snapshot to the Subscriber
    2014-04-11 15:40:00.480 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:40:02.535 OLE DB Distributor 'SERVER\SQLInstance': select datasource, srvid from master..sysservers where upper(srvname) = upper(N'SERVER\SQLInstance')
    2014-04-11 15:40:03.559 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_MSadd_mergesubentry_indistdb (0,N'SERVER\SQLInstance',N'dbRepl',N'TEST Publication',N'SUBSCRIBER\SQLInstance',N'dbRepl',1,1,0,N'',?,90)}
    2014-04-11 15:40:04.600 Connecting to OLE DB Subscriber at datasource: 'SUBSCRIBER\SQLInstance', location: '', catalog: 'dbRepl', providerstring: '' using provider 'SQLNCLI11'
    2014-04-11 15:40:04.609 OLE DB Subscriber: SUBSCRIBER\SQLInstance
    DBMS: Microsoft SQL Server
    Version: 10.50.4000
    catalog name: dbRepl
    user name: rplMergeAgent
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2014-04-11 15:40:04.611 OLE DB Subscriber: SUBSCRIBER\SQLInstance
    DBMS: Microsoft SQL Server
    Version: 10.50.4000
    catalog name: dbRepl
    user name: rplMergeAgent
    API conformance: 0
    SQL conformance: 0
    transaction capable: 1
    read only: F
    identifier quote char: "
    non_nullable_columns: 0
    owner usage: 15
    max table name len: 128
    max column name len: 128
    need long data len: 
    max columns in table: 1000
    max columns in index: 16
    max char literal len: 131072
    max statement len: 131072
    max row size: 131072
    2014-04-11 15:40:07.454 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': sp_MSacquiresnapshotdeliverysessionlock
    2014-04-11 15:40:07.526 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': sp_MStrypurgingoldsnapshotdeliveryprogress
    2014-04-11 15:40:07.530 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': sp_MSissnapshotitemapplied @snapshot_session_token = N'\\SERVER\Snapshot\unc\SERVER$SQLInstance_DBREPL_TEST PUBLICATION\20140411082109\', @snapshot_progress_token = N'\\SERVER\Snapshot\unc\SERVER$SQLInstance_DBREPL_TEST
    PUBLICATION\20140411082109\Person_2.sch'
    2014-04-11 15:40:24.659 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': sp_MSreleasesnapshotdeliverysessionlock
    2014-04-11 15:40:24.663 The schema script 'Person_2.sch' could not be propagated to the subscriber.
    2014-04-11 15:40:24.665 OLE DB Subscriber 'SUBSCRIBER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:40:24.690 Percent Complete: 18
    2014-04-11 15:40:24.692 The schema script 'Person_2.sch' could not be propagated to the subscriber.
    2014-04-11 15:40:24.693 OLE DB Distributor 'SERVER\SQLInstance': {call sys.sp_MSadd_merge_history90 (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)}
    2014-04-11 15:40:27.541 Percent Complete: 0
    2014-04-11 15:40:27.542 Category:NULL
    Source:  Merge Replication Provider
    Number:  -2147201001
    Message: The schema script 'Person_2.sch' could not be propagated to the subscriber.
    2014-04-11 15:40:28.563 Percent Complete: 0
    2014-04-11 15:40:28.565 Category:AGENT
    Source:  SUBSCRIBER\SQLInstance
    Number:  0
    Message: The process could not read file '\\SERVER\Snapshot\unc\SERVER$SQLInstance_DBREPL_TEST PUBLICATION\20140411082109\Person_2.sch' due to OS error 1326.
    2014-04-11 15:40:28.566 Disconnecting from OLE DB Subscriber 'SUBSCRIBER\SQLInstance'
    2014-04-11 15:40:28.568 Disconnecting from OLE DB Subscriber 'SUBSCRIBER\SQLInstance'
    2014-04-11 15:40:28.569 Disconnecting from OLE DB Subscriber 'SUBSCRIBER\SQLInstance'
    2014-04-11 15:40:28.570 Disconnecting from OLE DB Subscriber 'SUBSCRIBER\SQLInstance'
    2014-04-11 15:40:28.571 Disconnecting from OLE DB Publisher 'SERVER\SQLInstance'
    2014-04-11 15:40:28.573 Disconnecting from OLE DB Publisher 'SERVER\SQLInstance'
    2014-04-11 15:40:28.575 Disconnecting from OLE DB Publisher 'SERVER\SQLInstance'
    2014-04-11 15:40:28.577 Disconnecting from OLE DB Publisher 'SERVER\SQLInstance'
    2014-04-11 15:40:28.578 Disconnecting from OLE DB Distributor 'SERVER\SQLInstance'
    2014-04-11 15:40:28.579 Disconnecting from OLE DB Distributor 'SERVER\SQLInstance'
    I can say it is about how can the rplMergeAgent read the Shared folder.
    What do you think?

  • SQL Server 2012 syspolicy_purge_history job causes cross-instance login failures w. EraseSystemHealthPhantomRecords

    I have unique service accounts set up for multiple instances on the same SQL Server 2012.
    When step 3 of the inbuilt syspolicy_purge_history job(Erase Phantom System Health Records) runs, it appears to attempt to run against every instance on the server despite being passed the instance path!
    The SQLServer's powershell script call:
    if ('$(ESCAPE_SQUOTE(INST))' -eq 'MSSQLSERVER') {$a = '\DEFAULT'} ELSE {$a = ''};
    (Get-Item SQLSERVER:\SQLPolicy\$(ESCAPE_NONE(SRVR))$a).EraseSystemHealthPhantomRecords()
    so with instances SERVER\X this runs as...
    (Get-Item SQLSERVER:\SQLPolicy\SERVER\X).EraseSystemHealthPhantomRecords()
    SERVER\X's job will run and I will see login failures in the error logs of SERVER\Y and SERVER\Z for the service account set up for instance X.
    It seems Microsoft's only 'accepted solution' to this problem is for me to compromise my security by escalating the access of these service accounts?
    Has anyone else run into and corrected this failure?

    Hi Atombath,
    When you install multiple instances on one Server, and  the SQL Server’s powershell scripts are the same in inbuilt syspolicy_purge_history job steps. However, when you start PowerShell by right clicking
     syspolicy_purge_history job, you will find it will point to their own instance. I do a test in my SQL Server 2012,
     it will not across instance to collect the error logs. So I recommend you use its original powershell scripts for the syspolicy_purge_history job.
    Sometimes, if you run the syspolicy_purge_history job on a clustered instance, the syspolicy_purge_history SQL Server Agent job may fail due to using the computer node name instead of the virtual server name. For more information, see:
    http://support.microsoft.com/kb/955726/en-us
    In addition, you can use different service account for your multiple SQL Server instances on the same Server. And make sure the accounts that you created get added to the sysadmin fixed server role, the accounts are also set in the three Agent roles (SqlAgentUserRole,
    SqlAgentReaderRole, and SqlAgentOperatorRole).
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • Setting up Multi server environment in Sql Server 2012 - Enlist Failed Error

    I am trying to Configure the Master target server / Multi server environment in Sql Server 2012.
    I changed :
     - `MSXENCryptChannnelOptions`-->Changed from 2 to 0
     - `AllowDownloadedJobsToMatchProxyName` - changed from 0 to 1 on the target
    When I run the wizard I am getting below error
    >MSX Enlist failed for Job Server 'MasterServerName'
    >The enlist operation Failed(Reason:SQL Server Agent Error: Unable to connect to MSX 'MasterServerName'(Microsoft Sql Server, Error : 22026)
    They both servers SQL Agents are running on the same windows service account.
    Any Suggestions on how to fix this?
    **Adding the Log:**
    Enlist TSX Progress
    - Create MSXOperator (Success)
    Checking for an existing MSXOperator. 
    Updating existing MSXOperator. 
    Successfully updated MSXOperator. 
    - Make sure the Agent service for 'Test3' is running (Success)
    The service 'SQLSERVERAGENT' is running. 
    - Ensure the agent startup account for 'Test4' has rights to login as a target server (Success)
    Checking to see if the startup account for 'Test4' already exists. 
    Login exists on server. 
    Checking to see if login has rights to msdb. 
    Login has rights to msdb. 
    Checking to see if user is a member of the TargetServersRole. 
    User is a member of the TargetServersRole. 
    - Enlist 'Test4' into 'Test3' (Error)
    Enlisting target server 'Test4' with master server 'Test3'. 
    Using new enlistment method. 
    Messages
    MSX enlist failed for JobServer 'Test4'.  (Microsoft.SqlServer.Smo)
    ADDITIONAL INFORMATION:
    An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
    The enlist operation failed (reason: SQLServerAgent Error: Unable to connect to MSX 'TEST3'.) (Microsoft SQL Server, Error: 22026)

    hi SmilingLily,
    you can try to run the SQL Agent under a domain account.

  • CDC for Oracle Continually goes to Aborted State - SQL Server 2012

    I am setting up a test environment for CDC with an Oracle system.  I have everything set up to the point where logs are being read and data appears to be getting added to the CDC tables in SQL Server.  However, at different times during the day,
    the status of the service goes to Aborted and the service is completely stopped.  The first time I start the service, it will run for about 1 hour, before it aborts.  After that, it only takes 2 or 3 minutes, sometimes less, before this happens again.
    Below are the last entries in the log when the instance aborted.  Whenever the instance aborts, the last message is always "Reading Complementary records for large log miner SQL_REDO/SQL_UNDO".  I'm guessing there's a permission or setting
    in Oracle that I'm missing, but I don't know what it is.
    Version information:
    Oracle: 10.2.0.5.0
    CDC Service: SQL Server 2012 SP 1
    SQL Server Database Engine: 11.0.3128
    record","source","","0xDD070A00170012001C0004000043073800000000000000000626001100F8DD3A00000000061474B6B30100000100012B190000CC8E01340000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C0004004085163800000000000000000626002F00E2DD3A00000000061474B6B40100000100012B190000CCA201C40000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C000400C009353800000000000000000026002F00E2DD3A00000000061474B6B50100000100012B190000CCA500A00000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C000400408E533800000000000000000026001100F8DD3A00000000061474B6B70100000100012B190000CCAF00440000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C00040080D0623800000000000000000626002D00DBDD3A00000000061474B8780100000100012B19000108B500280000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C0004000055813800000000000000000626001500E0DD3A00000000061474B8790100000100012B19000108C7003C0000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C00040080D99F3800000000000000000026001500E0DD3A00000000061474B87A0100000100012B19000108C901140000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Enqueue transaction record","source","","0xDD070A00170012001C000400C01BAF3800000000000000000026002D00DBDD3A00000000061474B87C0100000100012B19000108D301540000000000"
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading next record","source","",""
    "10/23/2013 6:28:04 PM","TRACE","ETL-BI12-01-T","RUNNING","IDLE","ORACDC000T:Reading Complementary records for large log miner SQL_REDO/SQL_UNDO","source","",""

    Here are the permissions we have set up on the Oracle side: (Please forgive the poor formatting.  The editor wants to remove all of the spaces and add extra carriage returns.)
    GRANT
    EXECUTE
    ON 
    "SYS"."DBMS_LOGMNR"
    TO
    "LOGREADER";
    GRANT
    EXECUTE
    ON 
    "SYS"."DBMS_LOGMNR_D"
    TO
    "LOGREADER";
    grant
    select
    any
    transaction
    to
    logreader;
    GRANT
    "CONNECT"
    TO
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$database
    to
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$logmnr_contents
    to
    "LOGREADER";
    GRANT
    select ON
    sys.v_$logmnr_dictionary
    to
    "LOGREADER";
    GRANT
    selectONsys.v_$logmnr_logfileto"LOGREADER";
    GRANT
    selectONsys.v_$logmnr_logsto"LOGREADER";
    GRANT
    selectONsys.v_$logmnr_parametersto"LOGREADER";
    GRANT
    selectONsys.v_$logmnr_sessionto"LOGREADER";
    GRANT
    selectONsys.v_$logmnr_transactionto"LOGREADER";
    GRANT
    selectONsys.v_$logto"LOGREADER";
    GRANT
    selectONsys.v_$logfileto"LOGREADER";
    GRANT
    selectONsys.v_$archived_logto"LOGREADER";
    GRANT
    select
    ON
    sys.dba_registry
    to
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$instance
    to
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$thread
    to
    "LOGREADER";
    GRANT
    select
    ON
    sys.v_$parameter
    to
    "LOGREADER";
    For each table we want to capture changes on, select rights have been granted to this user, as well.

  • SAP NetWeaver BI with Microsoft SQL Server 2012 Reporting Services using XMLA

    I am currently implementing SAP BW and am trying to connect the Microsoft SQL Server 2012 Reporting Services product.  I am able to connect to SAP BW but there is one problem when i click on Query Designer after adding a DataSet the screen just displays the dialog prompt saying '' NO CUBES WERE FOUND. VERIFY THAT YOU HAVE SELECTED A VALID CATALOG''.
    The advanced information depicts the following:

    Hi Raunak T,
    Just a very basic question from my end:
    I believe that "Microsoft SQL server Report Builder" is the 3rd party which uses MDX as interface.
    Have you set the property using OLE DB for OLAP in your queries?
    BR
    Prabhith

Maybe you are looking for