SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Data Corruption Issues
 Device activation error . the physical file name
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 11/08/2006 :  08:10:44  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
rajesh writes "Hi All

When i attach my production database i got an device activation Error
cannot
attach database."

SwePeso
Patron Saint of Lost Yaks

Sweden
29910 Posts

Posted - 11/08/2006 :  08:55:42  Show Profile  Visit SwePeso's Homepage  Reply with Quote
Some error number? Windows log?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

paulrandal
Yak with Vast SQL Skills

USA
899 Posts

Posted - 11/08/2006 :  12:46:47  Show Profile  Visit paulrandal's Homepage  Reply with Quote
(Replies may be delayed as I'm OOF again - this time at TechEds in Spain)

My guess is that the directory that the original files lived in no longer exists - so you have to provide the new location of the files.

Are you 2000 or 2005? Look at the BOL for CREATE DATABASE .. FOR ATTACH on 2005, sp_attach_db on 2000.

Thanks

Paul Randal
Lead Program Manager, Microsoft SQL Server Core Storage Engine (Legalese: This posting is provided "AS IS" with no warranties, and confers no rights.)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000