Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restore 2008R2 DB to 2012 DB
Message
 
To
31/12/2013 10:32:42
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2012
Application:
Desktop
Miscellaneous
Thread ID:
01591150
Message ID:
01591172
Views:
42
Detach DB from SQLExpress2008R2 and try to attach to SQLExpress2012.

>No go. Same error. I restore to SQLExpress2008R2 all the time running SSMS normally. I am wondering if it is not a specific 2012 issue.
>
>>Run SSMS with elevated Admin privilege.
>>
>>
>>>I am trying to move a SQLExpress2008R2 DB to SQLExpress2012.
>>>
>>>I a full backup of the SQL Express2008R2 DB. I then created a DB in SQLExpress2012 with the same name. Attempting to Restore the SQL2008 DB to the SQLExpress2012 DB generated the following security error. What am I missing here?
>>>
>>>
>>>TITLE: Microsoft SQL Server Management Studio
>>>------------------------------
>>>
>>>Restore of database 'Lepton' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)
>>>
>>>------------------------------
>>>ADDITIONAL INFORMATION:
>>>
>>>System.Data.SqlClient.SqlError: The operating system returned the error '5(Access is denied.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'c:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS2008R2\MSSQL\DATA\Lepton.mdf'. (Microsoft.SqlServer.SmoExtended)
>>>
>>>For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&LinkId=20476
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform