Error SQL Server attempt to attach an auto-named database

I get this error:

An exception of type ‘System.Data.SqlClient.SqlException’ occurred in System.Data.dll but was not handled in user code

  • How to get machine name from ip address in SQL Server 2008?
  • SQL Server : try catch or @@error get more efficient
  • Empty column values but keep values equal to the number provided using SQL Query
  • Inserting data from a list into table
  • using powershell to compare TFS and SQL server DB Scheme
  • store array or vector in ms sql server 2005
  • Additional information: An attempt to attach an auto-named database for file C:\Program Files (x86)\IIS Express\DB Report.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC

    My config:

    <connectionStrings>
        <add name="constr" 
             connectionString="data source=(LocalDB)\MSSQLLocalDB;attachdbfilename=&quot;|DataDirectory|\DB Report.mdf&quot;;integrated security=True;connect timeout=30;MultipleActiveResultSets=True;App=EntityFramework" 
             providerName="System.Data.SqlClient" />
    </connectionStrings>
    

    Help me please .. I have problem a few day

  • What overhead does EF creation of dbcontext add for an application with for example 30 tables?
  • Entity Framework 6.1 : The given key was not present in the dictionary
  • Can't add more then one user to the table. Identity Insert is set to off
  • MVC 4 Entity Framework Optional Foreign Key On User Profile
  • SQL Server Express works but SQL Server doesn't
  • How to limit number of concurrent file downloads for the number of requests?
  • MS SQL Server is a Microsoft SQL Database product, include sql server standard, sql server management studio, sql server express and so on.