Problem attaching Nutshell.mdf

Error 15350: An attempt to attach an auto-named database for file C:\Users\foo\AppData\Roaming\LINQPad\Nutshell.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

But there's not an existing db byt that name. I've copied the mdf to the native sql folder (C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA) so perms shouldn't be an issue. Unable to attach using SMSS's 'Attach MDF' function. The 'message column' for more details insists there is an existing db by the same name.

LinqPad _is able to create a db on my local 2012 Dev edition server via 'new connection'.

The sample db comes via the 4.43.06 (registered) installer. Am hitting:
Microsoft SQL Server 2012 - 11.0.2100.60 (X64)
Feb 10 2012 19:39:15
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)


looking forward to hearing of troubleshooting procedures.

thx

Comments

  • Re-read (gasp) the readme and was able to generate the demo db from the supplied code so I'm good now.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!