Solved

Re-attaching Database - Device Activation Error

Posted on 2008-06-25
8
651 Views
Last Modified: 2011-10-19
I need to move some SQL databases to a new drive because I am running out of room on the existing drive.  I found the how to do it via this link: http://support.microsoft.com/kb/224071/EN-US/

I got to the point of re-attaching the database.  The path of the new location of the databases is G:\Data.

However, when I try to run the script - I get a device activation error.  Please see my screenshot
deviceactivationerror.gif
0
Comment
Question by:NEMHCIS
  • 3
  • 2
8 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21866465
is G: a local or a mapped drive?
0
 

Author Comment

by:NEMHCIS
ID: 21866536
it is a mapped drive.
0
 
LVL 22

Accepted Solution

by:
dportas earned 250 total points
ID: 21866650
That's the problem. Creating or attaching database files on mapped drives is not supported except for certain approved NAS hardware combinations.
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 143

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 total points
ID: 21866682
I agree. there are some hacks to make it possible, but you should never do it actually for a production database.
0
 

Author Comment

by:NEMHCIS
ID: 21867724
Damn.  ok.  Thanks for the info.  Any repercussions to 'Shrink Database' command?
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 21868377
Except that the files will shrink, and later obviously might need to grow again, no.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

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