Error authenticating proxy while running agent job

I am trying to schedule a SSIS2014 package via SQL Server Agent job. Both SSIS and SSMS are running on my local machine in the same domain. I am running SSMS with the same user
Domain\Admin which is the creator of the SSIS package. SSMS 32-Bit and SSIS 32-Bit are running on Windows 7 64-Bit machine. I can run the package within SSIS without problems.
When I use a proxy account to run the job step, the following message occurs:
Unable to start execution of step 1 (reason: Error authenticating proxy `Domain\Admin`, system error: Logon failure: unknown user name or bad password.). The step failed.
The proxy account uses the credentials identity Domain\Admin. Since the password fields for credential properties in SSMS cannot be left blank, I typed any password although my corresponding windows account has no password. So as mentioned above
it's the same user account that created the SSIS package since Domain\Admin is stated in the CreatorName property of the SSIS package.
With this proxy, I tried to run SSIS jobs using the package ProtectionLevel's
EncryptSensitiveWithUserKey and EncryptSensitiveWithPassword. Running the package manually within SSDT without problems, but from SSMS agent job the same error message appears. I tried the package sources "File System" and, after
importing the package to MSDB, "SQL Server" and "SSIS Package Store". But exactly the same error message appears with each method.
Task manager shows that SSMS is running in administrator mode. Using Windows Component Services I added DCOM permissions for
Domain\Admin to start and activate "Microsoft SQL Server Integration Services 12.0" from local. But the same error message appears. So in my opinion it's a problem with SSMS user account permissions (???) but unfortunately I don't know
what exactly to do here. I tried the following:
In the system database MSDB (full path: Databases / System Databases / MSDB / Security / Logins) I assigned all available role memberships (Including db_ssisoperator, db_ssisltduser, db_ssisadmin) to
Domain\Admin.
In server security (full path: Security / Logins) I assigned all available server roles. In the tab User Mapping, I assigned the MSDB database.
Still the same error message appears when I try to run the job. Does anybody have some ideas what I can try?

If you use the Agent then set the package protection to "Rely on server".
Then Domain/Admin is probably not an actual proxy but the account the Agent is running under, in this or even any case follow http://www.mssqltips.com/sqlservertip/2163/running-a-ssis-package-from-sql-server-agent-using-a-proxy-account/ to create the
proper proxy for the packages.
Arthur My Blog

