Jump to content

grayson

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by grayson

  1. vikpaw. Great idea. I am running my app from the task schedule so my entry in the task scheduler is c:\mydirectory\app.exe. Inside app.exe it then runs the command line with commandreporter and the relevant params. I can try and take the line from my code with the parameters and just run it with commandreporter like you have and at least see if that works. I also don't have /servername\ /databasename:sims in my command line parameters. will try that too. Not quite sure about the servername/instance syntax but will dig a little more to learn. Thanks again.
  2. vikpaw Thanks for your thoughts. I am installing the app and running the task scheduler under an Administrator account with full privileges so I don't think that is the problem, but I will look again. I've checked the error logs and no error is shown. I am 95% sure it is an issue with .NET and command line arguments with spaces and the use of quotation marks.
  3. Hi, Apologies if I miss any rules, this is my first post. I have written a console app in .NET which calls creates a param file and calls CommandReporter with it and it works perfectly pulling out the reports in to XML. However, when I run the app via Task Scheduler it breaks every time trying to run CommandReporter. Are any known issues with this? Thanks
×
×
  • Create New...