Solved

Re-attaching Database - Device Activation Error

Posted on 2008-06-25
8
650 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 142

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
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 142

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 142

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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 shrink a transaction log file down to a reasonable size.

808 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