locked
Not able to create scheduled task in windows server 2003 using a batch file RRS feed

  • Question

  • Hi,

    I am working on a .net 1.1 windows forms application. We have windows 2003 service pack 2 as the server operating system which uses IIS 6.0.

    We have a report generation section. User submits report from the screen(c# code) to run report on a specified time. This request will create a batch file with the AT command with the time specified by the user. This batch file will create an AT job in scheduled tasks window and this AT job will a call another scheduler. This scheduler will generate the report.

    the AT command looks like T 16:32 /INTERACTIVE C:\Inetpub\wwwroot\mywebservices\bin\Schedulers.GenerateReport.exe

     

    This is working fine in all servers except one server which uses windows 2003 standard edition. The problem is like it is not able to create the batch file and subsequently fails to create the AT job.

    Is there any permission related issue by which it is not able to create the batch file from code.

    Please advice me!!!

    • Moved by Mike Dos Zhang Tuesday, October 26, 2010 10:20 AM server2003 system topic (From:Visual C# General)
    Friday, October 22, 2010 3:59 PM

Answers