LocalDB doesn't work correctly - sql-server-2008

when I don't see my databases in LocalDB, Is there any service to Start?
I am using SQL Management Studio 2008 and my local instance works correctly but I don't know what's happening to LocalDB.
status both of them in Object Explorer

Related

The client and server cannot communicate, because they do not possess a common algorithm while connecting to mysql database

I have a console application that runs on .Net framework 4.6.2. It's deployed on Windows server 2012 R2. I'm using MySql.Data.MySqlClient,MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6, Version=6.9.12.0. My server is configured to use only Tls1.2. It was working fine earlier and now its giving me this error
"System.Data.Entity.Core.EntityException: The underlying provider failed on Open. ---> System.ComponentModel.Win32Exception: The client and server cannot communicate, because they do not possess a common algorithm"
I checked the DB server (same operating system) and it has tls1.0 , tls1.1 and tls1.2 all enabled. I copied the database from the DB server on to the same production server but still getting this error. It was working fine before so not sure if there is a problem with the code itself but since this is urgent I appreciate any help I can get on this.

Creating a SSRS report using a mySQL data source

I need to setup a report server using SQL Server Reporting Services with MySQL datasource. I am using a ODBC connection to connect MySQL. Using this connection I am able to add a dataset in my reporting project in Visual Studio 2015.
Using this dataset I can create a reports in Visual Studio and it show me preview as well using my table from MySQL, So far so good only problem arise when I try to deploy my reports to my local machine it show following error :
An attempt has been made to use a data extension 'ODBC' that is either not registered for this report server or is not supported in this edition of Reporting Services.
I am using SQL Server 2012 Express Edition and I follow this tutorial to connect report with MySql.
https://www.mssqltips.com/sqlservertip/2615/creating-a-ssrs-report-using-a-mysql-data-source/
Can you please help me to know what I am doing wrong here? Any help will be highly appreciated. Please let me know if any other information needed.
Thank you
I do not think this is supported in express dev version.
http://www.c-sharpcorner.com/UploadFile/ff2f08/feature-supported-and-unsupported-by-ssrs-with-express-advan/
If you have the full version, it can be easily done, via the instructions you linked above.

Connect to sql server 2008 using Microsoft Server Management Studio

I have difficulties connecting to my MS SQL Server and I can't find tutorial or answer how to do this, even though I think this should be something pretty standard.
My current setup is this - I have freshly new Installed Visual Studio 2010 and followed Beth Massi's article Step-by-Step: Installing SQL Server Management Studio 2008 Express after Visual Studio 2010 : http://blogs.msdn.com/b/bethmassi/archive/2011/02/18/step-by-step-installing-sql-server-management-studio-2008-express-after-visual-studio-2010.aspx
But I'm not able to connect to a SQL Server. In my Configuration Tools\SQL Server Configuration Manager I see this when I open it :
I set to Enable all TCP\IP and Named Pipes (Just saw that this may be a problem) and in the properties of the SQL Server (SQLEXPRESS) from Services I see this:
I also see in the Log On tab this :
some sort of password (not entered by me) it seems to be something default, but since I'm not sure where the problem is I try to show everything I think may have something to do with solving my problem.
At the end I tried different options to connect to my SQL Server form the Management Studio I ended up with this:
As you see I get an error (included in order to be able to read it). I read the the machine name may be required so my User Account name is Xman and my machine's name is Xman-PC. Eveh though my printscreen image is not from this try I made an attempt to connect to the Server with XMAN-PC\SQLEXPRESS but again - no success.\
Could you point me to a good tutorial on how to connect to a MS SQL Server (I can't believe there's nothing that explains in simple steps what you need to do to connect to a server) or could you tell me how to set-up my configurations so I actually can start to work with databases?
P.S
Forgot to mention in Command Prompyt - sqlcmd command also returns error - Could not open SQL connection.
P.S
Finally I managed to connect using Windows Authentication and (local)\sqlexpress for ServerName. Which at least means that everything is working. But now even more I would like to know how to connect using SQL Server Authentication. It must be something default as it was for Windows Authentication?!
Looks like you've done the hard work - last step will be turning on SQL Server Authentication.
Since you installed with the default values, only Windows Authentication is allowed; you need to set it to SQL Server and Windows Authentication mode. You can do this through Management Studio through the instance Properties -> Security.
See this link for full details: Change Server Authentication Mode.

Running ASP.NET app with VS2012 debugger uses LocalDB despite connection string in web.config

I want to use SQL 2008 R2 on the server where I run VS 2012, so I created the "membership" database (using Aspnet_regsql tool) and configured it to work with IIS7). Then I created ASP.NET Application and modified the web.config so that connection string points to this database.
Running this app with VS 2012 debugger results with my app creating the LocalDB ASPNETDB.MDF instance in app_data folder. VS ASP.NET Configuration tool when invoked from VS Tools menu shows the LocalDB based data and the running application access this database instead of SQL Server 2008 R2 server - which runs on the same server.
I believe that this is some side-effect of the VS generated web.config file, but despite looking hard, I found nothing suspicious.
Note: this same scenario works just fine with Visual Studio 2010 if I am using it's own generated web.config file.
I would hate to dismiss VS 2012 for this as I am pretty sure that I did something wrong.
I had the same problem as this and needed to change more than just the connection string. I was targeting .NET 4.0 framework not 4.5, not sure how much difference this makes. I had a look on MSDN http://msdn.microsoft.com/en-us/library/6e9y4s5t(v=vs.100).aspx
You need to change not just the connection string but also the membership defaultProvider so that it is a SqlProvider

How to connect to SSAS instance from SSMS?

I have recently installed full sql server 2008 (trial version), for doing a research on SSAS.
I created a SSAS project (with sqlserver business intelligence studio), deployed locally (where sql server instance is) with success.
The problem is that I dont see it in databases list with SSMS.
Is there a special way to connect to SSAS instance? Because looking at link text I see SSMS opened with other structure in object explorer.
When you create a connection (File -> Connect Object Explorer) ... just make sure that Analysis Services is selected in the "Server Type" drop down, instead of Database Engine.