Quantcast
Channel: Questions in topic: "sql-agent"
Browsing all 80 articles
Browse latest View live

Sql Server agent job failed with error msg14624

Hello all,there was a scheduled job in sql server 2005 which started failing from last few days.the msg is as shown: Executed as user: Job_Agent. At least one of the following parameters must be...

View Article


Sql server agent to look for files

Is there a way to create a sql server agent job where the program will keep looking for a directory to find certain files and if the files are found then move to the next job? I guess I’m looking...

View Article


Batch file in sql server agent

Is it possible to run a batch file from sql server agent without using `xp_cmdshell`? I have tried using cmd.exe /c "c:\filename.bat" but it doesn't work.

View Article

XP_fileexists to check files and start a job in agent

Is there a way to use the xp_fileexists to check for files and then start a sql job in agent? I’m running a batch file in agent. Everyday our service department sends us flat files usually before 8pm...

View Article

Run job in agent based on table

Is there a way to start a sql agent job if the table is not empty? Basically, first I want to check a table and if the table is not empty then start the job and if it is empty then check every 1 hour...

View Article


Who stopped (canceled) my SQL Server Agent Job?

Dear All, in my job (step) history a can see the following statement: ***"Executed as user: XX\\yyyy. The step was cancelled (stopped) as the result of a stop job request."*** Is there a way to find...

View Article

If we change Agent Job routine in DBA Task? Pros or Cons?

In My production Server, There is Agent Job routine **Backup Database Task-->Check Database Integrity task-->Rebuild index task-->Shrink Database Task-->Update Statistics Task.** Each Task...

View Article

sql server Agent Job issue

I create one job to perform some task. I configered well and its schudelued well and good. The problem is the job not doing its work but am not getting any earrors related to that job, its agent...

View Article


how to find child PID in sql server

i have sql agent job running which launch an .exe file when i checked it is waiting with PREEMPTIVE_OS_PIPEOPS, if i stop it job will be stopping but in background this spid keeps running, i took the...

View Article


SSIS job fail due to ADO NET Source has failed to acquire the connection

Hello, I have an SQL server 2012 SSIS package that runs fine in Visual Studios (BIDS) but when I try to schedule it in SQL Agent Service Job, I get the following error: Description: ADO NET Source has...

View Article

SQL Agent Job Fails in the middle of the job

I have an agent job that normally runs weekly on a scheduled time and it usually runs without any problem. I ran the same job twice manually by right clicking the job and clicked “start job” but both...

View Article

SQL Server Agent will not start

My problem started with a broke logon trigger. When I went to sqlcmd and did the disable and logged back in the agent would not start again. I have done a repair of the SQL server installation. I have...

View Article

Procedure Hangs from SQL Agent Job, Same Proc Runs fine in SSMS 2008 R2...

Hello, I have a Linked server to another SQL Server 2008 R2, and a stored procedure which executes queries utilizing both the local server and the linked server. When the procedure executes from a step...

View Article


Growing working set and private bytes for sqlserver and sql agent

We have SQL Server 2012 Standard SP1 to be used by sharePoint 2013. We are monitoring working set and private bytes for SQL server and sql agent. It is increasing everyday by few MBs. I suspect in few...

View Article

SQLExpress 2012 SP2 issues

I installed SQLExpress 2012 with advanced services on my new Win 8.1 laptop. Since windows update is allowed to update all microsoft products, SP2 was installed also. After the update, i noticed 2...

View Article


Unable to start SQL Agent

Hi All, When i try to start my agent services, I am getting This error. please help me, ERROR Details: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this...

View Article

Where does SQL server store job failure error messages?

I have a job that inserts records in 10 tables every day at 10 pm. However, if any insertion in any table fails the job stops. I want to know what is the cause of failure. Where does SQL server store...

View Article


Why can I use the cmd.exe on a vbs file but not a bat file?

I am using SQL 2008 R2 on Server A. In a SQL job, I set the following command to execute on a different server. **cmd.exe /c "\\\\mchsbiess01p\\Scripts\\Test\\TestEmailUtility.vbs"** with success. when...

View Article

SQL Procedure working when run manually, not running from sql server agent

I have a procedure that runs fine using the execute command in SSMS, however putting the same command in a job gives the following error.> line 9, character 9, unexpected end of input The code takes...

View Article

Sql Server agent job failed with error msg14624

Hello all,there was a scheduled job in sql server 2005 which started failing from last few days.the msg is as shown: Executed as user: Job_Agent. At least one of the following parameters must be...

View Article
Browsing all 80 articles
Browse latest View live