Home | Contact | Index | SenSource, Inc.
Guides | How To | Errors | Troubleshoot | FAQ | Glossary Search Start Searching...
Home > Home > Errors > SQL Server: Operating System Error 5 (Access Denied)

SQL Server: Operating System Error 5 (Access Denied)

Last Updated: 3/19/2010 9:32:58 AM

Symptom
While trying to restore a .bak file from one SQL server to another, you receive the following error:
Cannot open backup device 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup\backup.bak'. Operating system error 5(access denied). RESTORE HEADER ONLY is terminating abnormally. (Microsoft SQL Server, Error: 3201)
 
Cause
The SQL Configuration Manager cannot log in due to shared permissions issue under the executed backup account.
 
Resolution
  1. Open SQL Configuration Manager
  2. Right-click on the database instance (typically SQL Server: SRVMGRENT) and select Properties from the pop-up menu.
  3. On the Log On tab, change Built-in account to Local System.
  4. Click the OK button.
 
Guides | How To | Errors | Troubleshoot | FAQ | Glossary | Contact | Index | SenSource, Inc.
© 2010 SenSource, Inc. All Rights Reserved. 3890 Oakwood Ave. Youngstown, OH 44515