locked
Cancelling a job may end in an exception being thrown. RRS feed

  • Question

  • I get the following if I (try to) cancel a long running task:

     

    ---------------------------
    Admin Console
    ---------------------------
    The constructor to deserialize an object of type 'Microsoft.Hpc.Scheduler.Properties.SchedulerException' was not found.
    ---------------------------
    OK  
    ---------------------------


     

    The task is the well known compute intensive script:

    Code Snippet

    :Wait
    ECHO.%DATE% %TIME%
    GOTO :Wait

     

    I ran this in the console and tried cancelling it.

     

    a. It wasn't cancelled

    b. I got the above exception.

     

    NOTE: This is NOT 100% reproducible (sometimes it actually gets cancelled )

     

    I also got the following, but not managed to reproduce it (yet):

     

    ---------------------------
    Admin Console
    ---------------------------
    The given key was not present in the dictionary.
    ---------------------------
    OK  
    ---------------------------

    Tuesday, April 22, 2008 9:22 AM

Answers