" The job failed" in copying database SQL SERVER 2012

I'm trying to copy a database. When going through the Copy Database Wizard, I'm getting a Execute SQL Server Agent Job error. The error states " The job failed. Check the event log on the destination server for details". See below:
Performing operation
Add log for package (Success)
Add task for transferring database objects (Success)
Create package (Success)
Start SQL Server Agent Job (Success)
Execute SQL Server Agent Job (Error) Messages
The job failed. Check the event log on the destination server for details. (Copy Database Wizard)
I can't seem to find what causing this problem. Am I using the correct approach? I just need to copy this database. Thank in advance.

Hi mohammad2050,
When using Copy Database Wizard, please make sure that the SQL Server Agent account or Integration Services Proxy account is a member of sysadmin fixed server role, and has access permission on both of source and target file system.
There is a blog about using SQL Server Copy Database Wizard for your reference .
http://reddy25.blogspot.com/2013/12/copy-database-from-one-server-to.html
Thanks,
Lydia Zhang
Lydia Zhang
TechNet Community Support

Similar Messages

  • Package Failing after update to SQL Server 2012 SP2

    I have a package that was running fine with SQL Server 2012 until an upgrade to SP2 the package now fails in a derived column step where a bunch of type casts are done
    (DT_NTEXT)"\" " + (DT_NTEXT)@[User::phantomScriptLoc] + (DT_NTEXT)"getautomatedtable.js " + (DT_NTEXT)"--ignore-ssl-errors=yes -user \"" + (DT_NTEXT)Username + (DT_NTEXT)"\" -pass \"" + (DT_NTEXT)Password + (DT_NTEXT)"\" -url \"" + (DT_NTEXT)@[User::gatewayWebLoc] + (DT_NTEXT)"\" -module \"/" + (DT_NTEXT)module_name + (DT_NTEXT)"/index.cfm\" -reportpage \"" + (DT_NTEXT)report_name + (DT_NTEXT)"\" -deptid \"" + (DT_NTEXT)cast_deptid + (DT_NTEXT)"\" -reportname \"" + (DT_NTEXT)report_title + (DT_NTEXT)"\" -outfile \"" + (DT_NTEXT)@[User::storeReportsLoc] + (DT_NTEXT)filename + (DT_NTEXT)"\" -format \"" + (DT_NTEXT)RTRIM(AutoRpt_FileFmt_Txt) + (DT_NTEXT)"\" -querystring \"" + (DT_NTEXT)queryString + (DT_NTEXT)"&debugMode=1\"\""
    The package does not return an error but instaed call SQLDUMPER and creates a dump file.
    Any one else had an issue since an SP2 upgrade?

    Hi tbrown10a,
    I am able to reproduce the issue after installing SP2 for SQL Server 2012. The issue occurs when trying to cast one data type to DT_NTEXT or DT_TEXT data type. As Arthur mentioned, I would suggest you file a connect at
    https://connect.microsoft.com/sql.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Regards,
    Mike Yin
    TechNet Community Support

  • Is Distributed Transaction Coordinator services of the application role are required by SQL Server 2012 for clustering and support of SharePoint 2013.

    All I want to know is if Distributed Transaction Coordinator services of the application role are required by SQL Server 2012 for clustering and support of SharePoint 2013.
    I have been planning and deploying my companies first Windows Server 2012/SQL Server 2012 Always On cluster and Always On Availability Groups Multi-Subnet cluster and instances for SharePoint 2013, and I will be brutally honest, the documentation on either
    the MSDN and TechNet leave alot to be desired. Continually finding links in the documentation will take me from a Windows 2012 reference to a page talking about Windows Server 2008 or R2, The differences of which there are so many when it comes to configurations,
    settings, roles, services when working with SQL Server 2012. I have been confused, frustrated, screaming mad, with all the misdirection in this documentation.  The documentation takes me windows 2008 R2 which is different than 2012!
    Tired and trying to pick myself up off the floor!
    Greg
    Gman

    In general, DTC is not required for SQL 2012.  But, since you are asking specifically about SharePoint, it would be better to ask in a SharePoint forum.  They would be more likely to know those situations where FTC might be needed by SharePoint. 
    .:|:.:|:. tim

  • How to do Ad-hoc reports with SSRS 2012 (Report Builder 3.0) for the database SQL Server 2012

    <p>Hi,</p><p>Please could anybody help me how to do ad-hoc reports by using SSRS 2012.</p><p>I am able to create ad-hoc reports using Report Builder3.0 and SQL Server 2008 R2. </p><p>I have built the report Model
    in for the instance 2008 R2&nbsp;</p><div class="t-paste-container">Using Report Manager 2012 </div>

    Hi Gowri,
    From your description, you can create create ad-hoc reports using Report Builder 3.0 and SQL Server 2008 R2, and now you want to know how to how to do ad-hoc reports by using SSRS 2012, right? In SQL Server 2012, the default version of Report Builder is
    3.0, so you can create create ad-hoc reports using Report Builder 3.0 as before.
    If you have any questions, please feel free to ask.
    Regards,
    Charlie Liao
    TechNet Community Support

  • I get one or the other error when i install SQL server 2012 SP1 in my Lab server

    I get multiple errors when i install SQL server 2012 SP1 In my lab server.
    Not sure why i keep getting different errors all the time when i install SQL server 2012 & 2012 SP1.
    Below are error codes, screen shots and also a log of the error.
    1.  Eror code 0X84B40000
    Also dint understand any thing from this article related to the above error 
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/5b6cc928-0db8-4fe4-a5d3-21672225f0ca/i-get-error-code-0x84b40000-when-trying-to-install-sql-server-mgmt-studio-to-an-existing-sql?forum=sqlexpress
    2. Eror code 0x851A001A
    Can any one plz help as i always get one or the other error.
    ====================================
    Screen shot: 
    Please note the below screen shot has given the error code 0x851A001A which is same in case of failure of all the other features which have failed during this installation. Hence i have uploaded only one screen shot.
    2. Log file content.
    =================================
    Overall summary:
      Final result:                  Failed: see details below
      Exit code (Decimal):           -2061893606
      Start time:                    2014-05-04 21:15:35
      End time:                      2014-05-04 21:51:45
      Requested action:              Install
    Setup completed with required actions for features.
    Troubleshooting information for those features:
      Next step for RS:              Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for SQLEngine:       Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for FullText:        Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Next step for Replication:     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
    Machine Properties:
      Machine name:                  SERVER1
      Machine processor count:       2
      OS version:                    Windows Server 2008 R2
      OS service pack:               Service Pack 1
      OS region:                     United States
      OS language:                   English (United States)
      OS architecture:               x64
      Process architecture:          64 Bit
      OS clustered:                  No
    Product features discovered:
      Product              Instance             Instance ID                    Feature                
                     Language             Edition              Version         Clustered 
      SQL Server 2012      MSSQLSERVER          MSSQL11.MSSQLSERVER            Database Engine Services                 1033      
              Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012      MSSQLSERVER          MSSQL11.MSSQLSERVER            SQL Server Replication                   1033      
              Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012      MSSQLSERVER          MSSQL11.MSSQLSERVER            Full-Text and Semantic Extractions for Search 1033                
    Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012      MSSQLSERVER          MSSQL11.MSSQLSERVER            Data Quality Services                    1033    
                Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012      MSSQLSERVER          MSAS11.MSSQLSERVER             Analysis Services                        1033  
                  Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012      MSSQLSERVER          MSRS11.MSSQLSERVER             Reporting Services - Native              1033        
            Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012                                                          Management Tools - Basic  
                  1033                 Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012                                                          Management Tools - Complete  
               1033                 Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012                                                          Client Tools Connectivity  
                 1033                 Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012                                                          Client Tools Backwards Compatibility
        1033                 Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012                                                          Client Tools SDK      
                      1033                 Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012                                                          Integration Services    
                    1033                 Enterprise Edition   11.0.2100.60    No        
      SQL Server 2012                                                          Reporting Services - SharePoint
                                                       11.0.2100.60    No        
    Package properties:
      Description:                   Microsoft SQL Server 2012 Service Pack 1
      ProductName:                   SQL Server 2012
      Type:                          RTM
      Version:                       11
      SPLevel:                       0
      Installation location:         F:\x64\setup\
      Installation edition:          Enterprise
    Product Update Status:
      None discovered.
    User Input Settings:
      ACTION:                        Install
      ADDCURRENTUSERASSQLADMIN:      false
      AGTSVCACCOUNT:                 ms\sql
      AGTSVCPASSWORD:                *****
      AGTSVCSTARTUPTYPE:             Automatic
      ASBACKUPDIR:                   Backup
      ASCOLLATION:                   Latin1_General_CI_AS
      ASCONFIGDIR:                   Config
      ASDATADIR:                     Data
      ASLOGDIR:                      Log
      ASPROVIDERMSOLAP:              1
      ASSERVERMODE:                  MULTIDIMENSIONAL
      ASSVCACCOUNT:                  <empty>
      ASSVCPASSWORD:                 <empty>
      ASSVCSTARTUPTYPE:              Automatic
      ASSYSADMINACCOUNTS:            <empty>
      ASTEMPDIR:                     Temp
      BROWSERSVCSTARTUPTYPE:         Disabled
      CLTCTLRNAME:                   <empty>
      CLTRESULTDIR:                  <empty>
      CLTSTARTUPTYPE:                0
      CLTSVCACCOUNT:                 <empty>
      CLTSVCPASSWORD:                <empty>
      CLTWORKINGDIR:                 <empty>
      COMMFABRICENCRYPTION:          0
      COMMFABRICNETWORKLEVEL:        0
      COMMFABRICPORT:                0
      CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140504_204851\ConfigurationFile.ini
      CTLRSTARTUPTYPE:               0
      CTLRSVCACCOUNT:                <empty>
      CTLRSVCPASSWORD:               <empty>
      CTLRUSERS:                     <empty>
      ENABLERANU:                    false
      ENU:                           true
      ERRORREPORTING:                true
      FEATURES:                      SQLENGINE, REPLICATION, FULLTEXT, RS
      FILESTREAMLEVEL:               0
      FILESTREAMSHARENAME:           <empty>
      FTSVCACCOUNT:                  NT Service\MSSQLFDLauncher$SCOM
      FTSVCPASSWORD:                 <empty>
      HELP:                          false
      IACCEPTSQLSERVERLICENSETERMS:  true
      INDICATEPROGRESS:              false
      INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
      INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
      INSTALLSQLDATADIR:             <empty>
      INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
      INSTANCEID:                    SCOM
      INSTANCENAME:                  SCOM
      ISSVCACCOUNT:                  NT AUTHORITY\Network Service
      ISSVCPASSWORD:                 <empty>
      ISSVCSTARTUPTYPE:              Automatic
      MATRIXCMBRICKCOMMPORT:         0
      MATRIXCMSERVERNAME:            <empty>
      MATRIXNAME:                    <empty>
      NPENABLED:                     0
      PID:                           *****
      QUIET:                         false
      QUIETSIMPLE:                   false
      ROLE:                          <empty>
      RSINSTALLMODE:                 DefaultNativeMode
      RSSHPINSTALLMODE:              DefaultSharePointMode
      RSSVCACCOUNT:                  NT Service\ReportServer$SCOM
      RSSVCPASSWORD:                 <empty>
      RSSVCSTARTUPTYPE:              Automatic
      SAPWD:                         <empty>
      SECURITYMODE:                  <empty>
      SQLBACKUPDIR:                  <empty>
      SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
      SQLSVCACCOUNT:                 ms\sql
      SQLSVCPASSWORD:                *****
      SQLSVCSTARTUPTYPE:             Automatic
      SQLSYSADMINACCOUNTS:           MS\Gautam, MS\SCOM Users
      SQLTEMPDBDIR:                  <empty>
      SQLTEMPDBLOGDIR:               <empty>
      SQLUSERDBDIR:                  <empty>
      SQLUSERDBLOGDIR:               <empty>
      SQMREPORTING:                  false
      TCPENABLED:                    1
      UIMODE:                        Normal
      UpdateEnabled:                 true
      UpdateSource:                  MU
      X86:                           false
      Configuration file:            C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140504_204851\ConfigurationFile.ini
    Detailed results:
      Feature:                       Reporting Services - Native
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Database Engine Services
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred during the setup process of the feature.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       Full-Text and Semantic Extractions for Search
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       SQL Server Replication
      Status:                        Failed: see logs for details
      Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
      Next Step:                     Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
      Component name:                SQL Server Database Engine Services Instance Features
      Component error code:          0x851A001A
      Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
      Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3128.0&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026&EvtType=0xD15B4EB2%400x4BDAF9BA%401306%4026
      Feature:                       SQL Browser
      Status:                        Passed
      Feature:                       SQL Writer
      Status:                        Passed
    Rules with failures:
    Global rules:
    Scenario specific rules:
    Rules report file:               C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140504_204851\SystemConfigurationCheck_Report.htm

    Sorry about the error in the path, but you find the files that's the main thing.
    Indeed it is a certificate problem:
    2014-05-04 21:47:43.56 spid12s Error: 17190, Severity: 16, State: 1.
    2014-05-04 21:47:43.56 spid12s Initializing the FallBack certificate failed with error code: 1, state: 20, error number: 0.
    2014-05-04 21:47:43.56 spid12s Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
    2014-05-04 21:47:43.57 spid12s Error: 17182, Severity: 16, State: 1.
    2014-05-04 21:47:43.57 spid12s TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. Cannot find object or property.
    2014-05-04 21:47:43.57 spid12s Error: 17182, Severity: 16, State: 1.
    2014-05-04 21:47:43.57 spid12s TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. Cannot find object or property.
    2014-05-04 21:47:43.57 spid12s Error: 17826, Severity: 18, State: 3.
    2014-05-04 21:47:43.57 spid12s Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
    2014-05-04 21:47:43.57 spid12s Error: 17120, Severity: 16, State: 1.
    2014-05-04 21:47:43.57 spid12s SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.
    I've recall that I've tried to help people with this error before, but I'm sure they were able to sort it out.
    Anyway, this blog post,
    http://blogs.msdn.com/b/sqljourney/archive/2012/10/09/sql-2008-service-fails-to-come-online-with-a-valid-certificate-could-not-be-found-and-it-is-not-possible-to-create-a-self-signed-certificate.aspx
    suggests the issue is a corrupted user profile, and you should try to use a different service account.
    This blog also seems to have a simple solution, but I cannot vouch for that it will work:
    http://www.beejblog.com/2012/02/sql-server-solved-unable-to-initialize.html
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Moving to unicode datatype for an entire database - SQL Server 2012

    Hi,
    I've a SQL Server 2012 database with more tables having more char and varchar columns.
    I'd like to change quickly char columns in nchar columns and varchar columns in nvarchar columns.
    Is it possible to solve this issue, please? Many thanks

    Hello,
    Creating a script could do it quickly as shown in the following article:
    http://blog.sqlauthority.com/2010/10/18/sql-server-change-column-datatypes/
    But creating the scripts may take you some time.
    You will find more options here:
    https://social.technet.microsoft.com/Forums/sqlserver/en-US/e7b70add-f390-45ee-8e3e-8ed6c6fa0f77/changing-data-type-to-the-fields-of-my-tables?forum=transactsql
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Which user for a contained database - SQL Server 2012

    Hi,
    if I've a contained db and I need to create an user for this db in order to porting this contained database to different servers inside the same domain, which type of user do I need to create?
    For this user I don't want to apply any further configurations.
    Any suggests to me, please?

    That still doesn't parse to me... Lets break it down:
    "...for the contained db to port to a server to another server in the same domain..."
    I assume you mean "... from a server to another server...". The unclear thing here is exactly how you define "to port". For the database to be restoreable? Nothing has to be done. To not have orphaned users? Well, you don't get orphaned users for Windows
    users, only SQL Server users. Is this Windows login already existing in the source database? Does it have permissions assigned for it that you need to keep. If so, why are we talking about crating a *new* users*? Many questions marks here...
    Next part: "I need to create an user that doesn't require to accomplish any further user configurations"
    Are we talking about creating a user for the purpose of performing the port? Or a user that is expected to use this database after this port? Or does this user exist already?
    As for the "doesn't require to accomplish any further user configurations" part, I still don't understand this. Are you asking if all you have to do is to create this Windows user? Then the answer is possibly "yes", but it depends on your answers to my above
    questions - i.e. a bigger picture of your scenario and what in the end you are trying to accomplish.
    Tibor Karaszi, SQL Server MVP |
    web | blog

  • Best method to determine the week number of a month - SQL Server 2012

    Hi,
    I'm searching the most valid and tested method to determine the week number respect to a month.
    Fe, the 1st January falls in the 1st week of January, the 1st February fall in the 1st week of February, and so on.
    I've found many solutions but I'd like to know possibly the best one.
    Thanks

    Hi Uri,
    SELECT DATEPART(week, '20150104')
         - DATEPART(week, CONVERT(CHAR(6), '20150104', 112)+'01')
         + 1
    returns 2 and not 1. It's a Sunday.
    Waiting to be spoonfed, eh?
    The one-off in my query would be very simple to figure out - I forgot to add the +1. Is too much to expect from you that you could figure it out yourself?
    And likewise, in my post I said that you should use "week" for weeks starting on Sunday, and "iso_week" if your week starts on Monday. Uri neglected to observe this, but you had the information to correct it. If you had been interested
    in doing some work yourself, that is.
    Nevertheless, there is an issue that I overlooked:
    DECLARE @day date = '20160105'
    SELECT datepart(iso_week, @day) -
           datepart(iso_week, convert(char(6), @day, 112) + '01') + 1
    This returns -51. This is because with ISO week numbering, Jan 1st falls into week 53 of the previous year, if it's on a Friday or later. Week 1 is always the week of Jan 4th. When you week this does not happen, as week 1 is always the week with Jan
    1st. (Dec 31st is always in week 53 or 54.)
    To correct for this, we need this query:
    SELECT DATEPART(iso_week, @day) -
           CASE WHEN DATEPART(iso_week, CONVERT(CHAR(6), @day, 112) + '01') < 50
                THEN DATEPART(iso_week, CONVERT(CHAR(6), @day, 112) + '01')
                ELSE 1
           END + 1
    Erland Sommarskog, SQL Server MVP, [email protected]

  • EM12c: Add Target SQL Server 2012 Fails

    EM12c: Add Target SQL Server 2012 Fails
    Configuration:
    EM12c platform:
    Oracle Enterprise Linux 6.2(x86_64)
    Oracle Enterprise Database 11.2.0.3 (x86_64)
    Enterprise Manager Cloud Control 12c Release 1 (12.1.0.1) (x86_64)
    Microsoft SQL Server Plug-In 12.1.0.2.0 deployed in the Management Server
    Target:
    Windows Server 2008 R2 Enterprise Edition SP1 (64-bit)
    SQL Server 2012 (Enterprise Edition) (64-bit)
    Microsoft SQL Server Plug-In 12.1.0.2.0 deployed in the Management Agent
    Problem: EM12c fails to add a SQL Server 2012 instance.
    Target Name: mssql_mcsdbsqlsrv2.esri.com     
    Target Type: Microsoft SQL Server
    Agent: https://mcsdbsqlsrv2.esri.com:3872/emd/main/
    * JDBC URL (Example : jdbc:sqlserver://<host>:<port>): jdbc:sqlserver://mcsdbsqlsrv2.esri.com:1433
    JDBC Driver (Optional): com.microsoft.sqlserver.jdbc.SQLServerDriver
    Database Username (Required for SQL Authentication): sa
    Password of Database User (Required for SQL Authentication): ****     
    System Username (Needed when SQLServer is at remote location):
    System Password (Needed when SQLServer is at remote location):     
    Connect Using Windows Integrated Authentication (Yes/No): No
    Role (Optional):
    Error:
    MSSQLDetermineName_DynamicProperty;em_error=Could not connect. Error code = 0x8004100e
    em_error=Failed while connecting to WMI.
    Response;Can't resolve a non-optional query descriptor property [provided_sql_server_name] (ms_sqlserver_servername)
    The sa login is enabled and I can connect from a remote machine to the MSSQL 2012 server using SQL Server Management Studio.
    I have also added several default MSSQL 2008 instances to EM12c successfull.
    I've installed the latest "Microsoft SQL Server Plug-In 12.1.0.2.0" in EM12c and deployed it to the target agent in the MSSQL 2012 machine
    Does EM12c (12.1.0.1) support MSSQL 2012?
    Thanks,
    Marcelo Marques
    Technical Manager, Esri
    Edited by: Marcelo Marques - ESRI on Sep 26, 2012 9:12 AM
    Edited by: Marcelo Marques - ESRI on Sep 26, 2012 9:13 AM

    Hello All,
    What is the latest information on MSSQL 2012 support on EM12c as a supported Target Deployment?
    Thanks
    Jan S.

  • XML Schema Collection (SQL Server 2012): Complex Schema Collection with Attribute - Should xs or xsd be used in the coding?

    Hi all,
    I just got a copy of the book "Pro SQL Server 2008 XML" written by Michael Coles (published by Apress) and try to learn the XML Schema Collection in my SQL Server 2012 Management Studio (SSMS2012). I studied Chapter 4 XML Collection of the book
    and executed the following code of Listing 4-8 Complex Schema with Attribute:
    -- Pro SQL Server 2008 XML by Michael Coles (Apress)
    -- Listing04-08.sql Complex XML Schema with Attribute
    -- shcColes04-08.sql saved in C:\\Documents\XML_SQL_Server2008_code_Coles_Apress
    -- 6 April 2015 8:00 PM
    CREATE XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_attribute
    AS
    N'<?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="item">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="name" />
    <xs:element name="color" />
    <xs:group ref="id-price" />
    <xs:group ref="size-group" />
    </xs:sequence>
    <xs:attribute name="id" />
    <xs:attribute name="number" />
    </xs:complexType>
    </xs:element>
    <xs:group name="id-price">
    <xs:choice>
    <xs:element name="list-price" />
    <xs:element name="standard-cost" />
    </xs:choice>
    </xs:group>
    <xs:group name="size-group">
    <xs:sequence>
    <xs:element name="size" />
    <xs:element name="unit-of-measure" />
    </xs:sequence>
    </xs:group>
    </xs:schema>';
    GO
    DECLARE @x XML (dbo.ComplexTestSchemaCollection_attribute);
    SET @x = N'<?xml version="1.0"?>
    <item id="749" number="BK-R93R-62">
    <name>Road-150 Red, 62</name>
    <color>Red</color>
    <list-price>3578.27</list-price>
    <size>62</size>
    <unit-of-measure>CM</unit-of-measure>
    </item>';
    SELECT @x;
    GO
    DROP XML SCHEMA COLLECTION dbo.ComplexTestSchemaCollection_attribute;
    It worked nicely. But, I just found out the coding that was downloaded from the website of Apress and I just executed was different from the coding of Listing 4-8 listed in the book: all the <xs: ....> and </xs: ..> in my SSMS2012 are
    listed as <xsd:...> and </xsd:...> respectively in the book!!??  The same thing happens in the Listing 4-3 Simple XML Schema, Listing 4-5 XML Schema and Valid XML Document with Comple Type Definition, Listion 4-6 XML Schema and XML
    Document Document with Complex Type Using <sequence> and <choice>, and Listing 4-7 Complex XML Schema and XML Document with Model Group Definition (I executed last week) too.  I wonder: should xs or xsd be used in the XML
    Schema Collection of SSMS2012?  Please kindly help,  clarify this matter and explain the diffirence of using xs and xsd for me.
    Thanks in advance,
    Scott Chang   

    Hi Scott,
    Using xs or xsd depends on how you declare the namespace prefix.
      <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:element name="item">
    I've posted a very good link in your last question, just in case you might have missed it, please see the below link.
    Understanding XML Namespaces
    In an XML document we use a namespace prefix to qualify the local names of both elements and attributes . A prefix is really just an abbreviation for the namespace identifier (URI), which is typically quite long. The prefix is first mapped to a namespace
    identifier through a namespace declaration. The syntax for a namespace declaration is:
    xmlns:<prefix>='<namespace identifier>'
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • SQL Server 2012 Management Studio: XML XQuery-query the XML Blob using CTE: How to specify the coorelation name in bulk rowset?

    Hi all,
    I just started doing the XML Xquery programming in my SQL Server 2012 Management Studio. I executed the following code:
    --query the XML Blob using a CTE (pulling from the XML file each time) Products
    WITH XmlFile (Contents) AS (
    SELECT CONVERT (XML, BulkColumn)
    FROM OPENROWSET (BULK 'H:\Products.xml', SINGLE_BLOB) ) AS XmlData
    SELECT *
    FROM XmlFile
    GO
    I got the the following Msg:
    Msg 491, Level 16, State 1, Line 4
    A correlation name must be specified for the bulk rowset in the from clause.
    How can I specify the correction name for the bulk rowset in my project?
    Please kindly help, advise and respond.
    Thanks in advance,
    Scott Chang

    Hello Scott,
    You have to assign a table alias for the OPENROWSET =>
    --query the XML Blob using a CTE (pulling from the XML file each time) Products
    WITH XmlFile (Contents) AS (
    SELECT CONVERT (XML, BulkColumn)
    FROM OPENROWSET (BULK 'H:\Products.xml', SINGLE_BLOB) AS MyXML ) AS XmlData
    SELECT *
    FROM XmlFile
    GO
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Does a sql server client application needs to be modified to allow it to have benefits of running on a SQL Server 2012 cluster?

    I have a client application in c++ which interacts with sql server database. My question is whether I need to make any changes to the client application code to allow it to have the benefits of running on a SQL server 2012 cluster environment. 
    To elaborate more on my query my concern is for e.g if my application has called an api to execute a sql query and during
    the execution of this query the sql server (part of the cluster) goes down then as per my understanding the sql cluster would ensure that another node takes up the task from the current sql server which has gone down. Is this transition transparent to the
    client application or in such a case my client application needs to again make a new connection and again execute the query?

    Hello,
    Just as Shanky post above, When you connected to a database in an availability group and specify the availability group listener in the connection string, if the availability group fails over, the original connection is broken, your application
    should try a new connection after the failover.
    So, when connect to an availability group, please try to increasing connection timeout and implementing connection retry logic to increase the probability of successful connection.
    Reference:SqlClient Support for High Availability, Disaster Recovery
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here.
    Fanny Liu
    TechNet Community Support

  • Problem Installing SQL Server 2012 Express

    Hello
    I'm in the process of installing SQL Server 2012 and the install is continually failing. It reports to possibly be a problem with the package; I've tried downloading three times now and setup has failed each time. There is a link below to the install log
    file which I believe will likely be more help than my attempting to describe the symptoms but please let me know if there is any additional information which would help in finding the problem.
    https://skydrive.live.com/redir?resid=9ACB131B26E0E088!514&authkey=!ABuTadbr92UTFpo
    Thanks in advance. 

    Hello,
    “Error Code: 29559
    The installer has encountered an unexpected error installing this package. This may indicate a problem with the package. The error code is 29559”
    Let’s try to work around the issue on a different way. Please try to download the following Evaluation Copy of SQL Server 2012, run setup, and on the “Product Key” page select
    Express Edition (on the “Specify a free edition” combo box).
    http://www.microsoft.com/en-us/download/details.aspx?id=29066
    Do you have another instance of SQL Server installed?
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Using SQL Server 2012 Express with Bitocker

    Hello,
    I'm currently working on getting our SQL Server Express database working with BitLocker but I am coming across a few problems. Here is my scenario:
    The OS is partitioned into two volumes (C and D).
    The C volume contains the OS and Software, while the D volume is primarily used for the database files (logs, back, and mdf).
    The D volume is encrypted using BitLocker
    The database connects using the SA account (SQL Server Authentication)
    From what I understand, BitLocker must be enabled with the same account that the SQL Server is running on. So what I have done is change the SQL Server service account to the user account (lets say its called User) via SQL Configuration Manager. While staying
    logged into User account, I then enable BitLocker via Control Panel -> System and Security -> BitLocker Drive Encryption. I then reboot and then while the software is trying to connect to the database I get the following  exception:
    'login failed for user sa'.
    Is there anything I need to do to get this working? Thanks for the help.

    Hi moncadad,
    When you turn off BitLocker, does the database also show “Recovery Pending”? If so, the simplest cause for “Recovery Pending” might be that a disk spin-up was slow, or a disk became full. Please read this
    blog to fix the issue, then check if you can successfully connect to the database after you turn on BitLocker.
    However, if you are not able to view the database contents only after you turn on BitLocker, I suspect that there are some issues about configuring BitLocker. As far as I know, Bitlocker must be performed by a member of Local Admins Group, please make sure
    that your account is a member of Local Admins Group on your computer.
    Also I would like to recommend you post the question in the
    Microsoft Bitlocker Administration and Monitoring (MBAM) forum to get better support. For more details about configuring SQL Server with Bitlocker, please review the following similar articles.
    Using SQL Server 2012 Standard with Bitlocker
    How can I retrieve my BitLocker recovery key from MBAM in Windows PE
    Thanks,
    Lydia Zhang
    If you have any feedback on our support, please click
    here.
    Lydia Zhang
    TechNet Community Support

  • Unable to run sql server 2012 setup

    Hi All,
      I installed SharePoint 2013 on Application Server and Database(Sql Server 2012) on another server. But for reporting application I need to install some components of SQL on Application Server as well. When I try to run the installer it crashes and
    shows this below dialog box. 
    When I debug this I get the below error.
    I saw some suggestions saying it won't work with Remote Desktop so directly connected the monitor to the server and tried to install but nothing works again. Let me know if I am doing anything wrong.
    Thanks,

    Hi,
    Did you install the .net framework 4.0?
    Meanwhile, for the SQL issue, i think you may ask in SQL forums:
    http://social.technet.microsoft.com/Forums/sqlserver/en-US/home?category=sqlserver
    Regards.
    Vivian Wang

Maybe you are looking for

  • TS4088 Support won't help

    Hi... I have a MacBook Pro bought mid 2010. The last 2 years I haven't been able to use my external graphic card at all, and further more, every time my external graphic card was initiatet from a program ex. Chrome, my computer just restartet with th

  • Horizontal lines appear in various programs on macbook pro that gets very hot.

      Model Name: MacBook Pro   Model Identifier: MacBookPro1,2   Processor Name: Intel Core Duo   Processor Speed: 2.16 GHz   Number Of Processors: 1   Total Number Of Cores: 2   L2 Cache: 2 MB   Memory: 2 GB   Bus Speed: 667 MHz   Boot ROM Version: MBP

  • Inna - party never ends deluxe version

    inna - party never ends deluxe version album of turkey in the apple store when it can be added ?  Message was edited by: ozgurcanartuner

  • Unity 7.x PDL trace

             hi, we have unity 7.x and customer has sent a message using allsubscriber PDL. Some subscribers state they never recieved the message - is there a trace we can set to check for any failures or list all subscribers that the message was sent.

  • Skype camera showing gray screen

    When i skype with people we can hear each other just fine. I can see them perfectly but they do not seem to see me. On their screen its black with a loading button in the middle of the screen. I can't figure out how to fix it. I have literally done j