How To Fix A Backup Error In A Windows Xp Server On A Windows 7.5.1 (Windows) On A Pc Or Mac Xp (Windows 7) On An Uniden Computer (Windows 8) On Your Computer Or Your Computer (For



Similar documents
Video Administration Backup and Restore Procedures

DSS Support Backup / Restore DSS Databases using Windows Backup Windows XP Windows 2003 Server

1. CONFIGURING REMOTE ACCESS TO SQL SERVER EXPRESS

If you have questions or need assistance, contact PCS Technical Services using the contact information on page 10.

How To Upgrade Your Microsoft SQL Server for Accounting CS Version

BSDI Advanced Fitness & Wellness Software

BSDI Advanced Fitness & Wellness Software

QUANTIFY INSTALLATION GUIDE

InformationNOW SQL 2005 Database Backup and Restoration

SQL Server Setup for Assistant/Pro applications Compliance Information Systems

Technical Bulletin. SQL Express Backup Utility

Server Installation: ServerTools

Error: "Object reference not set to an instance of an object" When Opening Any Database

Moving a Romexis Database to an Existing SQL Instance

SELF SERVICE RESET PASSWORD MANAGEMENT BACKUP GUIDE

Configuring Your Firewall for Client Access in Professional Edition

How to Set Up a Shared SQL Express Database with ManagePro 7 Standard version

Restoring Sage Data Sage 200

FaxCore 2007 Application-Database Backup & Restore Guide :: Microsoft SQL 2005 Edition

TM Online Storage: StorageSync

1. Set Daylight Savings Time Create Migrator Account Assign Migrator Account to Administrator group... 4

How to Backup and FTP your SQL database using E2.

ilaw Server Migration Guide

NAS 206 Using NAS with Windows Active Directory

SonicWALL CDP 5.0 Microsoft Exchange InfoStore Backup and Restore

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

Migrating MSDE to Microsoft SQL 2008 R2 Express

Upgrade Guide BES12. Version 12.1

Enabling Backups for Windows and MAC OS X

Upgrading from MSDE to SQL Server 2005 Express Edition with Advanced Services SP2

AVALANCHE MC 5.3 AND DATABASE MANAGEMENT SYSTEMS

MANAGING OUTLOOK PERSONAL DATA FILES

Security Guidelines for MapInfo Discovery 1.1

Backup / migration of a Coffalyser.Net database

Scala InfoChannel Content Manager 5 Backup and Restore Instructions

Moving the Web Security Log Database

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

DigiVault Online Backup Manager. Microsoft SQL Server Backup/Restore Guide

Troubleshooting Guide. 2.2 Click the Tools menu on Windows Explorer 2.3 Click Folder Options. This will open a dialog box:

HELP DOCUMENTATION E-SSOM BACKUP AND RESTORE GUIDE

Diver-Office Backup and Restore the Database

Integrating LANGuardian with Active Directory

Installation Instruction STATISTICA Enterprise Small Business

9. Database Management Utility

E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide. E-Notebook SQL 12.0 Desktop Database Migration and Upgrade Guide

InformationNOW SQL 2008 Database Backup and Restoration

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

5.6.2 Optional Lab: Restore Points in Windows Vista

Backup/Restore Microsoft SQL Server 7.0 / 2000 / 2005 / 2008

Changing Your Cameleon Server IP

webkpi SaaS ETL Connector Installation & Configuration Guide

GO!NotifyLink. Database Maintenance. GO!NotifyLink Database Maintenance 1

Creating and Sharing Contact Groups in Outlook Client

Lenovo Online Data Backup User Guide Version

Administrator s Plus. Backup Process. A Get Started Guide

Windows XP Exchange Client Installation Instructions

3 Setting up Databases on a Microsoft SQL 7.0 Server

Microsoft SQL Replication

Xactimate v.27 Network Installation

MONAHRQ Installation Permissions Guide. Version 2.0.4

SonicWALL CDP 5.0 Microsoft Exchange User Mailbox Backup and Restore

Active Directory Integration

Using the GroupWise Client

Document Management Quick Reference Guide

How to Back Up and Restore an ACT! Database Answer ID 19211

TestElite - Troubleshooting

Migrating Mobile Security for Enterprise (TMMS) 8.0 to version 9.0

Lab: Data Backup and Recovery in Windows XP

RDS Online Backup Suite v5.1 Brick-Level Exchange Backup

Copyright 2011 DataNet Quality Systems. All rights reserved. Printed in U.S.A. WinSPC is a registered trademarks of DataNet Quality Systems.

Xythos on Demand Quick Start Guide For Xythos Drive

Rentavault Online Backup. MS Exchange Mail Level Backup

Enterprise Vault Instructions for Saving Items from an archive restored to a secondary mailbox in Microsoft Outlook

Installation instructions for MERLIN Dashboard

Migrating Trend Micro Mobile Security for Enterprise (TMMS) 8.0 to TMMS 9.0

MS SQL Server Database Management

Installation Instruction STATISTICA Enterprise Server

Montefiore Portal Quick Reference Guide

Synchronizer Installation

Databoks Remote Backup. MS Exchange Mail Level Backup

Common Backup Issues

SourceAnywhere Service Configurator can be launched from Start -> All Programs -> Dynamsoft SourceAnywhere Server.

Velocity Database Migration Guide

Setting up Sharp MX-Color Imagers for Inbound Fax Routing to or Network Folder

ECA IIS Instructions. January 2005

Sophos Enterprise Console server to server migration guide. Product version: 5.2

If a database is using the Simple Recovery Model, only full and differential backups of the database can be taken.

Remote Storage Area (RSA) Basics

Database Backup and Restore Instructions. Version 6.5. Instructions

Sitecore Ecommerce Enterprise Edition Installation Guide Installation guide for administrators and developers

Optional Lab: Data Backup and Recovery in Windows 7

How to Copy A SQL Database SQL Server Express (Making a History Company)

Rx Medical. SMD Utility. Task Scheduler Configuration

Database Operations (Backup/Restore/Move/Manage) Technical Support Engineering Rosslare Security NA For more information please see

Solcon Online Backup. MS Exchange Mail Level Backup

Moving the TRITON Reporting Databases

STATISTICA VERSION 11 CONCURRENT NETWORK LICENSE WITH BORROWING INSTALLATION INSTRUCTIONS

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

4cast Server Specification and Installation

Transcription:

Resolving errors when restoring databases Problem: User receives an Unhandled Exception Error when attempting to restore a database. This error is usually caused by one of three issues. If the Exception Error states: Cannot open backup device it is typically because either: 1) the user has insufficient folder permissions or 2) there is a conflict when running SQL Server as a network service. To fix this error follow the instructions for Setting user permissions to access Microsoft SQL Server folders and Setting SQL Server to run as a Local Service. NOTE: Often the easiest resolution for this error is to move the backup file to a thumb drive/flash drive and restore the database from the drive. If you want to delve deeper into resolving the issue you can continue working through the sections listed above. If the Exception Error states the: database is in use it is because a database of the same name already exists. To fix the error follow the instructions for Deleting a Database. Page 1 of 11

