There may be instances in which the system reports a VSS SqlServerWriter error. These instances are listed below.
Sample error:
One or more errors occurred. ---> Replay.Core.Contracts.Transfer.VssGeneralErrorException: There was a problem with the VSS subsystem on '(agent-machine)l'. ---> Replay.Agent.Contracts.ShadowCopy.ShadowCopyWriterFailedException: The VSS writer 'SqlServerWriter' failed during the 'DoSnapshotSet' phase with error WriterErrorNonRetryable. The VSS writer state is FailedAtPrepareSnapshot ---> Replay.Common.Contracts.ReplayException
In Application event logs on Agent Machine:
Event 8229
A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error. If the backup process is retried, the error is likely to reoccur.
Solution 1:
Ensure that the SQL Server instances have access to the Windows account, either explicitly or through group membership of BUILTIN\Administrators.
Once that granted, complete the following steps.
Note: You may use any Windows account that must have an account created as a user with sysadmin level rights to the databases within the sql server. To be certain, login to the sql server using the Windows account to verify ability to access the sql server.
Solution 2:
Restart the following services to reset the VSS writer status (in this specific order):
At an elevated command prompt, complete the following steps:
If the snapshot fails at:
Name: SqlServerWriter
State: VSS_WS_FAILED_AT_PREPARE_SNAPSHOT
Reboot the SQL Server.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center