2019-11-19 11:49:41.564 +01:00 [Information] SQL Clone Agent version: 4.0.2.19054, machine name:XXX
2019-11-19 11:49:41.564 +01:00 [Information] CreateImageRequestEvent (image name: Operation 106803 started
2019-11-19 11:49:42.845 +01:00 [Information] Directory not found when deleting L:\ assuming it was already deleted
2019-11-19 11:49:43.033 +01:00 [Error] CreateImageRequestEvent (image name: "XXX") Operation 106803 failed with general exception
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at RedGate.SqlClone.Core.StorageApi.WmiStorageSession.GetDisk(DiskImage diskImage)
at RedGate.SqlClone.Core.VirtualDisk.WmiDiskImageService.<>c__DisplayClass11_0.<CreateDiskImageAndMount>b__0(IWmiStorageSession session)
at RedGate.SqlClone.Core.VirtualDisk.WmiDiskImageService.RunInsideSession(CancellationToken ct, Action`1 runAction)
at RedGate.SqlClone.Core.VirtualDisk.WmiDiskImageService.CreateDiskImageAndMount(String diskImagePath, UInt64 requiredSpaceInBytes, UInt64 requestedVirtualSize, String mountPath, CancellationToken ct)
at RedGate.SqlClone.Core.Vhd.VhdImage.<>c__DisplayClass5_0.<<TakeImage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.Drivers.Vhd.VhdImageCreationDriver.<CreateImage>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.Drivers.ImageDriver.<CreateImage>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.AgentImageService.<CreateImage>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at RedGate.SqlClone.Agent.AgentImageService.<CreateImage>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.AgentListener.<Process>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.OperationContext.OperationLifetimeManager.<Run>d__5.MoveNext()
2019-11-19 11:49:41.564 +01:00 [Information] CreateImageRequestEvent (image name: Operation 106803 started
2019-11-19 11:49:42.845 +01:00 [Information] Directory not found when deleting L:\ assuming it was already deleted
2019-11-19 11:49:43.033 +01:00 [Error] CreateImageRequestEvent (image name: "XXX") Operation 106803 failed with general exception
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at RedGate.SqlClone.Core.StorageApi.WmiStorageSession.GetDisk(DiskImage diskImage)
at RedGate.SqlClone.Core.VirtualDisk.WmiDiskImageService.<>c__DisplayClass11_0.<CreateDiskImageAndMount>b__0(IWmiStorageSession session)
at RedGate.SqlClone.Core.VirtualDisk.WmiDiskImageService.RunInsideSession(CancellationToken ct, Action`1 runAction)
at RedGate.SqlClone.Core.VirtualDisk.WmiDiskImageService.CreateDiskImageAndMount(String diskImagePath, UInt64 requiredSpaceInBytes, UInt64 requestedVirtualSize, String mountPath, CancellationToken ct)
at RedGate.SqlClone.Core.Vhd.VhdImage.<>c__DisplayClass5_0.<<TakeImage>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.Drivers.Vhd.VhdImageCreationDriver.<CreateImage>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.Drivers.ImageDriver.<CreateImage>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.AgentImageService.<CreateImage>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at RedGate.SqlClone.Agent.AgentImageService.<CreateImage>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.AgentListener.<Process>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RedGate.SqlClone.Agent.OperationContext.OperationLifetimeManager.<Run>d__5.MoveNext()