Setting user permissions to access Microsoft SQL Server folders As the agencies have stepped up computer security they have limited the access you have to the C:\Programs Files folder when not logged in as an administrator. The Program Files folder is where your databases and backups are stored so for you to be able to access them when logged in using your Windows login account (not the administrator account you have when granted Administrative Privileges) you need to set the permissions for your user name to access the subfolders in the C:\Program Files\Microsoft SQL Server folder. Open Windows Explorer or My Computer and navigate to the SQL Server programs location. The location will be generally found at C:\Program Files\Microsoft SQL Server\ 1. Login to Windows as an administrator (i.e. with administrative privileges). 2. In Windows Explorer or My Computer, navigate to the folder C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL 3. You need to set permissions for the MSSQL folder for your username so you can access the subfolders. 4. Right-click the MSSQL folder and select Properties. Look for the Security tab. If you see the Security tab, select it and proceeded to step 5. a. If you do not see the Security tab, you will need to turn off Simple Sharing. In Windows Explorer, highlight the FFI folder and select Tools > Folder Options. Page 2 of 11

b. In the Folder Options dialog, switch to the View tab. c. Scroll down the list of Advanced Settings and uncheck Use simple file sharing d. Click OK. e. Return to the Properties dialog for the folder as described above. 5. Click Add on the Security tab. Page 3 of 11

6. In the Select Users, Computers or Groups window, type your Windows username in the window entitled Enter the object names to select and click Check Names. 7. If you entered a valid username the format will change. Click OK. 8. On the Security tab, highlight your user name in the list, check to Allow, Full Control. Click OK. Page 4 of 11

9. In most cases this permission setting will automatically cascade down to the subfolders but you should check to make sure your user name has Full Control to the Backup, Data and Log folders. For each of those three folders right-click the folder name, select Properties, click the Security tab and, if not checked, check the Full Control box. 10. Now, check to be sure SQL Server has Full Control of the Backup, Data and Log folders: a. Right click the folder b. Click Properties c. Select the Security tab d. Click the SQLServer2005MSSQLUser instance group e. Click the allow Full Control checkbox f. Click OK. NOTE: When trouble shooting SQL Server, you may want to refer to the online articles published by Microsoft including Setting Up Windows Service Accounts found at: http://msdn.microsoft.com/enus/library/ms143504.aspx. If this link doesn t work search msdn.microsoft.com for SQL Setting Up Windows Service Accounts. 11. Finally, check to make sure the file you are trying to restore has inherited the permissions. If it is not already there, move the backup file (.bak) file you are trying to restore into the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup folder. Page 5 of 11

12. Right-click on the backup file name and select Properties, click the Security tab, click Advanced 13. Check the box that says Inherit from parent the permissions entries Click OK. 14. Close the Properties windows and attempt the restore procedure again in FFI Database Administration. Page 6 of 11

Setting SQL Server to run as a Local Service 1. Open Administrative Tools from Windows Control Panel. 2. Double-click on Services. Page 7 of 11

3. Click on the SQL Server instance name once to highlight it. 4. Right-click and select Properties. Page 8 of 11

5. Click the Log On tab, click the Local System account radio button and click OK. 6. If SQL Server does not automatically close and restart then right-click on the SQL Server instance, select Restart 7. Close the Properties windows and attempt the restore procedure again in FFI Database Administration. Page 9 of 11

Deleting a Database SQL Server will not allow you restore a database when another database of the same name already exists in the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data folder 1. Make a backup of your database by logging into FFI Database Administration and selecting Database>Backup Database. NOTE: Even if you don t think the old database is need it is recommended that you make a backup. Remember a deleted database cannot be restored (i.e., gone forever) but a backed up database can be restored. See the Backing up a Database and Restoring a Database section of the FFI User Guide for more information. Page 10 of 11

2. Delete the old database by highlighting it in the directory tree and selecting Server > Delete Database. 3. Carefully consider the consequences of deleting the database before clicking OK. 4. Attempt the restore procedure again in FFI Database Administration. Page 11 of 11