Trying to use a third party backup solution to backup our SQL databases using VSS but it has not been successfull because we're experiencing vss issues. When running "vssadmin list writers" the 'SqlServerWriter' fails:
Writer name: 'SqlServerWriter'
Writer Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
Writer Instance Id: {548b4a35-35fa-4f2f-b8c6-f5a285f696db}
State: [8] Failed
Last error: Non-retryable error
When looking the event viewer for VSS errors i see two repeatedly.
1. Event ID 8193
Volume Shadow Copy Service error: Unexpected error calling routine RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...). hr = 0x80070005, Access is denied.
.
Operation:
Initializing Writer
Context:
Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
Writer Name: System Writer
Writer Instance ID: {e0c429a2-971e-491d-ad9c-3df3f8cb6ddc}
2. Event ID 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.
. Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer.
Operation:
PrepareForSnapshot Event
Context:
Execution Context: Writer
Writer Class Id: {a65faa63-5ea8-4ebc-9dbd-a0c4db26912a}
Writer Name: SqlServerWriter
Writer Instance Name: SQL Server Code-Named 'Denali' CTP2:SQLWriter
Writer Instance ID: {548b4a35-35fa-4f2f-b8c6-f5a285f696db}
Command Line: "C:\Program Files\Microsoft SQL Server\90\Shared\sqlwriter.exe"
Process ID: 1852
After contacting the vendor of the backup solution, they pointed out that those are the cause of the backups failing. So far I've tried restarting the "volume shadow copy service" and the "SQL Server VSS Writer" but hasn't worked. Also I
tried to re-register the VSS service buy running the script below but still no luck
cd /d %windir%\system32
net stop vss
net stop swprv
regsvr32 /s ole32.dll
regsvr32 /s oleaut32.dll
regsvr32 /s vss_ps.dll
vssvc /register
regsvr32 /s /i swprv.dll
regsvr32 /s /i eventcls.dll
regsvr32 /s es.dll
regsvr32 /s stdprov.dll
regsvr32 /s vssui.dll
regsvr32 /s msxml.dll
regsvr32 /s msxml3.dll
regsvr32 /s msxml4.dll
vssvc /register
net start swprv
net start vss
They mentioned that the server may need a reboot to resolve the issue but if there are any other suggestions I can try that will fix this I would like to know.