Similar Messages

  • SSIS error authenticating proxy with SQL Agent

    Hello,
    I'm a BI Analyst (not DBA) and I've asked our IT department for access to SSIS and SQL Server Agent to deploy packages to import data from Oracle nightly and transform it into a dataset in SQL Server 2012 using SSIS.
    I've written several packages, deployed these to a SQL Server. These run fine when ran locally through Object Explorer > Integration Services Catalog > SSIDB by right clicking/execute. 
    However our DBA has set up an SSIS Proxy that I can use in conjunction with SQL Server Agent to run these packages. However, when I try to use this proxy I get the error message:
    'Unable to start execution of step 1 (reason: error authoenticating proxy ad\[name removed], system error. The username or password is incorrect. The step failed.'
    I've tried packages with security for 'dontsavesensitive' and 'encryptsensitivewithuserkey' but neither work. I'd like to rule anything out that I'm not doing, however I think it is a permissions issue (happy to be proven wrong though). 
    Can anyone offer suggestions for next steps please?
    Thanks, 
    ZP

    Hi V, 
    Thanks again. 
    I went to the general tab and it is all greyed out and the credentials box is empty - though I can click on the button with three dots on. However, it just takes me to a credentials form but doesn't give me any options to select from. The box for SSIS is
    ticked though. 
    It is all greyed out - I presumed this is because I haven't got permissions to set what the proxy can do?
    I tried select * from sys.credentials - didn't return any information (zero rows).
    I'm (mostly!) convinced the packages are fine - I've created several simple packages to demonstrate the same thing to our DBA and these simple packages all run fine when executed directly through SSMS but never work through SQL Agent with SSIS Proxy. His
    thinking is that its because I need to run them with security as 'dontsavesensitive' but these dont work either. 
    Do you know if I should be asking for a specific permission/credential?
    Thanks!

  • Error while running a job in background

    Hi,
      I got the following error message while running the job in background.
    "Step 001 started .
    Control Framework: Fatal error - GUI cannot be reached.
    ABAP/4 processor: RAISE_EXCEPTION
    Job cancelled"
    What is the reason for this error and how to correct it?

    ALV Grid control is based on the custom controls on the screen. When the program is scheduled in background, it tries to create GUI related front-end objects and hence the error u201CFatal Error u2013 GUI cannot be reachedu201D. This type of problem is common with all the programs that use the ALV grid control to display the output.
    Solution:
    Whenever we execute this type of programs in background, we should be passing a blank docking container instead of the custom container as parent to our grid control. 
    The docking container doesnu2019t need any of the custom controls on the screen; instead it attaches an area to any or all of the four edges of the screen (top, left, right or bottom). The behavior of the areas in the container is determined by the sequence in which they are initialized. Docking Containers are attached to the screen from the inside out. This means that when you create a second container, it is attached to the edge of the screen, and the container that was already there is pushed outwards. 
    Let us modify the standard program (by taking a copy of it) to enable it to execute it in background.
    Following modifications have to be made:
    ·        Define a docking container in the program
    data: or_doc  type ref to cl_gui_docking_container .
    ·        At the time of creating a custom container, check if the program is being executed in background or foreground. If the program is scheduled in background, then create a docking container instead of custom container.
    if cl_gui_alv_grid=>offline( ) is initial.
        create object or_custom_container
               exporting container_name = c_container.
      create object or_grid
             exporting i_parent = or_custom_container.
    else .
    create object or_grid
             exporting i_parent = or_doc .
    endif . 
    Now test executing the program in background. The report would be generated.

  • Am facing this error sqlcode :-6502 while running sql code in plsql block

    Am facing this error sqlcode :-6502 while running sql code in plsql block.
    am using query :
    SELECT SUBSTR('123456DE789KL|987654321|B',1,INSTR('123456DE789KL|987654321|B','|')-1) FROM DUAL;
    CAN any body tell me why.

    BD_Fayez wrote:
    I've tried the following, but don't get any error.As I mentioned, most likely variable is too short:
    SQL> declare
      2  strSub varchar2(2);
      3  begin
      4  SELECT SUBSTR('123456DE789KL|987654321|B',1,INSTR('123456DE789KL|987654321|B','|')-1) into strSub FROM DUAL;
      5  dbms_output.put_line(strSub);
      6  end;
      7  /
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 4
    SQL> SY.

  • Error when we are running the job "AS ABAP - Initial Load" for a ABAP Syste

    Hi,
    We are getting the below error when we are running the job "AS ABAP - Initial Load" for a ABAP System.
    Pls note that we have maintained the below entry types to the Identieny Store & we are still getting the error.
    Request you to help me
    MX_TITLE_SUPPLEMENT
    MX_SALUTATION
    MX_NAME_PREFIX
    MX_ACADEMIC_TITLE
    Error----
    runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_ACADEMIC_TITLE!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_ACADEMIC_TITLE' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_ACADEMIC_TITLE!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_ACADEMIC_TITLE' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_NAME_PREFIX!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_NAME_PREFIX' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_NAME_PREFIX!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_NAME_PREFIX' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_SALUTATION!!Mr.!!EN)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_SALUTATION' AND ValText = 'Mr.' AND ValLocale = 'EN') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_TITLE_SUPPLEMENT!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_TITLE_SUPPLEMENT' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_ACADEMIC_TITLE!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_ACADEMIC_TITLE' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_ACADEMIC_TITLE!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_ACADEMIC_TITLE' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_NAME_PREFIX!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_NAME_PREFIX' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_NAME_PREFIX!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_NAME_PREFIX' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_SALUTATION!!Mr.!!EN)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_SALUTATION' AND ValText = 'Mr.' AND ValLocale = 'EN') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error runFunctionsInString($FUNCTION.sap_getHelpValKey(MX_TITLE_SUPPLEMENT!!)$$) got exception
    org.mozilla.javascript.EvaluatorException: uSelect(select ValKey from dbo.mxi_attrvaluehelp where ValId = 'MX_TITLE_SUPPLEMENT' AND ValText = '') got exception java.sql.SQLException: ORA-00942: table or view does not exist
    Error putNextEntry failed storingMANJUHB
    Exception from Add operation:com.sap.idm.ic.ToPassException: ToIDStore.addEntry failed storing entry 'MANJUHB'. IDStore returned error message: " Value not legal for this attribute:Attribute: MX_ACADEMIC_TITLE_2" when storing attribute 'MX_ACADEMIC_TITLE_2=$FUNCTION.sap_getHelpValKey(MX_ACADEMIC_TITLE!!)$$'
    Exception from Modify operation:com.sap.idm.ic.ToPassException: ToIDStore.modEntry failed updating entry 'MANJUHB'. IDStore returned error message: "Entry does not exist" when fetching entry

    The Probelm was resolved after editing the Script..... "sap_getHelpValKey.js"

  • "A critical error has occurred while running the virtual machine and the machine execution has been stopped"

    I have the following error:
    "A critical error has occurred while running the virtual machine and the machine execution has been stopped"
    When I am installing grid clusterware and when is copying files from one node to other I received that virtualbox error and is stop working.
    Can somebody give me any hint how to solve it ?
    Thank you
    Eugen

    I think that is not a Clusterware issue, The clusterware installation may generating a high load on your machine and Virtual Box is not supporting.
    Check vbox.log file to identify root cause.

  • In DOE while running "EXTRACT JOB"  system was shut down.

    Dear Experts,
    while running "EXTRACT JOB" . system was shut down.then extract queues are in ready state. it's not going to running state.long time it appears like in ready state. if i run manually then it's running for some time then again it's going ready state.how will handle this because of it consist of huge entries we couldn't do manually.if any one knows please provide solutions.
    Regards,
    Ashok Reddy.

    Hi Ashok,
    Please check whether the extract queues are in registered state. If not, please register the extract queues using QIN Scheduler (Goto --> QIN Scheduler) & then check.
    Regards,
    Ananth.

  • Getting error while running Agent in obiee 11g

    Hi,
    We are using external table authentication in our application. We created 10 user in the table, when we are logging to the application we are able to log in.
    After log in when we are creating Agent and click on run, it is showing error as [nQSError: 13024] Successful completion of init block 'security1' is required. (08004)
    Security1 is our initialization block for authentication. But when I create one user in console and give admin priviledges to that user and try to run same agent, it is running fine.
    Please let me know if I miss something or anything else need to configure.
    Thanks
    Anirban

    Hope you have strictly followed the steps mentioned in the document:
    http://docs.oracle.com/cd/E21764_01/bi.1111/e10543/legacy.htm#BABGEHJJ
    Specifically note : Oracle BI Scheduler Server runs Delivers jobs for users without accessing or storing their passwords. Using a process called impersonation, Oracle BI Scheduler uses one user name and password with Oracle Business Intelligence administrative privileges that can act on behalf of other users. Oracle BI Scheduler initiates an Agent by logging on to Oracle BI Presentation Services with the Oracle Business Intelligence administrative name and password.
    For Delivers to work, all database authentication must be performed in only one connection pool, and that connection pool can only be selected in an initialization block for the USER system session variable. This is typically called the Authentication Initialization Block. When impersonation is used, this initialization block is skipped. All other initialization blocks must use connection pools that do not use database authentication.
    Hope this helps.
    Thanks and regards,
    Debarati.

  • Facing error- ORA-23324: while running DBMS_JOB.run(job#)

    Hi,
    I am a new comer to this forum. I'm facing the follwing error
    while running a push job in multimaster replication env. Though
    able to delete the pending transactions from Deftran relating to
    two groups which i'm going to resync.
    ORA-23324: error ORA-06512: at line , while creating deferror
    entry at "DB.WORLD" with error 100
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1425
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1488
    ORA-06512: at line 1
    any help is appreciated.
    thanks
    Hsingh

    I apologize if you already solved this.. but see Metalink ID 790221.1
    +*<Moderator Edit - deleted contents of MOS Doc - pl do NOT post such content - it is a violation of your Support agreement>*+                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error while running agent.sh

    Hi There,
    Our project is configured such that our Master and work repository maps to single DB schema. I have configured the odiparams.sh file with the same set of details and here is an error while running ./agent.sh
    [pmangena@slc02jsl bin]$ ./agent.sh -NAME=testAgent
    Enter username for ODI Master Repository DB User:FUSION_ODI_MIGRATION_EBS
    Enter password for ODI Master Repository DB User FUSION_ODI_MIGRATION_EBS:
    java.lang.RuntimeException: java.lang.IllegalArgumentException
    at oracle.odi.core.datasource.provider.AbstractDataSourceProvider.configure(AbstractDataSourceProvider.java:106)
    at oracle.odi.Agent.doGetDataSource(Agent.java:402)
    at oracle.odi.Agent.main(Agent.java:516)
    Caused by: java.lang.IllegalArgumentException
    at oracle.ucp.jdbc.PoolDataSourceImpl.setConnectionFactoryProperty(PoolDataSourceImpl.java:2121)
    at oracle.odi.core.datasource.provider.UcpDataSourceProvider.doCreateDataSource(UcpDataSourceProvider.java:114)
    at oracle.odi.core.datasource.provider.AbstractDataSourceProvider.configure(AbstractDataSourceProvider.java:97)
    ... 2 more
    Any help on this resolution is highly appreciated.
    Thanks,
    Pratima

    Yeah did all the steps mentioned in the link
    http://st-curriculum.oracle.com/obe/fmw/odi/odi_11g/Setup_ODI_Agent/Setup_ODI_Agent.htm
    Thanks,
    Pratima

  • While running synchronization jobs I am getting an error with program terminated

    Dear All,
    While running the synchronization jobs I am getting an ABAP dump error in GRC system SAPMSSY1 and CL_GRAC_USER_REP.
    Do somebody had any of such problem?
    Regards,
    Abhisshek

    Dear Colleen,
    That was correct! I was running multiple jobs at the same time and they might were trying to accesss the same table.
    I am surprise SAP ST22 dumps also stating that I must send SAP message.
    Regards,
    Abhishek

  • SQL error "-911" while running background job

    Hi Experts,
        We are getting the below runtime error while a background job is run.
    SQL error "-911" when accessing table "DD02L".
    Error Text of the Database: "SQL0911N The current transaction has been rolled 
      back because of a deadlock or timeout. Reason code "2". SQLSTATE=40001 row=1"
    The error is happening at a delete statement.
    Please let me know what might be the reason of this error and how this can be resolved.
    Thanks,
    Jissa.

    Hi,
    The system is taking very long for processing delete statement.
    can u send me ur code, so based on that i will give u some idea.
    Ram.

  • Errors while running Sync Jobs in GRC 10

    Dear Experts,
    I am trying to configure RAR in GRC 10. I have all required config steps and now I am trying to run Sync Jobs and I am getting below errors.
    Authorization Synch
    Program for Authorization data Synchronization
    Starting authorization sync for connector RC1 and language EN
    Error in RC1; Reason Error in RFC; 'Function module "/GRCPI/GRIA_AUTH_G
    PFCG authorization sync failed with errors
    Repository Object Synch
    Program for Repository Profile Syncronization
    Processing for connector RC1
    Error in RFC; 'Function module "/GRCPI/GRIA_PROF_GET_RANGES" not'
    Profile sync failed with errors
    Program for Repository Role Synchronization
    Processing for connector RC1
    Error in RFC; 'Function module "/GRCPI/GRIA_ROLE_GET_RANGES" not'
    Role sync failed with errors
    Program for Repository User Synchronization
    Processing for connector RC1
    Error in RFC; 'Function module "/GRCPI/GRIA_USR_GET_RANGES" not f'
    User sync failed with errors
    Repository Object sync job failed with errors
    Please check SLG1 for further details
    I appreciate your help.
    Thanks,
    Raj

    Hi Raj,
    I have a similar error for which I have put up a separate post, your input would be highly valuable.
    My RFC connection works via the test in SM59 but when executing GRAC_AUTH_SYNC I get a simiar error to your above.
    Please let me know what steps you took.
    Best regards,
    Paul

  • Error during scheduling while running Run order sequencing in PPR

    Hello Experts,
    An error saying 'Error during scheduling' is logged while running Run order sequencing in Production Planning Run and the job is failed.
    Checked the capacity of the resource but seems ok.
    The below long text is displayed next to the error message.
    Error during scheduling
    Message no. /SAPAPO/OM043
    Diagnosis
    The system could not schedule an order, operation or activity.
    This could have the following causes:
    The resource does not have any free working time or capacity.
    If you have set planning direction backwards in the strategy profile:
    There is not enough working time or capacity available for scheduling between now and the scheduling date.
    If you have set planning direction forwards in the strategy profile:
    There is not enough working time or capacity available for scheduling between the scheduling date and the end of the planning area.
    If you plan characteristics-dependently:
    You have assigned characteristics to operations of the order that do not agree with characteristics of the resources on which the operations are to be processed.
    The system cannot find any suitable characteristics on the resources and so it cannot schedule.
    Procedure
    Depending on which of the above reasons is the cause, change the following settings:
    Change the working times and capacities of the resources.
    Set the planning mode "infinite planning" in the strategy profile.
    Activate the planning direction forwards or backwards and reverse in the strategy profile.
    Change the characteristics that you have assigned to the resource.
    Can anyone let me know what else need to check to avoid the error.

    Dear Maddy,
    The function "Reschedule" follows an all-or-nothing logic, which means that either all selected activities on a resource can be re-scheduled or the function (better the liveCache) cancels and no activities will be re-scheduled.
    One reason might be that you have a pegging relation to a fixed activity (this might be a sales order, forecast, an activity outside the propagation range...) which cannot be considered during the
    scheduling. The liveCache cannot break the pegging, therefore it cancels the scheduling.
    Please have a look at the note 510669 which offers a heuristic on the basis of the algorithm /SAPAPO/HEUR_PLAN_SEQ_PACKAGES. This heuristic should solve your problem. It will re-schedule as many activities as possible and will not cancel if one fails.
    Depending on your current release there could be also some correction notes like
    1272960
    1027194
    I hope I could help you further.
    Regards,
    Tibor

  • Error in Jdeveloper while running a project on weblogic server.

    Hi ,
    I am receiving below error while running a project in Weblogic. I am using Jeveloper 11.1.1.2.0
    *** Using port 7101 ***
    "C:\Documents and Settings\nlatif\Application Data\JDeveloper\system11.1.1.2.36.55.36\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    The system cannot find the path specified.
    The JRE was not found in directory D:\OracleJeveloper\Middleware\jdk160_14_R27.6.5-32. (JAVA_HOME)
    Please edit your environment and set the JAVA_HOME
    variable to point to the root directory of your Java installation.
    Press any key to continue . . .
    where as I can run the same project in other machine on Jdeveloper with out this error.
    Thanks & regards,
    Noman

    Noman,
    have you checked that the folder D:\OracleJeveloper\Middleware\jdk160_14_R27.6.5-32 contains the jre?
    Timo

Maybe you are looking for

  • Complex mapping question (aggregate)

    Hello all, For example, i have a xml structure in input : <XML Input Structure> <Line1> <Country> Fr </country> <Currency> EUR <Currency> <Town> Paris </Town> <MT> 10 </MT> </Line1> <Line2> <Country> Fr </country> <Currency> EUR <Currency> <Town> Par

  • Satellite L500-1ZC - Left 4 Dead 2 is lagging

    Hi, I was wondering if anybody can help me fix my lag in Left 4 Dead 2. I have an average fps of 10-20 on all maps. I run it on the lowest resolution, lowest settings and even tried using files that help with the lag. I do not have this problem on an

  • ITunes Cannot be open with error message

    hi, I having this problem, when i try to open it show me: Runtime error. pls help

  • Oracle 8i Release 2 (8.1.6)

    I am getting annoyed by this whole delay thing. On February 16 Oracle Corp. announced that 8.1.6 will be available within 30 days. Now, those 30 days are over and Oracle didn't explain anything. It would definitely be nice of them to tell us what the

  • Error "Check table T159L: entry does not exist"

    Hi Gurus, I am trying to create a good reciept and i am getting this error. I am testing the end to end process and hope that everything else is fine but this error. Please advise me if anyone has idea of the solution. Thanks in advance. An