I took a full backup of a SQL Server 2005 database, then restored it onto SQL Server 2008. I'm curious, was it a 2008 database at that point?
Anyways, I since did a full backup of it using SQL Server 2008 and now I have a machine with only SQL Server 2012 Express on it. When I try to restore from the backup file I get the following error:
TITLE: Microsoft SQL Server Management Studio
Restore of database 'CodeLib' 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 'D:\SQLdata\MSSQL10_50.SQLBESI\MSSQL\DATA\CodeLib.mdf'. (Microsoft.SqlServer.SmoExtended)
I ran SSMS as an Admin when I tried to restore it.