0

enter image description here

So when I try to attach my Database tp Visual Studio it does this.

I have deleted LocalDB from my system as we told me it would be useless but it might have been wrong?

I use Visual Studio Community 2017 and SQL Server Express 17

Sql Server Management 17

and SQL Server Configuration Manager 2017

so everything is 17 and I don't understand why it doesnt work.

JBoothUA
  • 3,040
  • 3
  • 17
  • 46
S. Stone
  • 33
  • 1
  • 7
  • 1
    Can you share your string connection?, please – henoc salinas Nov 18 '18 at 04:26
  • `LocalDB` isn't _"useless"_ and it's the default used by Visual Studio for development purposes. You'll have to adjust your [connection string](https://www.connectionstrings.com/sql-server/), as the error says, to Sql Express. – EdSF Nov 18 '18 at 04:28
  • @EdSF When Ipress Refresh, my Database does nto appear – S. Stone Nov 18 '18 at 04:37
  • @henocsalinas I now use SQL Server Connection string, although when I hit refresh it doesn't show up my SQL Database – S. Stone Nov 18 '18 at 04:49
  • Do you see your server in SQL Server Object Explorer? – Mary Nov 18 '18 at 05:45
  • I think you'll need to provide more details because it's a guessing game. Provide your connection string as previously requested. More questions: Can you see your server _and_ database that you're referring to using Sql Svr Manager? Is it running? Have you tried reinstalling/fixing LocalDb (now that you know it's not "useless")? – EdSF Nov 18 '18 at 17:43

0 Answers0