Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Generate Code Map: Unable to Connect to the Specified Database

$
0
0

I am attempting to generate a code map using Visual Studio 2017 Enterprise, but receive the following error:

Note the data source: Data Source=(LocalDB)\MSSQLLocalDB. When I search for MSSQLLocalDB in my solution, nothing comes up. My application does not use SQL Server 2016 (which is what I think the connection string is for). It uses 2012. All my connection strings use (localdb)\v11.0.

Fixes I've attempted / notes:

  • I have tried to view the XML file, but "Open the XML Editor" simply closes the .dgml file in Visual Studio.
  • Changing Visual Studio's data connection (Tools -> Options -> Database Tools -> Data Connections) does not work:

  • Installing SQL server components. Most of the SQL Server components one might find in the Visual Studio Installer are already installed:

      • Visual Studio is up to date: 
      • I have seen this issue. Not only is that problem for VS2012, the solutions are for web.config. My app is a desktop app, so no web.config. But none of the projects' app.config contain a reference to (LocalDB)\MSSQLLocalDB anyway.

    • Thinking that it might have to do with the latest version of SSDT (15.8.1) no longer supporting SQL Server 2012, I checked the version. It is 15.1.6: 
  • Visual Studio is running on Windows 7 Ultimate, SP1, 64-bit.

Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>