Quantcast
Channel: BugNET Issue Tracker (Moved to GitHub)
Viewing all articles
Browse latest Browse all 2179

Created Unassigned: Couldn't attach the Database.mdf file in SQL Server R2 [190]

$
0
0

Hi,

I have downloaded the bugnet project and tried to attached the database "BugNET\App_Data\Database.mdf" in Microsoft SQL Server 2008 R2 using the below code. But getting exceptions.

USE master;
GO
CREATE DATABASE BugTrack1
ON (FILENAME = 'I:\BugNET\App_Data\Database.mdf')
FOR ATTACH_REBUILD_LOG;
GO


File activation failure. The physical file name "C:\Projects\CodePlex\bugnet\src\BugNET_WAP\App_Data\Database_log.ldf" may be incorrect.
The log cannot be rebuilt when the primary file is read-only.
Msg 1813, Level 16, State 2, Line 1
Could not open new database 'BugTrack1'. CREATE DATABASE is aborted.



Viewing all articles
Browse latest Browse all 2179

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>