VS 2010 cannot see SQL Server 2012 Express - visual-studio-2010

On my PC with Windows 8 there is Visual Studio 2012, SQL Server 2012 Express (x64), SQL Server 2012 (x64).
Visual Studio 2012 works perfectly with SQL Server 2012 Express and SQL Server 2012. It easily adds sqlexpress to data connections of server explorer by name .\SQLEXPRESS.
But now I'm trying to add SQLEXPRESS in Visual Studio 2010. But it cannot find it.
I thought it couldn't because of version of SQL Server 2012 Express. So I've tried to install SQLEXPR_x64_ENU (SQL Server 2008 Express), but installation stacks on "Setup Support Rules". There appears error "Performance counter registry hive consistency"
I don't know should and can I install SQL Server 2008 Express. Or the solution is somewhere else?
P.S. When I'm trying to add SQL Database Server to App_Data (asp.net mvc3) there is an error "Connections to SQL Server database files (.mdf) require SQL Server 2005 Express or SQL Server 2008 Express to be installed and running on the local computer..."
So I think I should edit register of Windows to let know Visual Studio 2010 where SQL Server Express is situated...
What are your suggestions?

Did you install Visual Studio 2010 Service Pack 1 prior to installing SQL Server Express 2012 (or at all)? See this article: http://www.formatyourbrain.com/sql-server-express-2012-visual-studio-2010/

Related

Visual Studio 2017 Creates SDF

I am using Visual Studio 2017 Community and installed .Net desktop development which has SQL Server Express 2016 LocalDB installed.
I am creating a database through code for a PluralSight project. It creates a SQL Server Compact Edition (.sdf) instead of SQL Server Express (.mdf).
I can't figure out why the Express database is being created. Any ideas? Thanks for your help.

How can I add sql server express 2008 version into prerequisites in visual studio 2012

I have visual studio 2012 (professional edition) installed in my computer.I have created windows application with sql database.I want to deploy windows application using clickonce method of deployment.It should include Sql Server 2008 Express in setup file.But I can't find Sql Server 2008 Express in my prerequisite list.I can only find sql server 2012 express version.how can I add Sql Server 2008 Express option inside my prerequisite list.I want to specifically use the 2008 version rather than 2012 version.

Can we directly migrate SQL Server 2008 to 2014 without changing anything in Visual Studio?

We have Visual Studio 2010 with .Net Framework 4.5
and SQL Server version 2008.
We are in the process of migrating SQL Serer 2008 to 2014.
I want to know the steps to migrate to 2014 and is there any settings or extensions or updates to be done for Visual Studio to make it compatible with SQL Server 2014?
For full support of SQL Server 2014 inside Visual Studio, you need to run at least Visual Studio 2012 and have SSDT installed as outlined here.
However, to connect to SQL Server from your application or from Visual Studio and to do basic operations against the database no update to Visual Studio 2010 is required.

Where is SQL Server Compact Edition 4?

I have Visual Studio 2010 Prof and sp1 installed. When I go to server to add new connection and create a new DB with SQL Server Compact.
There is no SQL Server Compact 4 option but 3.5?
I tried to run tools for vs2010 and SQL Server Compact which I got a need to install sp1 error which I already heave?
How do I create DB's with compact edition in vs2010?
You need to download the SQL Server Compact Edition v4 from the Microsoft download center and install it.
It's not part of VS 2010 (since it was released after VS 2010)
Update: did you also download and install the Visual Studio 2010 SP1 Tools for SQL Server Compact 4 ?
Update #2: sorry, can't reproduce that issue of yours - after I've downloaded and installed those bits (SQL Server CE 4 runtime + VS 2010 tools), I do get the SQL Server Compact 4.0 in my VS 2010 Server Explorer > Add Connection dialog:

BIDS and SQL Server 2008 Reporting Services install

We would like to start using SQL Server 2008 R2 Reporting Services in our company, but we are using SQL Server 2008 Enterprise Database Engine on a standalone server and have Visual Studio 2010 Ultimate on our programming PCs.
From what I understand, we need Visual Studio 2008 for BIDS to install. Is it necessary that the SQL Server 2008 Database Engine AND Visual Studio 2008 be on THE SAME machine to install BIDS?
Can I use any of the Visual Studio 2008 Express versions?
Just to clarify, you don't need to install any version of Visual Studio 2008 before installing BIDS.
When you install the SQL Server 2008 R2 client tools on your PC, this will include a version of Visual Studio 2008 with the business intelligence components installed.
From memory the requirement for Visual Studio 2008 is due to an incompatibility between Visual Studio 2010 and the Integration Services project type.
Yes, you can use Express Visual Studio
No, you don't need to install the DB engine. When you run the install, BIDS is listed under "client components" (or similar). The SQL Server install routine will install VS Express for you too.

Resources