Little problem with connection between SQLserver and C# RRS feed

  • Question

  • I'm trying to connect an application in WPF with a Database and when I select the database I want this message is shown:

    [filename].mdf is currently in use. Write a new name or close the other program that's using the file.

    The problem is that I don't have any other program using the DB at that time.

    Can anyone tell me why is this happening? Thanks in advance

    • Moved by Janet Yeilding Tuesday, April 3, 2012 4:27 PM (From:SQL Server Data Tools)
    • Moved by Bob Beauchemin Tuesday, April 3, 2012 6:51 PM Moved to the appropriate forum for SqlClient questions. (From:.NET Framework inside SQL Server)
    Tuesday, April 3, 2012 2:35 AM