Extract sCSM server name Job failing due to sealed MP ?

The extract of the management server job is failing on the last extract of a CI sealed MP we created.
looking at the event viewer log I see this:
ETL Module Execution failed:
ETL process type: Extract
Batch ID: 36408
Module name: Extract_C3LOBCI_C3SCSMR2
Message: The given value of type String from the data source cannot be converted to type uniqueidentifier of the specified target column.
Stack:    at System.Data.SqlClient.SqlBulkCopy.ConvertValue(Object value, _SqlMetaData metadata, Boolean isNull, Boolean& isSqlType, Boolean& coercedToDataFeed)
   at System.Data.SqlClient.SqlBulkCopy.ReadWriteColumnValueAsync(Int32 col)
   at System.Data.SqlClient.SqlBulkCopy.CopyColumnsAsync(Int32 col, TaskCompletionSource`1 source)
   at System.Data.SqlClient.SqlBulkCopy.CopyRowsAsync(Int32 rowsSoFar, Int32 totalRows, CancellationToken cts, TaskCompletionSource`1 source)
   at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsyncContinued(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
   at System.Data.SqlClient.SqlBulkCopy.CopyBatchesAsync(BulkCopySimpleResultSet internalResults, String updateBulkCommandText, CancellationToken cts, TaskCompletionSource`1 source)
   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestContinuedAsync(BulkCopySimpleResultSet internalResults, CancellationToken cts, TaskCompletionSource`1 source)
   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalRestAsync(CancellationToken cts, TaskCompletionSource`1 source)
   at System.Data.SqlClient.SqlBulkCopy.WriteToServerInternalAsync(CancellationToken ctoken)
   at System.Data.SqlClient.SqlBulkCopy.WriteRowSourceToServerAsync(Int32 columnCount, CancellationToken ctoken)
   at System.Data.SqlClient.SqlBulkCopy.WriteToServer(IDataReader reader)
   at Microsoft.SystemCenter.Warehouse.Utility.SqlBulkOperation.Insert(String sourceConnStrg, String sourceQuery, String destinationTable, Dictionary`2 mapping, String sqlConnectionStrg, Boolean& readerHasRows, DomainUser sourceSecureUser,
DomainUser destSecureUser)
   at Microsoft.SystemCenter.Warehouse.Etl.ADOInterface.Insert(DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
   at Microsoft.SystemCenter.Warehouse.Etl.ADOInterface.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
   at Microsoft.SystemCenter.Warehouse.Etl.ExtractModule.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser, Int32 batchSize)
   at Microsoft.SystemCenter.Warehouse.Etl.ExtractModule.Execute(IXPathNavigable config, Watermark wm, DomainUser sourceConnectionUser, DomainUser destinationConnectionUser)
   at Microsoft.SystemCenter.Etl.ETLModule.OnDataItem(DataItemBase dataItem, DataItemAcknowledgementCallback acknowledgedCallback, Object acknowledgedState, DataItemProcessingCompleteCallback completionCallback, Object completionState)
Management pack import failed.
Management pack ID: 417daf9b-9505-8824-4419-6c45925a1deb
Management pack name: C3LineofBusinessCI
Management pack version: 1.0.0.4
Data source name: DW_C3SCSMR2
Message: Verification failed with 4 errors:
Error 1:
Found error in 2|C3LineofBusinessCI|1.0.0.1|C3LineofBusinessCI|| with message:
Version 1.0.0.4 of the management pack is not upgrade compatible with older version 1.0.0.1. Compatibility check failed with 3 errors:
Error 2:
Found error in 1|C3LineofBusinessCI/a6ae647f076efa3a|1.0.0.0|C3LOBCI|| with message:
The property Type (C3SupportLocation) has a value that is not upgrade compatible. OldValue=enum, NewValue=string.
Error 3:
Found error in 1|C3LineofBusinessCI/a6ae647f076efa3a|1.0.0.0|C3LOBCI|| with message:
The property Key (C3Client) has a value that is not upgrade compatible. OldValue=True, NewValue=False.
Error 4:
Found error in 1|C3LineofBusinessCI/a6ae647f076efa3a|1.0.0.0|C3LOBCI|| with message:
New Key ClassProperty item (ClientID) has been added in the newer version of this management pack.
Stack trace:
    at Microsoft.EnterpriseManagement.Common.Internal.ServiceProxy.HandleFault(String methodName, Message message)
   at Microsoft.EnterpriseManagement.Common.Internal.ManagementPackServiceProxy.ImportManagementPackWithResources(String managementPack, String keyToken, Dictionary`2 resources)
   at Microsoft.EnterpriseManagement.SystemCenter.Warehouse.Synchronization.Library.BaseManagementGroup.ImportManagementPack(ManagementPackObject mpObj)
any help would be appreciated thanks
David Ulrich

Version 1.0.0.4 of the management pack is not upgrade compatible with older version 1.0.0.1. Compatibility check failed with 3 errors:
The property Type (C3SupportLocation) has a value that is not upgrade compatible. OldValue=enum, NewValue=string.
The property Key (C3Client) has a value that is not upgrade compatible. OldValue=True, NewValue=False.
New Key ClassProperty item (ClientID) has been added in the newer version of this management pack.
you have ignored the error in the management server that your MP was not upgrade compatible, deleted the old version of the management pack form the management server, and imported the new version into the management server without waiting for the MPSync
job to run and clean up the datawarehouse. the DW server is seeing the new version in the management server and is trying to upgrade an MP with a non-upgrade compatible upgrade. 
the normal resolution to this is to delete the MP from the Management server, run the MPSync job twice, verify the old version has been cleaned up from the DW server, and then re-import the new version. however, this isn't going to work for you, because
you are changing the primary key, and changing the type of a property, neither of which are EVER upgrade compatible. 
if this is a lab or new system, then you can rebuild the Data Warehouse and associate it with the management server again from scratch. if this system is older, or is production, you will lose data doing this, so consider carefully. 

Similar Messages

  • The Job Failed Due to  MAX-Time at ODS Activation Step

    Hi
            I'm getting these errors "The Job Failed Due to  MAX-Time at ODS Activation Step" and
             "Max-time Failure"
    How to resolve this failure?

    Hi ,
    You can check the ODs activation logs in ODs batch montior >> click on taht job >>> job log
    for this first you check in sm37 how many jobs are running if there are many otehr long running jobs then . the ODs activation will happen very slowly as the system is overloaded .. due to the long running jobs ..this causes the poor performance of system ..
    for checking the performance of system .. you first check the lock waits in ST04..and check wether they are progressing or nt ..
    check sm66 .. for the no of process running on system ..
    check st22 >> for short dumps ..
    check Os07> to check the cpu idle tiem if its less tehn 20% . then it means the cpu is overlaoded .
    check sm21 ...
    check the table space avilable in st04..
    see if the system is overlaoded then the ODS wont get enough work process to create the backgorund jobs for that like(Bi_BCTL*)..jobs .the updation will happen but very slowly ..
    in this case you can kill few long running jobs which are not important .. and kill few ODs activations also ..
    Dont run 23 ODs activation all at a time .. run some of them at a time ..
    And as for checking the key points for data loading is check st22,cehck job in R/3 , check sm58 for trfc,check sm59 for Rfc connections
    Regards,
    Shikha

  • SQL Server Agent job fails with error : The package execution returned DTSER_FAILURE (1).

    Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 10:00:01 AM Error: 2014-08-15 10:00:07.20
    Code: 0xC0047062 Source: Data Flow Task LEAN [6761]
    Description: Teradata.Client.Provider.TdException: [Teradata Database] [3006] Logons are disabled.
    at Teradata.Client.Provider.WpMessageManager.CheckForError()
    at Teradata.Client.Provider.WpMessageManager.ProcessResponse()
    at Teradata.Client.Provider.WpLogonManager.Action()
    at Teradata.Client.Provider.WpSession.ManagerAction(WpMessageManager manager, UtlStopwatchWrapper watch, Int32 connectionTimeout)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout, String password)
    at Teradata.Client.Provider.WpSession.Open(Int32 connectionTimeout)
    at Teradata.Client.Provider.Connection.Open(UtlConnectionString connectionString, UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.CreateConnection(UInt32 timeout)
    at Teradata.Client.Provider.ConnectionPool.GetConnectionFromPool(Object owningObject)
    at Teradata.Client.Provider.ConnectionFactory.GetConnection(Object owningObject, UtlConnectionString connStr)
    at Teradata.Client.Provider.TdConnection.Open()
    at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
    at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
    at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
    at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
    End Error Error: 2014-08-15 10:00:07.35 Code: 0xC0047017 Source: Data Flow Task SSIS.Pipeline
    Description: component "LEAN" (6761) failed validation and returned error code 0x80004005. End Error Error: 2014-08-15 10:00:07.48
    Code: 0xC004700C Source: Data Flow Task SSIS.Pipeline Description: One or more component failed validation.
    End Error Error: 2014-08-15 10:00:07.60 Code: 0xC0024107 Source: Data Flow Task
    Description: There were errors during task validation. End Error
    DTExec: The package execution returned DTSER_FAILURE (1). Started: 10:00:01 AM Finished: 10:00:07 AM
    Elapsed: 6.692 seconds. The package execution failed. The step failed.
    SQL Server agent job fails with above error, Please let me know process tohandle it.
    Thanks,
    Vishal.

    The error message suggests its the issue with Teradata source database to which SSIS tries to connect within the data flow task. Make sure Teradata database is available and LOGON is enabled.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • LIS job failed due to server restart

    Hi Experts,
    One of out LIS jobs on queue MCEX11 is failed due to a system restart in ECC. What are the steps we need to take to make sure no data is lost or how we can confirm that there is no data loss due to this restart.
    Regards
    Jitendra

    Hi Rama,
    Please find attached screenshots from failed job, LBWQ & RSA7. Looking on them I guess there will be surely a data loss.
    Failed Job
    LBWQ
    RSA7
    Regards
    Jitendra

  • SQL Server Agent Job Failing on Job Step

    Hi,
    Firstly, apologies if this post has been made in the wrong group.  Running SQL Server 2012.  I'm attempting to add a SQL Server Agent Job which calls a stored procedure that sends a Database Mail message.  The SQL Server and SQL Server Agent
    both run under the NT AUTHORITY\NETWORK SERVICE account.  The Database Mail service has been enabled, and a public profile created.  When running the stored procedure manually, I receive no errors - everything runs as expected and I do receive an
    email containing the expected information.
    I've created the job, job step, job schedule, attached the schedule to the job, and assigned the job to server, all using T-SQL without error.  I've also enabled the mail profile on the SQL Server Agent, and I know that part is working because when
    the job fails, I get an email notification of the failure.
    I've checked the command text in the job step and parsed it within the SQL Job Step Edit window to confirm, it shows as parsing correctly.  However, when I manually run the job itself, I get the following:
    Execution of job failed.  See the history log for details.
    I check the history log and it shows:
    [474] Unable to refresh Database Mail profile Database Mail Profile. (reason: ) (Not a typo, the history log shows no reason)
    [260] Unable to start mail session.
    [396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect
    The command text on the failing job step is as follows:
    DECLARE @date [varchar](10)
    SET @date = CAST(GETDATE() AS [varchar](10))
    EXEC [dbo].[GetExceptions]
    @company = 'MyCompany',
    @checkDate = @date
    With regard to the date value being passed as varchar: This stored procedure is used to check for exceptions against multiple databases on this server (hence the company parameter) via dynamic SQL.  I'd much prefer to use proper data typing but this
    is the only way I could get it to work.
    Does anyone have any suggestions on anything else I could check, or insights into why this is failing?  Any help is greatly appreciated!
    Best Regards
    Brad

    I am not sure if this really helps but I would do follow the below steps:
    1. make sure sql server agent has database mail enabled(rigt click on server agent--properties--alert system--enable database mail and choose right profile.) and RESTART THE SQL SERVER AGENT.(i know you said it i working, but sometimes,  restart the
    sql server agent might fix)
    2. check agent error log and check if any error messages.
    3. run the command text you mentioned in sql server and see if it is working.(i know you said it is working but just to make sure).
    4. make sure sql server agent service user has permissions to run database mail in msdb. check this https://msdn.microsoft.com/en-us/library/ms186358.aspx
    5. Check the output from select * from msdb.dbo.sysmail_log and if it says anything
    6.it does not look like the job log is getting truncated but to make sure, get the job step output to a text file.to do this, edit the job step and on the job step properties click on advanced,  enter path to the output file. this will give the complete
    output for the step.
    Hope it Helps!!

  • SQL Server agent job failing to back up database

    I have set up a SQL server agent job to back up database on regular basis.. For some reason the back up fails.. Could not find any meaningful info in the logs.. Transaction logs are getting created for the same DB but not the database back up..
    The below is my environment..
    MS SQL Server 2005 - 9.00.1399.06
    Windows 2003 server SP2
    Any pointers would be helpful.. I checked the event logs and the agent logs and did not see obvious error.
    Thanks

    I have set up a SQL server agent job to back up database on regular basis.. For some reason the back up fails.. Could not find any meaningful info in the logs.. Transaction logs are getting created for the same DB but not the database back up..
    The below is my environment..
    MS SQL Server 2005 - 9.00.1399.06
    Windows 2003 server SP2
    Any pointers would be helpful.. I checked the event logs and the agent logs and did not see obvious error.
    Thanks
    NO answer can be provided unless you show us the error message. There can be numerous reasons for backup job to fail. See job history for details please post complete information present in job history.
    Check errorlog and note what error message is there at time when the backup job failed. You could find something useful. Please learn how to post question in forum just saying I have a problem will not help both of us.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • Server Agent job failing but not writing to Error log

    We recently migrated from Server 2003 to 2008 R2 running Microsoft SQL Management Studio 2008.  We've had a few bumps along the road but my main concern is a SQL Server Agent job that runs at 1:00 AM is failing part way through. Some of the work is
    done but not all. The Job Activity Monitor reports it failed but nothing goes in the Error Log. The job did run successfully last week during tests but these failures came after going live and bring over the latest data. 
    I guess I really need help in diagnosing the lack of information in the Error Log. If I had that data I can begin to follow the bread crumbs to the actual problem.

    The Job Activity Monitor reports it failed but nothing goes in the Error Log.
    The Agent writes error to it's own log file, called SQLAGENT.OUT, it's also located in LOG subfolder and you also can look it up in SSMS from node "SQL Server Agent"
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • SSIS running through SQL Server agent Job Fails --SQL Server 2012

    Hi All,
    I am getting the below error.
    Executed as user: sak\thiru. ...ion 11.0.2100.60 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  3:31:17 PM  Error: 2014-03-07 15:32:22.46     Code: 0xC0202009     Source: CommonDataSource
    Connection manager "TESTDB"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"
     Hresult: 0x80004005  Description: "Login timeout expired".  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "A network-related or instance-specific
    error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".
     An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Named Pipes Provider: Could not open a connection to SQL Server [53]. ".  End Error  Error:
    2014-03-07 15:32:43.58  
     The package execution fa...  The step failed.
    I checked namedpipes, ports,services, SqlBrowser all are running fine.
    share your views.
    Thanks
    Thiru
    Thiru

    Hi Thiru,
    The error messages are rather general and the issue may occur due to various causes. You can check the “Connect Time” setting of the Connection Manager "TESTDB", and increase its timeout value.
    If the issue persists, maybe it occurs because the Windows Firewall or certain anti-virus software blocks the RPC dynamic range of TCP Ports between SQL Server and Domain Controllers. In this case, temporarily disable third party anti-virus software, or
    configure RPC dynamic port allocation to work with firewalls referring to the following KB article
    http://support.microsoft.com/kb/154596.
    In addition, the issue may be related to the SQL Server that the OLE DB Source adapter connects to. You can check the SQL Server log to see if any error occurs at that time.
    Hope this helps.
    Regards,
    Mike Yin
    TechNet Community Support

  • Sql server agent job failing

    Hi, I created a ssis package, that simply transfer an excel sheet into ole db, it works on its own, but when I try to use the sql server agent service, the first step is successful,but the second step of execution is not, but I don't have enough details
    to check the problem.
    when I check the database , a table is created, with only the column headers, but no rows.
    please can some one guide me. cheers.
    this was in the error log, i checked, and imake sure the file dtx, or the excel was not opened, but what i dont know is about the file permission
    ,ssa3,Error,1,USER-PC,ssa3,ssas3,,Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  11:38:23
     Error: 2014-10-23 11:38:23.34    
    Code: 0xC0202009     Source: Package Connection manager "Excel Connection Manager"     Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.
     Source: "Microsoft JET Database Engine"  Hresult: 0x80004005  Description: "The Microsoft Jet database engine cannot open the file 'C:\Users\User\Desktop\dup.xls'.  It is already opened exclusively by another user<c/>
    or you need permission to view its data.".  
     Code: 0xC020801C     Source: Data Flow Task Excel Source [2]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection
    Manager" failed with error code 0xC0202009.  

    You can also create a proxy account in sql agent with required permissions to folder etc and configure it to run the job so that it always works
    http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Sql server agent job failing to connect excel connection manager of SSIS package by 32-bit mode run time

    I am unable to succeed with sql agent job, I am trying to execute the SSIS package through sql agent job by ticking 32 bit runtime check box in 64 bit machine , even it does not worked..
    could any one helpme on this?
     Source: Excel Load Connection manager "Excel Connection Manager"    
    Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040154.  An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class
    not registered".  End Error   TS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.  There may be error
    messages posted before this with more information on why the AcquireConnection method call failed.  End...  The package execution fa...  The step failed.

    Hello Keerthi,
    Can you please modify settings and set delay validation for Excel connection manager? I think its validating connection and failing because it might be picking that from some variable.
    Alternatively, please run package using below and see what happens.
    EXEC master..xp_cmdshell 'DTEXEC.exe /SQL "Folder\Package" /SERVER Servername'
    I will recommend you to follow steps in below link.
    http://www.sqlhammer.com/blog/running-ssis-packages-in-32-bit/
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • SQL Agent Job fails due to excel import

    I  have SQL SERVER 2012 SP 1.  I have a package which imports a generic spreadsheet into a import table and then does does other stuff with it.
    I can happly run the SSIS package through BIDS but fails when I try and run it though SQL agent.
    with errors such as Microsoft.ACE.OLEDB.12.0.  Provider is not registered on this machine.
    Within the SSIS I use the Excel connection manager and have modifed the string to
    Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\FileDropTest\Fusion.xlsx;Extended Properties="EXCEL 12.0 XML;HDR=YES;IMEX=1";
    and re deployed and still get the same issue. 
    I then enabled xp_cmdshell and tried from TSQL
    DECLARE @Qry VARCHAR(8000)
    SELECT @Qry = 'dtexec /FILE "D:\SSIS\export\Fusion.dtsx"'
    EXECUTE xp_cmdshell @Qry
    and got
    output
    Microsoft (R) SQL Server Execute Package Utility
    Version 11.0.5058.0 for 64-bit
    Copyright (C) Microsoft Corporation. All rights reserved.
    NULL
    Started:  5:49:25 PM
    Error: 2015-02-09 17:49:25.43
       Code: 0xC001000E
       Source: Fusion
       Description: The connection "{3076028A-D7D9-4432-AADB-CAC6D9AD5995}" is not found. This error is thrown by Connections collection when the specific connection element is not found.
      As a different approach it was recommended to use OLEDB however within BIDS I the connection tests fine but when I run it though BIDS it fails
    [OLE DB Source [79]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "D:\FileDropTest\Fusion.xlsx" failed with error code 0xC0202009.  There may be
    error messages posted before this with more information on why the AcquireConnection method call failed.
    For refrence I ve also set the delay to true.
    I'm a bit stuck as I thought importing a spreadsheet being Microsoft product ;) would be fairly easy .  Any Help on this matter would be great.

    If your source Excel file is .xls, it should successfully import it. However in your case Excel file is .xlsx hence it fails.
    >> I can happly run the SSIS package through BIDS but fails when I try and run it though SQL agent.
    with errors such as Microsoft.ACE.OLEDB.12.0.  Provider is not registered on this machine
    Your local server where you run the package in BIDS have the 32 Bit ACE OLEDB 12.0 driver installed correctly.
    But the target server where you run the package thorugh SQL Agent has no correct driver. Please download
    32 bit Microsoft Access Database Engine 2010 Redistributable and install it in Target server.
    >> I then enabled xp_cmdshell and tried from TSQL and got errors "Connections collection when the specific connection element is not found"
    Please look at the connection managers in your package. There has to be some connection manager where name is missing. This may happen if you copy paste connection from same or another ssis package.
    -Vaibhav Chaudhari

  • Server Agent Job Failed

    Hello ,
    I have created SSIS package to connect SAP using ado.net Connection  and i am successfully pooling data from sap to Sql server (2014 64 bit ) (Windows  server 2008 R2 (64 bit)).
    My Package is running properly using SSIS But when i try to schedule it from SQL server Agent i am getting following error .
    "Executed as user: NT Service\SQLSERVERAGENT. Microsoft (R) SQL Server Execute Package Utility  Version 11.0.2100.60 for 32-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  3:00:00 AM  Error:
    2014-11-27 03:00:03.57     Code: 0xC0208449     Source: ADRC ADO NET Source [2]     Description: ADO NET Source has failed to acquire the connection {B4F9F268-670A-4E37-A752-AC135CD692DE} with the following error message: "Details:
    ErrorCode=RFC_OK. ErrorGroup=RFC_ERROR_LOGON_FAILURE. SapErrorMessage=Open file 'saprfc.ini' failed: 'No such file or directory'.  AdapterErrorMessage=.".  End Error  Error: 2014-11-27 03:00:03.57     Code: 0xC0047017    
    Source: ADRC SSIS.Pipeline     Description: ADO NET Source failed validation and returned error code 0xC0208449.  End Error  Error: 2014-11-27 03:00:03.57     Code: 0xC004700C     Source: ADRC SSIS.Pipeline    
    Description: One or more component failed validation.  End Error  Error: 2014-11-27 03:00:03.57     Code: 0xC0024107     Source: ADRC      Description: There were errors during task validation.  End Error  DTExec:
    The package execution returned DTSER_FAILURE (1).  Started:  3:00:00 AM  Finished: 3:00:03 AM  Elapsed:  3.4 seconds.  The package execution failed.  The step failed."
    I have tried all possible solution from internet but not success yet.Please help me to solve this as soon as possible.
    Regards,
    AKshay Adivarekar
    Akshay Adivarekar

    Hi AKshay,
    Based on the error message, it seems that the issue is caused by the current user NT Service\SQLSERVERAGENT doesn’t have required permissions to connect to the SAP that the ADO.NET Connection Manager accesses.
    By default, the NT Service\SQLSERVERAGENT account only has the following permissions granted by SQL Server Setup:
    Log on as a service (SeServiceLogonRight)
    Replace a process-level token (SeAssignPrimaryTokenPrivilege)
    Bypass traverse checking (SeChangeNotifyPrivilege)
    Adjust memory quotas for a process (SeIncreaseQuotaPrivilege)
    In this scenario, we can change the SQL Server Agent Service Account to another account that has required permission or we can create a SQL Server Agent proxy account. This proxy account must use a credential that lets SQL Server Agent run the job as the account
    that created the package or as an account that has the required permissions.
    For more information about how to run a SSIS Package from SQL Server Agent Using a Proxy Account, please refer to the following blog:
    http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • DB13 job failed due to SXPG_COMMAND_EXECUTE error

    Hi,
    I received an error when I try run the BRCONNECT Database Action Calendar (tx. DB13), either it's a Database check, statistics updates, etc. The error messages are as follows:
    Job started
    Step 001 started (program RSDBAJOB, variant &0000000000166, user ID SETIR0)
    No application server found on database host - rsh/Gateway will be used
    Execute logical command BRCONNECT On host tdcwsxd1
    Parameters: -u / -c -f check
    SXPG_COMMAND_EXECUTE failed for BRCONNECT - Reason: program_start_error: For More Information, See SYS
    Job cancelled after system exception ERROR_MESSAGE
    FYI, we're using DB instance (DB) and Central Instance (CI) on each separate box in the unix environments. SAP Basis rel. 620 with SP level SAPKB62053.
    If I execute the command directly in DB instance, it works fine but not from SAP trx DB13.
    Command: brconnect -u / -c -f check.
    Thanks and best regards,
    Mark

    Hi Mark,
    Sorry I see you are running on Unix, I am only familiar with Windows environment, but however on Windows I would do the following:
    1) Install a so called Standalone Gateway on the DB-host.
    2) copy the sapxpg executable to the directory where the gateway is installed.
    2) Change the SAPXPG_DBDEST... RFC connection to point to, or use this gateway (gateway options).
    That's all....
    (How to Install a standalone gateway or Gateway instance is normally described in the SAP installation guide).
    But as I sad, I am not sure if this is possible under Unix also, and the way to go...
    Regards
    Rolf

  • Jobs failing due to "incorrect settings: QUOTED_IDENTIFIER"

    I have three jobs that have all failed on the second step, for the same reason: "[Command] failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'. Verify that SET options are correct for use with indexed views and/or indexes
    on computed columns and/or filtered indexes and/or query notifications and/or XML data type methods and/or spatial index operations." Two are INSERTs and the third is a MERGE. The statements run fine directly, and they run fine when jobs run stored procedures
    that contain them. The database has QUOTED_IDENTIFIER turned on. What is the problem and how do I resolve it?

    HI,  I have the same problem with various jobs on a production box.  When I add a job to execute some SQL usually it works, but occasionally it fails with the same error: "[Command] failed because the following SET options have incorrect settings:
    'QUOTED_IDENTIFIER' . . ."  For example, an index rebuild or a delete statement.  Explicitly adding the SET command (and by the way, nice that it doesn't tell you which way it should be set) is an inconvenience.  It's easily the sort of thing
    that a person could forget (when so many jobs succeed and don't have the option explicitly set), leaving jobs to fail.  These jobs are running very basic SQL with the table and column names already wrapped in square brackets.
    The only solution I have is to now remember to always set that option at the top of a SQL statement in a job.  :(

  • RMAN Delete Obsolete job fails due to Error Allocating Device

    Experts, I need help, please.
    This is 10.2.0.1 on Windows
    RMAN> DELETE NOPROMPT OBSOLETE;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to recovery window of 3 days
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=130 devtype=DISK
    released channel: ORA_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 05/15/2012 14:10:17
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    I ran RMAN> configure device type 'SBT_TAPE' clear;
    but I still get the same error.
    I backup to Disk, not tape
    Notice the reference to SBT_TAPE:
    RMAN configuration parameters are:
    CONFIGURE DEVICE TYPE DISK BACKUP TYPE TO BACKUPSET PARALLELISM 1;
    CONFIGURE DEVICE TYPE SBT_TAPE PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    What do I need to do to be able to run DELETE OBSOLETE; ?
    Thanks, John

    as anand mention ,you've to reset this parameter to default value.
    and clear cmd with configure will remove it from configuration parameter
    see below
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE SBT_TAPE TO '%F'; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    *CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP TYPE TO BACKUPSET;*
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/10/db/dbs/snapcf_GG1.f'; # default
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of delete command at 05/16/2012 12:04:34
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27211: Failed to load Media Management Library
    Additional information: 2
    RMAN>  CONFIGURE DEVICE TYPE 'SBT_TAPE' clear;
    old RMAN configuration parameters:
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 1 BACKUP TYPE TO BACKUPSET;
    RMAN configuration parameters are successfully reset to default value
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 1;
    CONFIGURE BACKUP OPTIMIZATION OFF; # default
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP OFF; # default
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/10/db/dbs/snapcf_GG1.f'; # default
    RMAN> delete obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 1
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: sid=1591 instance=GG1 devtype=DISK
    allocated channel: ORA_DISK_2
    channel ORA_DISK_2: sid=1627 instance=GG1 devtype=DISK
    no obsolete backups found

Maybe you are looking for