Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Cannot connect to server via management studio

$
0
0

Hello,

I've installed Express with Tools 64bit edition. EDIT: it's 2014 version, here's the download link https://msdn.microsoft.com/en-gb/evalcenter/dn434042.aspx?f=255&MSPPError=-2147217396 

But when I try to connect to the database using the management studio, I get this error:

Signature for the declaration in a method implementation cannot be found.  Type: 'Microsoft.SqlServer.Management.Smo.SqlSmoObject'.  Assembly: 'Microsoft.SqlServer.Smo, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'. (Microsoft.SqlServer.Management.SqlStudio.Explorer)

------------------------------
Program Location:

   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.CheckAndEnableSmoXps(SqlConnection connection, Boolean smoXpsEnabled)
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.CheckDacAndSmo(SqlConnection sqlConnection)
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
   at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()

I don't get what this error is trying to tell me really. Hopefully someone can explain it so I might fix it. Or any information why I can't seem to connect would be appreciated.

I've tried connecting to a running server instance, and I've tried connecting to localdb; both gave the same error. The name seems right, as a different error appears when it cannot find the server/bad name.

I was able to connect with visual studio 2013 and create a new database through that, so this feels a bit like a missing dependency or something in my management studio installation. I ran installation repair, but it didn't find any problems.

I'm looking to learn SQL so it's possible the setup of the server was not done right, maybe? But I'm not sure if that would affect localdb... guess it's pretty clear that I'm at a loss why it's not working; hopefully someone will be able to help.


Beginner



Viewing all articles
Browse latest Browse all 7129

Trending Articles



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