Thanks for the Reply. I've been working on the application again and have been running into a problem actually launching the application. The job executes and I no longer receive a return code error, which I was receiving yesterday. I moved from the 1385 error to the 1314 error. I receive neither of these now. I've added all the users I could think of to both the Logon as batch job and the Act as operating system security policies. I added my own username, the Local Service, the SERVICE, and SYSTEM. Now I am receiving the following information once the job is run: "Process finished with exit code 3762507597" A quick search of the forums for the this code shows now one has had it before. A search of Google shows that it comes up with someone trying to do some work in Exchange 2003 with C#. This is not the case for me. I have commented ALL of the code out of my application at this point except for a very basic call to write out a string to a text file. The job executes, sends me an email that is has started, and then sends and email that it has finished. When I check the job log, I find that statement about the exit code. Does anyone have ideas of what I should look into? Thanks very much for the help, Seth : You almost made it. Error 1385 indicated that the user for the process had : not been granted "logon as a batch job". Now the user has this : privilege. : Current error 1314 indicates that the either : 1. The scheduler is able to logon the user, but then it is unable to start : the specified process using that user's account. My guess is the specified : process and files/directories are owned by you, not by the user whom you : want to run the process. : 2. The scheduler is still unable to logon the user because the scheduler : account has not been granted "act as part of the operation : system" privilege. My guess in this case you granted the required : privileges but didn't restart (or logoff/logon) the computer after the : change.
|