1
Vote

Long running command line tasks fail

description

I created a class in my module to expose a long running operation through the Orchard command line. When I run it, it runs for a while, maybe 10 minutes (I didn't time it, just guessing), and then fails with this error:

Initializing Orchard session. (This might take a few seconds...)
Error:
Exception has been thrown by the target of an invocation.
Object '/db055eba_e5b5_4cdf_8282_6db50c45acde/cy3jiywg74cbsea83jhh38pi_12.rem' has been disconnected or does not exist at the server.

comments