dbTalk Databases Forums  

Device activation error

microsoft.public.sqlserver.setup microsoft.public.sqlserver.setup


Discuss Device activation error in the microsoft.public.sqlserver.setup forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jim
 
Posts: n/a

Default Device activation error - 04-23-2007 , 03:26 PM






Hello,

I'm attempting to upgrade from MSDE 1.0 to MSDE 2000. However, before
removing MSDE 1.0, a database apparently was not properly detached after
attempting to attach (using sp_attach_db not attach w/ single file) this very
database to MSDE 2000.

The following error is rec'd:

"Can not create file C:\Program Files....\MyData.LDF because it already
exists.
Could not open new database "MyData". CREATE DATABASE is aborted.
Device activation error. The physical file name "C:\MSSQL7\Data\MyData.LDF
may be incorrect."

Should I attempt to place the log file back to its old location, restore the
database and then detach or should I try to shrink the file and truncate the
log?

Just want to know before I further screw things up.

any help is appreciated.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.