SQL Server setup error - sql-server

I am trying to open again SQL setup from SQL Server Installation center so when i click on installation and click on
"New SQL stand-alone installation or add features to an existing installation"
i am trying to add new features that's why i click on that after that they asked select folder so i select from d drive where SQL setup is placed when i select this shows an error
D:\D Drive\softwares\Microsoft SQL Server 2014 Enterprise Edition with SP1 X64 is not a valid installation folder
how to resolve this?
check image please where i select folder
https://i.stack.imgur.com/iDw18.png
and this is sql setup files
https://i.stack.imgur.com/ytpIn.png

Related

SQL Server 2017 installation error: "The feature you are trying to use is on a network resource that is unavailable error"

I'm installing SQL Server 2017 and get this error. Please help me!
You installed SQL Native Client (or whatever product name is listed) with an MSI located on a network share at some time in the past. SQL installer is trying to modify or update that install, but can't access the MSI.
Uninstall the listed product, then try the install again.
I faced the same issue. I had to download and show the path to file manually. Here is the link to download MS OLE DB driver. To download latest version search in google for "ole db driver" and in this window show the path to the file manually
1.First you remove the exist Microsoft SQL Server 2012 Native Client from Control
panel “Add or Remove Programs”
2.Then download and install SQL Server 2012 Native Client newly to the machine
3.Try again the SQL Server 2017 installation

How to launch SQL Server Management Studio on Windows 7

I just installed SQL Server 2008 Express on Windows 7. Now I want to launch the program that will allow me to create database, tables,... through Management Studio. But I don't find any icon after the installation that would help me to do that the Icon a found are just:
SQL Server Installation Center
Server configuration manager
SQL Server Error and usage...
Server Installation Center
Please notice that I'm new in SQL Server and I just want to setup a basic environment in order to make connection to a program.
I recommend taking a look at this link: https://technet.microsoft.com/nb-no/library/ms190699(v=sql.105).aspx
It is a step-by-step guide on how to launch instances of either the default or name server. If you would prefer a video guide, you can check out https://www.youtube.com/watch?v=_PJXFcRPKFc

Connections to SQL Server database files (.mdf) require LocalDB or SQL Server Express to be installed and running on the local computer

I am using Visual Studio 2015 professional. When I tried to add Service-based Database to my project I got this error.
Connections to SQL Server database files (.mdf) require LocalDB or SQL Server Express to be installed and running on the local computer. You may need to modify the setup and ensure Microsoft SQL Server Data Tools is selected and install the current version at: http://go.microsoft.com/fwlink/?Linkid=125883
I also have Microsoft SQL Sever 2014 installed on my computer.
really need help.
Just in case it helps others, I recently received this error in Visual Studio. The error states to go to http://go.microsoft.com/fwlink/?Linkid=125883. When going to this URL, it now redirects to https://www.microsoft.com/en-us/server-cloud/products/sql-server/. The new URL do not seems to have an obvious instructions on how to get Microsoft SQL Server Data Tools. Here is what worked for me.
In Visual Studio, select Tools > Extensions and Updates
In the Extensions and Updates pop-up box, select Installed > Updates
Highlight Microsoft SQL Server Update for database... and click the Update button. If Microsoft SQL Server Update for database... is not listed, you can download SSDTSetup.exe from https://msdn.microsoft.com/en-us/mt186501. 
Your default Web browser will prompt a download of SSDTSetup.exe
In your Downloads folder, run SSDTSetup
Follow the prompts of the installer
After doing this, just to play it safe, I restarted Visual Studio. This might not be necessary. I then did the following in Visual Studio.
In Visual Studio, if you do not already have a folder named App_Data, in the Solution Explorer panel, right-click the name of your site and select Add > New Folder. Name the new folder App_Data.
With the App_Data folder highlighted, press Ctrl + Shift + A (or right-click and select Add > New Item)
In the Add New Item pop-up box, select Visual Basic or C# > Data > SQL Server Database. Click Add.
The error should not appear, and in Solution Explorer should now be a file named database1.mdf.
Just do this. On Visual Studio, go to Tools > Options > Database Tools > Data Connections. Here clear the "SQL Server Instance Name (blank for default)" option and write SQLEXPRESS
The error message is quite clear. You need to have either LocalDB or SQL Server Express installed and running on the local computer, and you apparently don't.
Do as the error message instructs, go to the link provided in that error message, select Microsoft SQL Server Data Tools, and install the latest version.

Error trying to connect to TFS from SQL Server Management Studio

