I'm beginner in programming, and trying to make a project with Entity Framework. I'm using MS VS 2013 Express and SQL Server 2012 Express, and a tutorial from Microsoft.
When I try to "Generate Database from Model" I expect to see a hightlighted code and special tools to work with it:
But I have no any of them in my VS 2013.
What am doing wrong, and what should I do next?
I just found a solution for my problem on my own. I deleted and reinstalled VS 2013, and now it contains SQL Server features. Maybe the problem was in a proper order of installation of VS and SQL Server. So, firstly we install SQL Server and then - Visual Studio.
Also, before it I tried to use SQL Server 2014 with Visual Studio 2013 and it raised more errors.
I hope somebody will find it useful.
Related
I had visual studio 2010 on my VM and I Uninstalled it by visual studio 2010 uninstall utility which I downloaded from here :
https://aka.ms/vs2010uninstall
it also uninstalled visual studio 2010 shell...
Then I Installed Visual Studio 2015 Update 3. After that, I can't open sql server management studio 2012. It gives me this error :
Cannot find one or more component please reinstall the application.
also when I try to repair it, it gives me this error:
TITLE: SQL Server Setup failure.
SQL Server Setup has encountered the following error:
The required MSI package 'c:\6b55b72929daeb5953cfca72\1033_ENU_LP\redist\VisualStudioShell\VSIntSetup\vs_setup.msi' doesn't exist.
Error code 0x858C0038.
For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&EvtType=0xFDC38F1F%25400xE62C46B1%25401420%254056
what should I do?!
SQL server management is sharing a lot of components with visual studio, in order to use it on the same machine the painless and best option is to keep them aligned as much as possible.
Except in case you are going to connect to a newer (Azure) version of SQL-SERVER you can easily solve the situation by uninstalling the current version of SQL Server Management and installing MS-SQL Server Management 2016.
Likely also installing even a newer version will not gave issues, but using an older one will be a source of troubles and also a no-sense since the Management Studio is backward compatible with older SQL Server versions.
Start regedit.exe
Go to HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio
Delete 11.0_Config
Restart ssms.exe
What are the differences between SSDT and SSDT- Business Intelligence?
I've installed SQL Server 2017 and then proceeded to download Business Intelligence Development Studio but found out that it was replaced by SSDT/SSDT-BI (don't know the difference if there's any).
Do I need just SSDT or SSDT-BI? I can only find SSDT-BI for Visual Studio 2012 and 2013, not for VS 2017 while SSDT for VS 2017 is available.
Will this create any problems since I'm working with SQL Server 2017?
I'm a complete beginner at all this and this is only for a uni project. Please keep answers as simple as possible. Thank you very much.
There is only SSDT nowadays, which includes support for SQL Server Database, SSRS, SSRS, and SSIS projects. The download links are here. The current SSDT version (15.5.2 as of this writing) allows you to target SQL Azure Database, SQL Server 2017, as well as older versions so you don't need multiple versions of SSDT installed.
SSDT will install a minimal Visual Studio shell if VS is not already installed. If you already have VS installed, those project types will be added to the existing installation.
EDIT:
With Visual Studio 2019, SSDT for SQL Server database projects remains intregrated into the VS 2019 installer. Select the Data Storage and processing workload during install and choose SQL Server Data Tools. However, SAS, SSIS, and SSRS SSDT projects are now moved to separate Visual Studio extensions. These extensions can be manged post install from within Visual Studio under Extensions-->Manage Exentsions.
Yeah, this got a lot of people confused. According to this link (VS2012 & VS2013 timeframe):
SSDT is for building databases ONLY i.e. only base functionality.
SSDT-BI is for building SSIS/SSAS/SSRS solutions
But then it looks like from VS2015 onward they merged the two together into just SSDT, so after VS2013 there is no separate SSDT-BI install. I think.
I'm using Visual Studio 2013, SQL Server 2014. I want to learn MSBI, so I have installed the SQL Server Data Tools from here: https://msdn.microsoft.com/en-us/mt429392.aspx
After the installation process, I coudn't find the SSDT from the start menu.
But it shown in the control panel:
And when I check in Visual Studio, there it is also not available.
I posted this answer may help someone. The credits goes to Prabhat G
Go to services.msc and check if you can see SQL SERVER INTEGRATION SERVICES.
If the service not available there, then installation is corrupted.
Download and install from the link I've given below
microsoft.com/en-in/download/details.aspx?id=42313
It works fine for me.
not sure if this helps, but i tried opening a new project in visual studio 2013 instead of visual studio 2012 and found the ssdt tools
I am a freelancer. At a client's place, SQL Server is 2014, but the only DTSX tool is BIDS 9, which I would like to remove to install something a bit more up-to-date.
I am a bit confused by some pages telling that SSDT is for VS 2012 or 2013, and that SSDT and SSDT-BI are 2 different things.
So what should I install ? Can I use VS 2015 community + an extra package ?
I would be delighted to have the proper links, because I found MS site is also a bit confusing on the subject, and I would not like to make a mistake on this.
Thanks.
This page has a pretty clear description.
SSDT contains templates for building relational databases for the RDBMS and Azure SQL Database
SSDT-BI contains project templates for SSAS models, SSRS reports, and
SSIS packages.
There are two version of SSDT-BI. One for VS2012 and one for VS2013.
For SQL Server 2012 or 2014, you can use either SSDT-BI for Visual
Studio 2012 or SSDT-BI for Visual Studio 2013. The only difference is
between the two is the Visual Studio version.
You can use the download links on the page to get the right tools for the VS version that one plan on using.
I have uninstalled Microsoft Visual Studio 2012 Ultimate and install VS professional 2013
after, i tried to Setup Sql Server 2014 but a message say
"Installation blocked due to detection of version of Visual Studio that install SQL Server 2012 client libraries.."
then i have uninstalled all Microsoft programs figured in this link without uninstalling visual studio 2013 .
and always i get the same problem
any solutions Please
At this point in time, you should be using CTP2, not CTP1.
You should be installing the CTP on a clean machine (preferably a VM), not a system with a bunch of pre-existing software - especially from previous versions of SQL Server / Visual Studio. CTP2 might get around this particular issue for you, but it's still best practice IMHO to run beta software in a clean environment.
Please review the release notes, in full, before proceeding.