Solved

Trying to restore 2008 SQL Server Backup file to SQL Server 2012?

Posted on 2014-07-30
4
316 Views
Last Modified: 2014-08-06
I have a SQL Server 2008 .Bak file on a flash drive and I'm trying to restore it using SQL Server 2012 and I'm getting the following error. See attachment.
Screenshot.jpg
0
Comment
Question by:BlakeMcKenna
  • 2
4 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 40231083
this error has nothing to do with the versions, but only that the database file is still "in use" by some database
make sure that you are moving the files during the restore to another path (advanced restore options)
0
 

Author Comment

by:BlakeMcKenna
ID: 40231540
So are you saying it should be on my C: drive rather than a flash drive? If so, I was kinda thinking along those lines...
0
 
LVL 21

Assisted Solution

by:Alpesh Patel
Alpesh Patel earned 250 total points
ID: 40234151
Check the path. If you are restoring on SQLServer 2012 then folder should be 110 instead of 100. i.e (MSSQL11.[InstanceName].

Make sure have proper permissions to create Datafiles.
0
 

Author Closing Comment

by:BlakeMcKenna
ID: 40244421
Thanks guys...your suggestions helped and I was able to perform the restore!
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

     When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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