I'm attempting to connect to a TFS 2010 Server via SQL Server Management Studio 2008. The Source Control has a .sql file I need to open, edit, then commit back to source control.
From SSMS, I go to File > Open From Source Control...
I connect the TFS server and can browse to the project's folders successfully:
However, when I click OK, this error message is returned:
If I connect to TFS via Visual Studio 2008, I can browse the folders on the server, but SSMS will not allow me to. Any idea what I am doing incorrectly?
It sounds like Pero's comments are right, if there are database projects there (presume they have a folder for each project under your DatabaseProject folder) you'd need to select a folder that has a valid *.ssmssln or *.ssmssqlproj in.
Remember that SSMS will only open SQL Script solutions created in SSMS, not SSDT database projects. I don't think there are any projects that you can open in both SSMS and SSDT/Visual Studio.

SQL Server Installation - What is the Installation Media Folder?

I am installing SQL Server 2008. I have installed .NET framework 3.5.
Then I got folder SQL Server 2008 and performed following steps-
I clicked configuration Tools.
Then I clicked SQL Server Installation Center.
I clicked "Installation" hyperlink on left side.
Then I clicked "New SQL server stand-alone installation or add features to an existing installation"
Then I got a window "Browse for SQL server Installation Media"
Which folder should I choose? Or is there any other method to install SQL Server?
For the SQL Server 2017 (Developer Edition) installation, I did the following:
Open SQL Server Installation Center
Click on Installation
Click on New SQL Server stand-alone installation or add features to an existing installation
Browse to C:\SQLServer2017Media\Developer_ENU and click OK
If you've downloaded SQL from the Microsoft site, rename the file to a zip file and then you can extract the files inside to a folder, then choose that one when you "Browse for SQL server Installation Media"
SQLEXPRADV_x64_ENU.exe > SQLEXPRADV_x64_ENU.zip
7zip will open it (standard Windows zip doesn't work though)
Extract to something like C:\SQLInstallMedia
You will get folders like 1033_enu_lp, resources, x64 and a bunch of files.
If you are using an executable,
just run the executable (for example: "en_sql_server_2012_express_edition_with_advanced_services_x64.exe")
Navigate to the "options" tab
Copy the "Installation Media Root Directory" (should look something like the below snipping)
Paste it into the open "Browse for SQL server Installation Media" window
Save yourself the hastle of renaming and unzipping etc.!
For the SQL Server 2019 (Express Edition) installation, I did the following:
Open SQL Server Installation Center
Click on Installation
Click on New SQL Server stand-alone installation or add features to
an existing installation
Browse to C:\SQL2019\Express_ENU and click OK
While installing SQL Server, it extracts contents to temp folder under C directory. You can copy that folder after extraction finishes and then use that one for browsing
Check in Administration Tools\Services (or type services.msc in the console if you a service named SQL Server (SQLEXPRESS). If you do then it is installed.
From Visual Studio open Server Explorer (menu View\Server Explorer or CTRL + W, L). Right click Data Connections and choose Create New SQL Server Database. After that create tables and stuff...
If you want the Management Studio to manage the server you must download and install it from:
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&displaylang=en
I ran into this just now with SQL Server 2014 SP1. The installer gave me the exact same problem and I followed suggestions from other answers to this question, but it got me nowhere.
In the end I figured out that I needed to download and install SQL Server 2014 first, and then apply SP1 to it. (doh)
I had to select the folder C:\SQL2019\Express_ENU for it to work.
For SQL Server 2017
Download and run the installer, you are given 3 options:
Basic
Custom
Download Media <- pick this one!
Select Language
Select ISO
Set download location
Click download
Exit installer once finished
Extract ISO using your preferred archive utility or mount
I found this one without any solutions. I am using SQL server 2019.
you can do the following:
download the sql server 2019 from [here] https://www.microsoft.com/en-us/sql-server/sql-server-downloads
open the installer.exe and choose the Download media option
choose the iso option
after a while you will get a .iso file extract it in a folder it will give you file like this
the folder that you had extracted in it is the folder to be chosen hence it is the "Browse for SQL server Installation Media" target
hope that this helps you
Problem is about too long setup file name. Change setup.exe parent folder name(short a name). And try it!.
For me the Issue was I didn't run the setup as Administrator, after running the setup as administrator the message go away and I was prompted to install and continue process.
I downloaded from https://my.visualstudio.com/Downloads
It gave me an iso file (en_sql_server_2017_standard_x64_dvd_11294407.iso)
I had to double click on it and then it gave me an E: drive on my computer.
Then I was able to select the E: drive when it asked for the Installation Media location.

Resources