I've had issues where MC wasn't shutting down cleanly when launched through Automation. Next time you are ready to try the 2nd run to see if it bombs, check your task manager just prior and see whether MediaJukebox.exe is in there.
Since .Net has a different memory management scheme than COM, you may need to tinker with the release and shutdown stuff.
Oops...Not sure why that last message posted before I had
a chance to edit it.
Good idea about the task manager. MCIO doesn't need to
unload and reload MC, and I expected that MC's direct access method would also use the currently loaded MC instance.
Yeah, it's difficult to tell when .NET gives back references,
and I thought that could be part of it. But I also tried waiting
a while to give the mem manager time to clean up.
It would be nice to have an actual MediaCenter .NET assembly
rather than a wrapper around the COM object.
to