Sql Agent disabled

Hi guys, I got a problem with SQL Agent. I got an instance PP3, the IT department gave me all the permission, so I can write db, delete db, Sp, Cubes and go on...everything but SQL Agent. That's mean that Agent in my Management has a little
circle white with a green border. But the button start, stop and restart are disabled. I went to the IT office, they started Agent using theirs Management ( and logging in as Administrator...) I got back in my office but my SQL is still not running. Now,
before to go and argeue with them, I'm wondering if there is something that need to be done in Configuration to allow me to use Agent ( I log using my windows account, everything is ok but agent and Integration Service by management).
Thanks guys for any helping.   

The list:
entity_name subentity_name permission_name
server  CONNECT SQL
server  SHUTDOWN
server  CREATE ENDPOINT
server  CREATE ANY DATABASE
server  ALTER ANY LOGIN
server  ALTER ANY CREDENTIAL
server  ALTER ANY ENDPOINT
server  ALTER ANY LINKED SERVER
server  ALTER ANY CONNECTION
server  ALTER ANY DATABASE
server  ALTER RESOURCES
server  ALTER SETTINGS
server  ALTER TRACE
server  ADMINISTER BULK OPERATIONS
server  AUTHENTICATE SERVER
server  EXTERNAL ACCESS ASSEMBLY
server  VIEW ANY DATABASE
server  VIEW ANY DEFINITION
server  VIEW SERVER STATE
server  CREATE DDL EVENT NOTIFICATION
server  CREATE TRACE EVENT NOTIFICATION
server  ALTER ANY EVENT NOTIFICATION
server  ALTER SERVER STATE
server  UNSAFE ASSEMBLY
server  ALTER ANY SERVER AUDIT
server  CONTROL SERVER
About the configuration manager it's a little bit messy by the moment that I got an express instance on mpy pc ( a guy that tried to install me BIDS made a mess..). I'm going to address the problem, anyway it doesn't work even in express, the start is disabled
( as the stop)...
Are you saying you are using SQL server express I hope not because SQL Server agent is not present in express even though services are listed but its actually always disabled.
I found just the link to answer your question, what it says is since you are connecting to SQL server remotely and your account might not be administrator in machine where SQL server is installed in such case you will see this option disabled. If you log
on to local machine as administrator or local windows and connect to SQL server as admin you would be able to see Start/stop/ pause option enabled. I confirmed this with my surrorunding and it holds true.
http://www.sqlservercentral.com/Forums/Topic506940-149-1.aspx
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

