codfish (2) [Avatar] Offline
I downloaded the samples which includes the northwind database file (NORTHWND.MDF). I am using SQL Server 2008 and cannot attach to it.

I am getting the error:

"The log cannot be rebuilt when the primary file is read-only."

I think the .MDF file must first be "detached" by the author before we can attach to it. Any suggestions?
codfish (2) [Avatar] Offline
Re: Cannot attach to Northwind Database in samples

I Apologize, I posted this thread to the wrong forum for the wrong book! Please ignore or delete this thread if you can.