The Volume Shadow Copy Service (VSS) component of Windows Server 2003 (This includes SBS 2003) coordinates the activities of providers, writers and requestors for creating and using shadow copies. During a backup operation the requestor uses VSS along with other components to define the type of backup operations in progress. Wow…sounds cool, so what does all of this mean? In a nutshell; If VSS isn’t happy…backups arent happy.
So how do I know if there is an issue with VSS anyway?
Some of the symptoms we were seeing:
- Volume snapshots fail with various errors.
- NTBackup may not perform backups using Volume Shadow Copy Service.
- Error 0x80004002: No such interface supported. When accessing the Volume Snapshots tab via the properties of a drive.
- You will also see errors and events when running NTBackup including: Error returned while creating the volume shadow copy:0xffffffff.
- May see Event ID 6013’s pointing to Source VSS.
- MSDE Writer does not show up when running VSSADMIN LIST WRITERS. Sounds important, how do I check for that???
C:\VSSADMIN LIST WRITERS <enter> WARNING: This can take a while to run!
- It will return a long list of “writers”. The one we are interested in, in this case is one labled ‘MSDEWriter’. If this is missing the fix below will not work… that involves WMSDE and osql commands….fun.
So whats the fix….
In most cases, re-registering the VSS binaries resolves the issue.
To re-register VSS binaries and services, first stop the Volume Shadow Copy Service:
- Open a command prompt and change to \windows\system32
- net stop vss
Then register the following dlls and services (be sure you’re still in the
windows\system32 directory at your command prompt):
regsvr32 /i swprv.dll
regsvr32 /i eventcls.dll
Test the backup… If the issue still remains you may want to see if COM+ could also be an issue.
How do I check COM+ integrity?
- This will open Component Services
- “+” sign next to Component Services
- “+” sign next to the “Computers folder”
- “+” sign next to the “My Computer”
- Open the four folders listed below
If they all open without error, COM+ should be good. If they don’t please see the instructions below:
Be sure the system account you are using is a member of the SQL Administrators group.
On a post SP1 Systems to Reinstall COM+
- Backup and then delete HKLM\Software\Microsoft\COM3
- Rename the C:\windows\system32\clbcatq.dll to ~clbcatq.dll. Be sure to use
- 3. Control Panel – Add or Remove Programs tool – Add/Remove Windows Components tool. Do not make any changes, just click “Next”. This reinstalls COM+.
- 4. Reboot.
If you have Windows Server 2003 SP1 files available during this step. Sometimes you will receive errors when installing, you can safely ignore them.