I get an error when creating an image from SQL Server

Gert_VlotGert_Vlot Posts: 12 Bronze 1

I get the following error when trying to create an image from SQL server instance:

Expected provider error. Check the event log for details. (VssProviderVetoException)

Log says:

2018-05-31 14:41:29.834 +02:00 [Error] An error was reported by "EOCDBS02" (AGENT, RateLimited): RaygunErrorMessage { InnerError: null, InnerErrors: null, Data: [], ClassName: "DirectoryNotFoundException", Message: "Could not find a part of the path '\\eocnap01\EOCZandbak\test1_00000042_ggk'.", StackTrace: [RaygunErrorStackTraceLineMessage { LineNumber: 253, ClassName: "System.IO.__Error", FileName: null, MethodName: "WinIOError(Int32 errorCode, String maybeFullPath)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 83, ClassName: "System.IO.Directory", FileName: null, MethodName: "Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 7, ClassName: "RedGate.SqlClone.Common.FileSystem", FileName: null, MethodName: "DeleteDirectory(String path, Boolean recursive)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 226, ClassName: "RedGate.SqlClone.Agent.Drivers.Vhd.VhdImageCreationDriver+<CreateImage>d__3", FileName: null, MethodName: "MoveNext()", Raw: null }] }
2018-05-31 14:41:30.353 +02:00 [Error] An error was reported by "EOCDBS02" (AGENT, RateLimited): RaygunErrorMessage { InnerError: null, InnerErrors: null, Data: [], ClassName: "VssProviderVetoException", Message: "Expected provider error. Check the event log for details.", StackTrace: [RaygunErrorStackTraceLineMessage { LineNumber: 66, ClassName: "(unknown)", FileName: null, MethodName: "Alphaleonis.Win32.Vss.WaitCheckAndReleaseVssAsyncOperation(IVssAsync* pAsync)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 64, ClassName: "Alphaleonis.Win32.Vss.VssBackupComponents", FileName: null, MethodName: "DoSnapshotSet()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 45, ClassName: "RedGate.SqlClone.Core.ShadowCopy.VssBackupComponents", FileName: null, MethodName: "SnapshotVolumes(IEnumerable`1 volumes)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 345, ClassName: "RedGate.SqlClone.Core.ShadowCopy.ImageWriterFromVssSnapshot+<>c__DisplayClass10_0", FileName: null, MethodName: "<WriteImageContents>b__0()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 16, ClassName: "System.Threading.Tasks.Task", FileName: null, MethodName: "Execute()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 38, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "ThrowForNonSuccess(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 40, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "HandleNonSuccessAndDebuggerNotification(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 241, ClassName: "RedGate.SqlClone.Core.Sql.ImageWriterWithScriptRunning+<WriteImageContents>d__12", FileName: null, MethodName: "MoveNext()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 38, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "ThrowForNonSuccess(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 40, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "HandleNonSuccessAndDebuggerNotification(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 131, ClassName: "RedGate.SqlClone.Core.ImageTools.ImageWithJsonMetadata+<WriteImageContents>d__7", FileName: null, MethodName: "MoveNext()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 38, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "ThrowForNonSuccess(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 40, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "HandleNonSuccessAndDebuggerNotification(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 346, ClassName: "RedGate.SqlClone.Core.Vhd.VhdImage+<WriteImage>d__6", FileName: null, MethodName: "MoveNext()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 38, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "ThrowForNonSuccess(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 40, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "HandleNonSuccessAndDebuggerNotification(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 451, ClassName: "RedGate.SqlClone.Core.Vhd.VhdImage+<>c__DisplayClass5_0+<<TakeImage>b__0>d", FileName: null, MethodName: "MoveNext()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 38, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "ThrowForNonSuccess(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 40, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "HandleNonSuccessAndDebuggerNotification(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 267, ClassName: "RedGate.SqlClone.Agent.Drivers.Vhd.VhdImageCreationDriver+<CreateImage>d__3", FileName: null, MethodName: "MoveNext()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 38, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "ThrowForNonSuccess(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 40, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "HandleNonSuccessAndDebuggerNotification(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 710, ClassName: "RedGate.SqlClone.Agent.Drivers.ImageDriver+<CreateImage>d__4", FileName: null, MethodName: "MoveNext()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 38, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "ThrowForNonSuccess(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 40, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "HandleNonSuccessAndDebuggerNotification(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 601, ClassName: "RedGate.SqlClone.Agent.AgentImageService+<CreateImage>d__6", FileName: null, MethodName: "MoveNext()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 853, ClassName: "RedGate.SqlClone.Agent.AgentImageService+<CreateImage>d__6", FileName: null, MethodName: "MoveNext()", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 38, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "ThrowForNonSuccess(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 40, ClassName: "System.Runtime.CompilerServices.TaskAwaiter", FileName: null, MethodName: "HandleNonSuccessAndDebuggerNotification(Task task)", Raw: null }, RaygunErrorStackTraceLineMessage { LineNumber: 384, ClassName: "RedGate.SqlClone.Agent.OperationContext.OperationLifetimeManager+<Run>d__4", FileName: null, MethodName: "MoveNext()", Raw: null }] }

Tagged:

Best Answer

  • owen.hallowen.hall Posts: 56 Silver 4
    Accepted Answer
    Hi Gert,

    We've made a change to how we use VSS in our latest release (2.6.3). It might be worth retrying with that version - let us know if that doesn't help!

    Owen
    Software Engineer
    Redgate Software

Answers

Sign In or Register to comment.