Re: SQL Agent Job CmdExec - .net Console Exe Fails
- From: "balajikkrishnan via SQLMonster.com" <u5178@uwe>
- Date: Thu, 21 May 2009 08:51:23 GMT
When I change it my Domain account, the error message is
Executed as user: TYPR\jk. The step did not generate any output. Process
Exit Code 0. The step failed.
Erland Sommarskog wrote:
I am trying to schedule a SQL Agent Job to execute my console[quoted text clipped - 12 lines]
application exe.
Executed as user: MyServer\SYSTEM. Unhandled Exception: System.Net.
WebException: The request failed with HTTP status 401: Unauthorized.
Judging from the error message there is an authorisation message.
Which is the service account for SQL Server Agent? Seems like it's running
as LocalSystem. Try changing it to a domain account.
--
Message posted via http://www.sqlmonster.com
.
- Follow-Ups:
- Re: SQL Agent Job CmdExec - .net Console Exe Fails
- From: Erland Sommarskog
- Re: SQL Agent Job CmdExec - .net Console Exe Fails
- References:
- SQL Agent Job CmdExec - .net Console Exe Fails
- From: balajikkrishnan via SQLMonster.com
- Re: SQL Agent Job CmdExec - .net Console Exe Fails
- From: Erland Sommarskog
- SQL Agent Job CmdExec - .net Console Exe Fails
- Prev by Date: Re: Trigger not updating in all conditions
- Next by Date: finding total to end of last time period
- Previous by thread: Re: SQL Agent Job CmdExec - .net Console Exe Fails
- Next by thread: Re: SQL Agent Job CmdExec - .net Console Exe Fails
- Index(es):
Relevant Pages
|