Solved

Db restore failed

Posted on 2008-06-20
3
701 Views
Last Modified: 2009-03-27
Hi
I'm trying to restore a db from backup.

When I just tried, I got this message: "failed with the operating system error 21(The device is not ready.). (Microsoft.SqlServer.Smo)"

I restored a db without problems yesterday.

One thing that's changed is my PC's name, which changed that yesterday because of a conflict on the network.

Any idea what the problem is?

Thanks.
Co
0
Comment
Question by:Leprechaun
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 13

Expert Comment

by:rickchild
ID: 21832447
Sounds like you may have answered your own question, the change in PC name could have affected this, particularly if the backup is on the network.

Are you restoring from File or from Backup Device?
0
 
LVL 13

Accepted Solution

by:
rickchild earned 250 total points
ID: 21832475
See here:  http://www.sqlservercentral.com/Forums/Topic361087-357-1.aspx

By default it will try to restore to the last path, change this in Options Tab under Restore As.
0
 
LVL 15

Expert Comment

by:jorge_toriz
ID: 21913073
Verify if sql server has access to the physical path of this query:

RESTORE FILELISTONLY
FROM DISK = 'C:\YourBackup.bak'
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled task…
INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question