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.
Related
we have SQL Server 2012 and Visual Studio 2013.
I needed to install BIDS (or SSDT) for developing reports.
I downloaded and installed Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2013:
http://www.microsoft.com/en-us/download/details.aspx?id=42313
However during the installation I noticed that it runs SQL Server 2014 setup.
Why doesnt it ask for wich SQL Server version I need SSDT to be installed?
Will it work with SQL Server 2012?
Thanks.
If you use Visual Studio 2015 + SSDT, you will have a full backwards compatible version of the BI toolset (2012 and up for SSIS, 2008 and up for other SSAS/SSRS and the relational DB tools). For previous versions of the BI suite, these were tied to specific SQL Server versions:
SSDT-BI for VS2013 -> SQL Server 2014 support
SSDT-BI for VS2012 -> SQL Server 2012 support
BIDS -> SQL Server 2008 support
The current recommendation is to use Visual Studio 2015 + SSDT as it receives regular updates & bug fixes, and is backwards compatible with no need to map to a specific SQL Server version. You can download SSDT here.
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.
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/
I'm using SQL Server Management Studio 2008 and SQL Server 2008.
Currently, I cannot create new database diagram from the SSMS 2008 on an SQL Server 2008 instance.
Has anyone ever experienced this ?
The problem started after I tried to install Visual Studio 11 Beta, and apparently the Beta also installs SQL Server 2012 RC0. Now I have uninstalled the Visual Studio 11 Beta and the SQL Server 2012 that goes along with it.
EDIT :
Error message that shows when I tried to create new database diagrams is : "The specified module could not be found (MS Visual Database Tools)"
I had the same problem but never found an explanation of what was wrong. I ended up uninstalling SQL Server 2012, uninstalling Visual Studio 11 Beta, and then reinstalling the Visual Studio 11 Beta (keeping SQL Server 2008). I can now create DB diagrams from SSMS 2008, but not from within Visual Studio 11 Beta (I don't think Visual Studio 11 Beta supports the feature, at least not for SQL Server 2008).
I know there is an Issue using SQL Server 2000 Reporting Services and Visual Studio 2005, but does this error still exsist with Visual Studio 2008 and 2010?
If so, is there any work-aground to get this working?
I do know that SSIS 2005 requires VS 2005 and that SSIS 2008 requires VS 2008. So if you have upgraded your SQL Server 2005 client tool installation to 2008, there is no way (AFAIK) to create SSIS 2005 projects.
My guess is that you will see the same issues with SSRS as with SSIS.