Re: SQL Agent Job CmdExec - .net Console Exe Fails



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
application exe.
[quoted text clipped - 12 lines]
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

.



Relevant Pages

  • Re: asp.net assemblies over UNC network shares
    ... the asp machine account will need to be a domain account in order to have ... | Parser Error Message: ... I also setup file system auditing on the cluster ...
    (microsoft.public.dotnet.framework.aspnet)
  • Win2k LogOn: Explorer.exe breakdown Event-ID 1002
    ... I've got a very strange problem. ... with a my domain account I've got an error message that the explorer ... my domain login but that haven't got any effect. ...
    (microsoft.public.win2000.general)
  • RE: New users cant receive external email.
    ... user's domain account? ... Microsoft Online Support Engineer ... >internet users. ... See error message ...
    (microsoft.public.windows.server.sbs)
  • Re: User unable to browse XP desktop features
    ... I can log on to the user computer with any domain account and browse freely. ... with his account I receive the previous error message. ... >> been working fine until they experienced clicking on control panel ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Deploy Outlook 2003
    ... 204 is not a windows error message so it is very difficult to say anything. ... Can you please enable msi logging (by putting something like /l*v ... I have found an error message in SMS 2003 server ... A failure exit code of -204 was returned. ...
    (microsoft.public.sms.swdist)