Solved

Re-attaching Database - Device Activation Error

Posted on 2008-06-25
8
653 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
[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
  • 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

738 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