Similar Messages

  • PL/SQL agent is down on 11i

    I clone a TEST 11i instance (build by previous team and not use for a long time) on new TEST server, after that, start the apps tier, everything looks fine, but the PL/SQL agent is down ( I refresh the web component several times). everything else are up.
    I try to check the application, I can not have oracle form window pop-up, like when I chose the system administrator --> request, it should lunch jinitiator and pop-up the oracle application. But I didn't get anything. I think this is the problem with that PL/SQL agent is down.
    After start all services with adstrtal.sh, here is the summary in the end of log.
    [Service Control Execution Report]
    The report format is:
    <Service> <Script> <Status>
    Oracle Apache Server ACCTUT2_owhacct2 adapcctl.sh Started
    OracleTNSListener80APPS_ACCTUT2_owhacct2 adalnctl.sh Started
    OracleConcMgrACCTUT2_owhacct2 adcmctl.sh Started
    OracleFormsServer-Forms60ACCTUT2_owhacct2 adfrmctl.sh Started
    OracleReportServer-Rep60_ACCTUT2 adrepctl.sh Started
    Oracle Metrics Client ACCTUT2_owhacct2 adfmcctl.sh Started
    Oracle Metrics Server ACCTUT2_owhacct2 adfmsctl.sh Started
    Oracle Fulfillment Server ACCTUT2_owhacct2 jtffmctl.sh Started
    Oracle Discoverer services ACCTUT2_owhacct2 addisctl.sh Failed
    Oracle Restricted Apache Server ACCTUT2_owhacct2 adaprstctl.sh Disabled
    Oracle Apache Server ACCTUT2_owhacct2 for PL/SQL adapcctl.sh Disabled
    Oracle TCF SocketServer ACCTUT2_owhacct2 adtcfctl.sh Disabled
    Oracle ICSM ACCTUT2_owhacct2 ieoicsm.sh Disabled
    Oracle iProcurement Bulk Loader ACCTUT2_owhacct2 icxblkctl.sh Disabled
    Note: we don't use discover, so that failed is ok.
    Other than that all scripts returns 0 for me. Can someone help me for this problem?
    Thanks,
    Hongmei

    Just FYI, I finally have this problem fixed, after researched over the metalink and read tons of notes for the past week. Since I can get to Forms60cgi without any problem, it narrows down my search a little bit.
    Subject: Not Able To Open Forms Session After Cloning.
    Doc ID: Note:460071.1
    That's exactly symptoms what I have, I unset env variable LC_COLLATE, and everything is fine.
    I can not beleive it's such a small thing that cause the problem I have been work on for so many days.
    Thanks,
    Hongmei

  • SSIS - Change Config File Path LOCATION in SQL Agent Job Step (NOT USING DTEXEC)

    SSISers;
    I am not new to ssis but am trying to deal with promoting of ssis config files differently for a specific project. We are using SQL 2008 R2.
    As a standared pattern used for years, we just use SQL Agent, build a job step for the ssis package, add the ssis package as SQL Integration Services Package type from fileshare (not using Integration Services), and add the necessary production
    config files in the configutation tab of the job step. Easy.  We do not execute our packages with DTEXEC command line.
    A new project has the developers leaving the config files in the package - not removing the config files for deployment. Is there a way to override JUST THE CONFIG FILE PATH LOCATION in the job step for ssis package? Remember, we are NOT using dtexec. 
    I was told that /SET might do it but I do not see a good example anywhere of hooking this in and how it works for a CONFIG FILE PATH LOCATION - I see variable overrides but not CONFIG FILE PATH LOCATION. The packages were written with Absolute config file
    path and not Relative path.
    Please understand that my goal is to let them leave the packages as is, we move the config files to the production sever and all we have to do is flip the location of where the config files are sitting for the ssis pacakge to look for them.  We would
    rather NOT have to use DTEXEC command  line with the job step for reasons that I do no need to get into on this forum.
    Any suggestions are appreciated.

    Hi mg30,
    There is no way to overwrite the XML configurations file just through modifying the SQL Server Agent job steps.  The Dtexec utility will apply the default package configurations for the second time after applying the options specified in the command
    lines or other package configurations configured in the job step.
    If the package is not deployed/installed, the Dtexec utility looks for the XML configurations file according to the file path defined in the Package Configurations Organizer window. In this situation, you need to either disable the package configurations
    or modify the XML file path in the BIDS.
    If the package is already deployed/installed, you need to modify the package as above or re-specify the install folder for the package configurations file. 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Get error from SQL AGENT: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D024

    I am running SQL Agent that executes an SSIS process from sql server1. The SSIS process executes its SQL/tables/sp’s  against another sql server2.
    I get an error after adding data flow tasks with transaction supported within a sequence with transaction required. The error, “The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D024 "The transaction
    manager has disabled its support for remote/network transactions"
    Prior to adding this sequence everything was working from sql agent, and there were other sequences with oledb destinations.
    Everything works when running within SSIS Package.
    I see this article on similar issue,
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0bfa2569-8849-4884-8f68-8edf98a9b4fe/problem-to-execute-a-package-and-tasks-with-a-certain-transactionoption-property-i-need-help?forum=sqlintegrationservices
    “I had similar issue and solved by setting the following on both the machines. Allow Remote Clients, Allow Remote Administration,
    Allow Inbound Clients, Allow Outbound Clients, and TIP are enabled in Component Services/My Computer/Properties/MSDTC/Security Configuration.”
    I don’t want to remove transaction required for the “Remove Duplicates from Staging” sequence.
    Anyone seen this?
    Greg Hanson

    DTC was running on remote computer. The problem was it was no longer accepting transactions from remote servers. This was in SSIS so I had to turn to "Transaction Supported" for all Data Flow Transactions.
    Greg Hanson

  • How do I automatically backup SQL Agent jobs and SSIS packages on the mirror daily?

    I have seen this question asked before but I could not find a satisfactory answer. What is the best solution to get your SQL Agent jobs/schedules/etc. and your SSIS packages on the mirror server? Here's the details:
    Server A is the principal with 2 DBs mirrored over to server B. Everything is fine and dandy, DBs are synched and all good. In Disaster Recovery testing, we need to bring up server B, which now will serve as the principal. Server A is inaccessible. Now,
    we need all our jobs that are setup in server A to be in server B, ready to go, but disabled. We also need all our SSIS packages properly stored. Yes, we store our packages in the MSDB in server A.
    Now, I can see a few answers coming my way.
    1- Backup the MSDB to server B. When you bring server B up as principal in DR, restore the MSDB. All your jobs,schedules,steps, SSIS packages will be there. Is this possible? Can this be done on server B without rendering it incapable of serving as the principal
    for the mirrored DBs? My fear with this option is that there may be information in the MSDB itself about the mirroring state of the DBs? Or is all that in the Master DB? Have you tried this?
    2- Right click each job, script them out, re-create them on server B... No, thank you very much. :) I am looking for an AUTOMATED, DAILY backup of the jobs and SSIS packages. Not a manual process. Yes, we do change jobs and packages quite often and doing
    the job twice on two servers is not an option.
    3- Use PowerShell.. Really? Are we going back to scripting at the command prompt like that, that fast?
    Since I fear option number 3 will be the only way to go, any hints on scripts you guys have used that you like that does what I need to do?
    Any other options?
    Any help GREATLY appreciated. :-) I can be sarcastic but I am a good guy..
    Raphael
    rferreira

    I would go with option number 3. Once  you have a script simple run it....
    param([string]$serverName,[string]$outputPath) 
    function script-SQLJobs([string]$server,[string]$outputfile) 
        [reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.Smo") | Out-Null 
        $srv = New-Object Microsoft.SqlServer.Management.Smo.Server("$server") 
        $db = New-Object Microsoft.SqlServer.Management.Smo.Database 
        $scrp = New-Object Microsoft.SqlServer.Management.Smo.Scripter($srv) 
        $scrp.Options.ScriptDrops = $FALSE 
        $scrp.Options.WithDependencies = $TRUE 
        $jobs = $srv.JobServer.get_Jobs() 
        $jobs=$jobs | Where-Object {$_.Name -notlike "sys*"}     
        foreach($job in $jobs) 
            $script=$job.Script() 
            $script >> $outputfile 
            "GO" >> $outputfile 
    ---script-SQLJobs "SQLSRV12" "C:\Jobs\test.txt" 
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Blog:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance

  • SQL Agent won't start

    Hi,
    I tried to start the SQL Agent on my SQL 2008 Server but got this error:
    TITLE: Microsoft SQL Server Management Studio
    Unable to start service SQLSERVERAGENT on server ACHSQL12. (mscorlib)
    ADDITIONAL INFORMATION:
    The SQLSERVERAGENT service on ACHSQL12 started and then stopped. (ObjectExplorer)
    BUTTONS:
    OK
    Is there anything I should check?
    Regards
    Paul

    You see the article for getting update :
    Before you can start to use FILESTREAM, you must enable FILESTREAM on the instance of the SQL Server Database Engine. Enabling/configuring FILESTREAM is a bit different from configuring other SQL features because it involves making machine wide changes
    and not only SQL instance changes. Also, FILESTREAM configuration has been changed for the February CTP to properly separate the Windows Built-in administrator and SQL administrator roles. In the November CTP, enabling/disabling FILESTREAM required Built-in
    Admin privilege. Enabling FILESTREAM is now made up of 2 admin layers:
    1-     
    The Windows configuration layer handles Windows related setup changes required for FILESTREAM. This requires built in administrator privilege. FILESTREAM settings in the SQL Configuration Manager (SQL-CM) represent this admin layer.
    2-     
    The SQL configuration layer handles the setup changes required within the boundaries of the SQL instance. The SQL Admin can now use sp_configure/RECONFIGURE to handle this FILESTREAM configuration.
    http://blogs.msdn.com/b/sqlserverstorageengine/archive/2008/03/03/filestream-configuration-and-setup-changes-in-sql-server-2008-february-ctp.aspx
    Ahsan Kabir Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. http://www.aktechforum.blogspot.com/

  • 2008R2 SQL Agent error 14258

    Hi,
    I recently enabled database mail in SQL (2008R2), setup a mail profile, set SQL Agent to use it and restarted SQL Agent.  SQL Agent starts ok but when trying to look at job properties or history I get the error:
    Error 14258: Cannot perform this operation while SQLServerAgent is starting. Try again later.
    I have checked lightweight pooling mode is not enabled and also that no databases are in recovery mode. I have also disabled database mail and unticked the SQL Agent mail option and restarted, to no avail.
    The SQL Agent service was running quite happily as an unpriveleged domain user.  The only way I have found to get SQL Agent running correctly again is to set the service to run using a domain admin account.  Running as local system gives the same
    error.
    Please can someone advise?
    Thanks,
    Edd Parsons

    Date,Source,Severity,Message
    08/19/2014 16:22:37,,Warning,[396] An idle CPU condition has not been defined - OnIdle job schedules will have no effect
    08/19/2014 16:22:37,,Error,[355] The mail system failed to initialize; check configuration settings
    08/19/2014 16:22:37,,Error,[260] Unable to start mail session (reason: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException: Mail configuration information could not be read from the database. ---> System.Data.SqlClient.SqlException: profile
    name is not valid<nl/>   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception<c/> Boolean breakConnection)<nl/>   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)<nl/>  
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior<c/> SqlCommand cmdHandler<c/> SqlDataReader dataStr)
    08/19/2014 16:22:35,,Information,[129] SQLSERVERAGENT starting under Windows NT service control
    08/19/2014 16:22:35,,Error,[364] The Messenger service has not been started - NetSend notifications will not be sent
    08/19/2014 16:22:35,,Information,[432] There are 7 subsystems in the subsystems cache
    08/19/2014 16:22:35,,Information,[339] Local computer is PLANNINGDB running Windows NT 6.1 (7601) Service Pack 1
    08/19/2014 16:22:35,,Information,[310] 2 processor(s) and 8192 MB RAM detected
    08/19/2014 16:22:35,,Information,[103] NetLib being used by driver is DBNETLIB.DLL; Local host server is
    08/19/2014 16:22:35,,Information,[102] SQL Server ODBC driver version 10.50.4000
    08/19/2014 16:22:35,,Information,[101] SQL Server PLANNINGDB version 10.50.4000 (0 connection limit)
    08/19/2014 16:22:35,,Information,[100] Microsoft SQLServerAgent version 10.50.4000.0 ((Unknown) unicode retail build) : Process ID 9840
    08/19/2014 16:22:34,,Information,[098] SQLServerAgent terminated (normally)
    08/19/2014 16:22:33,,Information,[131] SQLSERVERAGENT service stopping due to a stop request from a user<c/> process<c/> or the OS...
    08/19/2014 16:21:51,,Information,[129] SQLSERVERAGENT starting under Windows NT service control
    08/19/2014 16:21:51,,Error,[364] The Messenger service has not been started - NetSend notifications will not be sent
    08/19/2014 16:20:49,,Information,[432] There are 7 subsystems in the subsystems cache
    08/19/2014 16:20:49,,Information,[339] Local computer is PLANNINGDB running Windows NT 6.1 (7601) Service Pack 1
    08/19/2014 16:20:49,,Information,[310] 2 processor(s) and 8192 MB RAM detected
    08/19/2014 16:20:49,,Information,[103] NetLib being used by driver is DBNETLIB.DLL; Local host server is
    08/19/2014 16:20:49,,Information,[102] SQL Server ODBC driver version 10.50.4000
    08/19/2014 16:20:49,,Information,[101] SQL Server PLANNINGDB version 10.50.4000 (0 connection limit)
    08/19/2014 16:20:49,,Information,[100] Microsoft SQLServerAgent version 10.50.4000.0 ((Unknown) unicode retail build) : Process ID 4000

  • SQL Agent wont start after a SQL 2012 install

    Ive been trying for several days to install an instance of SQL 2012 on a server, but im having this problem where when the instance is created, the SQL Agent shows 'Agent XPs disabled'.  
    I have enabled this using sp_configure 'Agent XPs',1 
    But when I turn on the agent it stays on for about 30 seconds and then turns off again. (It is 2012 enterprise i am using)
    The agent service account is an administrator on the Server. I have installed SP1, but the agent keeps failing. I have installed 7 or 8 times.
    Please help!
    Thanks,
    Zoe

    That gives:
    Microsoft
    SQL
    Server 2012
    - 11.0.2100.60
    (X64)
    Feb 10 2012 19:39:15
    Copyright
    (c)
    Microsoft
    Corporation
    Enterprise
    Edition
    (64-bit)
    on
    Windows
    NT 6.1
    <X64>
    (Build
    7601:
    Service
    Pack 1)
    (Hypervisor)
    My account is a member of the admin group yes.

  • Windows update KB2964444 broke Event Logging Service and SQL Agent Service on Windows Server 2008 R2

    I got the following problem:
    I discovered that on my Windows Server 2008R2 machine the event logging stopped working on 04/May/2014 at 03:15.
    Also, SQL Agent Service won't run
    The only change that day was security
    update KB2964444 - Security
    Update for Internet Explorer 11 for Windows Server 2008 R2for x64-based Systems, that was installed exactly 04/May/2014 at 03:00. Apparently, that's what broke my machine...
    When I try to start Windows Event Log via net
    start eventlog or via Services
    panel, I get an error:
    C:\Users\Administrator>net start eventlog
    The Windows Event Log service is starting.
    The Windows Event Log service could not be started.
    A system error has occurred.
    System error 2 has occurred.
    The system cannot find the file specified.
    I tried:
    restarted the OS (virtual on the host's VMWare).
    re-checked the settings in services menu -they are like in the link.
    checked the identity in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\eventlog -
    the identity is NT
    AUTHORITY\LocalService
    gave all Authenticated Users full access to C:\Windows\System32\winevt\Logs
    ran fc /scannow - Windows Resource Protection did not find any integrity violations.
    went to the file %windir%\logs\cbs\cbs.log -
    all clean, [SR] Repairing 0 components
    EDIT: Uninstalled the recent system updates and rebooted - didn't help
    EDIT: Sysinternals Process Monitor results when running start service from services panel (procmon in elevated mode):
    filters:
    process name is svchost.exe : include
    operation contains TCP : exclude
    the events captured are:
    21:50:33.8105780 svchost.exe 772 Thread Create SUCCESS Thread ID: 6088
    21:50:33.8108848 svchost.exe 772 RegOpenKey HKLM SUCCESS Desired Access: Maximum Allowed, Granted Access: Read
    21:50:33.8109134 svchost.exe 772 RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0
    21:50:33.8109302 svchost.exe 772 RegOpenKey HKLM\System\CurrentControlSet\Services REPARSE Desired Access: Read
    21:50:33.8109497 svchost.exe 772 RegOpenKey HKLM\System\CurrentControlSet\Services SUCCESS Desired Access: Read
    21:50:33.8110051 svchost.exe 772 RegCloseKey HKLM SUCCESS
    21:50:33.8110423 svchost.exe 772 RegQueryKey HKLM\System\CurrentControlSet\services SUCCESS Query: HandleTags, HandleTags: 0x0
    21:50:33.8110705 svchost.exe 772 RegOpenKey HKLM\System\CurrentControlSet\services\eventlog SUCCESS Desired Access: Read
    21:50:33.8110923 svchost.exe 772 RegQueryKey HKLM\System\CurrentControlSet\services\eventlog SUCCESS Query: HandleTags, HandleTags: 0x0
    21:50:33.8111257 svchost.exe 772 RegOpenKey HKLM\System\CurrentControlSet\services\eventlog\Parameters SUCCESS Desired Access: Read
    21:50:33.8111547 svchost.exe 772 RegCloseKey HKLM\System\CurrentControlSet\services SUCCESS
    21:50:33.8111752 svchost.exe 772 RegCloseKey HKLM\System\CurrentControlSet\services\eventlog SUCCESS
    21:50:33.8111901 svchost.exe 772 RegQueryValue HKLM\System\CurrentControlSet\services\eventlog\Parameters\ServiceDll SUCCESS Type: REG_SZ, Length: 68, Data: %SystemRoot%\System32\wevtsvc.dll
    21:50:33.8112148 svchost.exe 772 RegCloseKey HKLM\System\CurrentControlSet\services\eventlog\Parameters SUCCESS
    21:50:33.8116552 svchost.exe 772 Thread Exit SUCCESS Thread ID: 6088, User Time: 0.0000000, Kernel Time: 0.0000000
    NOTE: previoulsy, for
    21:46:31.6130476 svchost.exe 772 RegQueryValue HKLM\System\CurrentControlSet\services\eventlog\Parameters\ServiceDll SUCCESS Type: REG_SZ, Length: 68, Data: %SystemRoot%\System32\wevtsvc.dll
    I also got NAME
    NOT FOUND error ,so I created the new string value for the Parameters with
    the name ServiceDll and
    data %SystemRoot%\System32\wevtsvc.dll (copied
    from the upper HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\eventlog key)
    and this event now is
    21:46:31.6130476 svchost.exe 772 RegQueryValue HKLM\System\CurrentControlSet\services\eventlog\Parameters\ServiceDll SUCCESS Type: REG_SZ, Length: 68, Data: %SystemRoot%\System32\wevtsvc.dll
    I also checked for the presence of wevtsvc.dll in
    the place and it's there.
    Also, I tried to capture all events with path containing 'event' and
    got following events firing every several seconds:
    21:38:38.9185226 services.exe 492 RegQueryValue HKLM\System\CurrentControlSet\services\EventSystem\Tag NAME NOT FOUND Length: 16
    21:38:38.9185513 services.exe 492 RegQueryValue HKLM\System\CurrentControlSet\services\EventSystem\DependOnGroup NAME NOT FOUND Length: 268
    21:38:38.9185938 services.exe 492 RegQueryValue HKLM\System\CurrentControlSet\services\EventSystem\Group NAME NOT FOUND Length: 268
    Also, I tried to capture all the events containing 'file',
    excluding w3wp.exe,
    chrome.exe, wmiprvse.exe, wmtoolsd.exe, System and it shows NO attempts to access any file ih the time I try to start
    the event logger (if run from cmd - there are several hits by net executable,
    not present if run from the panel).
    What can be done?

    Hi,
    I don’t found the similar issue, if you have the IE 11 please try to update system automatic or install the MS14-029 update.
    The related KB:
    MS14-029: Security update for Internet Explorer 11 for systems that do not have update 2919355 (for Windows 8.1 or Windows Server 2012 R2) or update 2929437 (for Windows 7
    SP1 or Windows Server 2008 R2 SP1) installed: May 13, 2014
    http://support.microsoft.com/kb/2961851/en-us
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • SQL Agent Job failing - not using credentials in the config file for Data source

    Hi
    We have an SSIS pkg, that is secheduled as SQL Agent job using proxy account. The pkg contanins data source for connecting different SQL servers and the proxy account do not have access to the external DBs. The data source credentials are stored in the Config
    file.
    Why the job is not using the credentials in the config file and try to use the proxy account and failing.
    Do the proxy account need access to all the external dbs in the pkg, and then what is the purpose of the config file.
    I am sorry, i am not SSIS person trying to understand. If any one can explain tha will be great!!
    Thank you!
    VR

    Please take a look at these URLs:
    Schedule a Package by using SQL Server Agent
    SSIS package does not run when called from a SQL Server Agent job step
    Cheers,
    Saeid Hasani
    Database Consultant
    Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
    [My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
    [Twitter] [Facebook] [Email]

  • Error Using New-WebServiceProxy cmdlet with SQL Agent Powershell Subsystem

    I created a powershell script to connect to SSRS via web service so I can cache reports in the database and expose them directly through our application. The script works fine when I run it through Powershell directly, but when I try running it through the
    SQL Agent Powershell subsystem I am getting a strange error:
    "A job step received an error at line 61 in a PowerShell script. The corresponding line is '$RS = New-WebServiceProxy -Class 'RS' -Namespace 'RS' -Uri $reportServerURI -UseDefaultCredential  '. Correct the script and reschedule the job. The error
    information returned by PowerShell is: 'Could not load file or assembly 'file:///C:\WINDOWS\TEMP\yfqiivtg.dll' or one of its dependencies. The system cannot find the file specified.  '.  Process Exit Code -1.  The step failed."
    I am using SQL Server 2014, SSRS 2014, Windows 8.1. The only difference I can think of is that when I run Powershell from the OS, I am using v 4.0 whereas when I run it from SQL Agent it loads v 2.0. My understanding is that v 2.0 supports the New-WebServiceProxy
    cmdlet, so I'm not convinced the version discrepancy is the culprit. Any ideas what might be causing this?
    On a side note, is there a way to have SQL Agent use Powershell 4.0 for the subsystem? v 2.0 feels a little dated for SQL Server 2014.

    Hi WilliamW,
    When creating a PowerShell job step, there is only one security context available, which is the "SQL Server Agent Service Account." That means that if you intend to execute PowerShell scripts from SQL Agent Job steps, the SQL Server Agent
    service account must have appropriate permissions.
    According to your error message, I recommend to check if the SQL Server Agent service account has access to the folder where the scripts live, as well as the folder C:\WINDOWS\TEMP.
    In addition, when we execute a PowerShell job step in SQL Server, SQL Server Agent subsystem run the sqlps utility, and the sqlps utility launches PowerShell 2.0 and imports the sqlps module. If you need to run a PowerShell v4.0 script from a SQL Server
    Agent job, you can create a proxy account to run the agent job which contains PowerShell script. For more details, please review this similar blog:
    Run a PowerShell v3 Script From a SQL Server Agent Job.
    Thanks,
    Lydia Zhang

  • How to Create a SQL Agent Job For A SSIS Package with Sql Server Authentication

    Hi ALl,
    I have a SSIS package which basically has a data flow task in which i pull the data from one server and copy it into another server and my source server is the one where i dont have windows authentication and i have to only use a sql server authentication
    . This package runs fine if i click the server connection properties type the password and save it.
    Now, my task is to set up a sql agent job which basically uses a proxy account and takes this package from the file system and runs it.But when i try to run this package, its failing with an error saying 
    "Login Failed For rpt5user" where rpt5user is the username for my sql server authentication of the source connection.
    Can someone please help me with any suggestions on how to do this?
    I have heard that we can achieve it by using xml config file which i have never used and i am trying to google around but for no luck.
    So, If someone can please throw any suggestions or ideas on this it would be great.
    Thanks

    You need to add password as a config item and set it from the file source or sql table
    see this as an example
    http://blogs.msdn.com/b/runeetv/archive/2009/12/22/ssis-package-using-sql-authentication-and-dontsavesensitive-as-protectionlevel.aspx
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Pass value from SQL agent job step

    Hi 
    I have created one SSIS package and I am scheduling the same using SQL Agent job. Now I want to pass one value from SQL job agent and want to use that value in SSIS package and then run that package.  Can someone point to the solution.
    Aniruddha http://aniruddhathengadi.blogspot.com/

    I have created one parameter on SSIS package named strValue and assigned a empty value "". After that I have created one SQL job and step wherein I have set the value to "Nike" for parameter under Parameters tab.
    Now I am expecting Nike value which I have set on SQL job step should get reflected on SSIS package when I am running my job. Am I doing anything wrong ?
    Aniruddha http://aniruddhathengadi.blogspot.com/
    Not sure what's going wrong but you can have quick look at below step by step tutorial:
    Parameterizing Connections and Values at Runtime Using SSIS Environment Variables (via SQL Agent)
    Cheers,
    Vaibhav Chaudhari

  • How to schedule SQL Agent job for XMLA script file of SSAS database instead of taking a backup.

    I want to script XMLA file instead of backup of database and also want to schedule a job for the process in SQL Agent. 
    Is there any pros and cons when I script the XMLA file of the SSAS db instead of taking a backup ? 
    Amir

    Hi Amir,
       You can take the Create SSAS database XMLA script and run the job to create the cube. The script contains the Metadata definition of the Database and it does not contain the actual data. 
    Pros: Since you are only creating an empty cube the script will run faster 
    Cons: You still need to process the created cube to use it for reports.
    Fastest option is to take the backup of the cube and restore wherever necessary.
    And you can also use TFS source control to deploy the cube and process it later.
    Regards,
    Venkata
    Venkata Koppula

  • How do I get SQL Agent to perform an FTP connection through a SSIS package?

    I have created a number of SSIS packages that I am running through SQL Agent in various jobs.  I have set up a Credential / Proxy for the job steps and for the most part everything runs no problem.  The issue I have is with the step where I make
    a connection to a FTP server and download files.  In BIDS the step works fine but in SQL Agent the step times out.  I presume that it has to do with the account that it is being run under but that is what I thought the Credential / Proxy was supposed
    to handle (as it does for all the other steps).  I am running on SQL Server 2008 R2.  I have created a test job that has only one step which is to connect to the FTP server and download some text files.  I have tried utilizing package configuration
    files and have tried various ProtectionLevels to no avail.
    Anyone have any thoughts or direction for me to take?  Will continue to research and will post if I resolve this.
    Thanks, Andrew

    On the dev environment the ProtectionLevel is set to EncryptSensitiveWithUserKey and that is what I tried first on the prod server.  Subsequently I also tried utilizing a package config file (with ProtectionLevel then of DontSaveSensitive) and have
    also tried working with the ServerStorage.
    For deployment I copied the relevant dtsx files to a solution on the prod server.  I verified that the packages all had tested connections in the Connection Manager.  I have run all the packages in the BIDS on the prod server and they all worked. 
    I have created a test package from scratch on the prod server to test the ftp connection.  This test package runs from BIDS fine.  I have set the SQL Agent file to access through the file system (no luck) and have saved the package to the SSIS Packages
    and had the job step access from there (no luck either).

Maybe you are looking for

  • Nv driver has no 3d support: What exactly am I giving up?

    I am currently running arch on a system with an nvidia graphics card using the latest proprietary driver, but I would like to know what I would be missing if I used the "nv" driver instead. I know the nv driver has no 3D support, but what exactly doe

  • How can i unlock my phone when its registered to some one eles?

    I brought the 5s about 2 weeks ago when to turn it on and use it but found out I carnt because the phone is still registered to the person I got it off. Iv tried to contact them and nothing what do I do? Can apple unlock this for me or do I jus scrap

  • Contribute won't let me publish

    I have Contribute CS4 and a Mac 10.5.8. When I open my webpage to edit, it says 'another instance' is working on the draft. When I plow ahead and make the edit changes anyway, it works fine but won't allow me to publish. When I hit publish it won't a

  • Installation of WareHouse Builder

    Hi, I need to know like installing WareHouse Builder, that I need to have installed and that it requires to work correctly. Ademas, desire to know if something manual in Spanish exists, of installation and use. Thanks.

  • Solaris unable to reboot

    Hi brother, We have Solaris 10 in T2000 which unable to reboot after apply BSM, how can I fix it? both reboot and shutdown command is no response. I need to use poweroff the shutdown the server. Pls help