You must install SQL Server first before installing Visual Studio 2017.
If you have already installed Visual Studio 2017, do not worry, just follow the steps below:
Uninstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64)

Then install SQL Server.
Do not forget to select “Database Engine Services“

Change “Startup Type” of SQL Server Browser from “Disabled” to “Automatic“

The installation will be done without any problems:

Then reinstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64)
Related Posts:
- How to drop a table if it exists?
- SQL Server Installation – What is the Installation Media Folder?
- SQL-Server: The backup set holds a backup of a database other than the existing
- Search all tables, all columns for a specific value SQL Server [duplicate]
- XOR in SQL Server
- What is the data type for Currency in SQL Server?
- An explicit value for the identity column in table can only be specified when a column list is used and IDENTITY_INSERT is ON SQL Server
- LIKE vs CONTAINS on SQL Server
- Case in Select Statement
- Inserting multiple rows in a single SQL query? [duplicate]
- What do Clustered and Non-Clustered index actually mean?
- Self Join to get employee manager name
- How do I UPDATE from a SELECT in SQL Server?
- SQL query to select dates between two dates
- How can I do an UPDATE statement with JOIN in SQL Server?
- Must declare the scalar variable
- Must declare the scalar variable
- INSERT statement conflicted with the FOREIGN KEY constraint – SQL Server
- INSERT statement conflicted with the FOREIGN KEY constraint – SQL Server
- What is the use of GO in SQL Server Management Studio & Transact SQL?
- SQL Query with SUM with Group By
- How to rename a table in SQL Server?
- Drop a temporary table if it exists
- Data source name not found, and no default driver specified
- IDENTITY_INSERT is set to OFF – How to turn it ON?
- An attempt was made to access a socket in a way forbidden by its access permissions
- Each GROUP BY expression must contain at least one column that is not an outer reference
- SQL Server : Arithmetic overflow error converting expression to data type int
- Update statement to update multiple rows
- Optimistic vs. Pessimistic locking
- How to calculate percentage with a SQL statement
- Can a foreign key be NULL and/or duplicate?
- Why does NULL = NULL evaluate to false in SQL server
- Cannot Connect to Server – A network-related or instance-specific error
- When to use SELECT … FOR UPDATE?
- Query comparing dates in SQL
- Best way to do nested case statement logic in SQL Server
- How can I clone an SQL Server database on the same server in SQL Server 2008 Express?
- Get day of week in SQL Server 2005/2008
- Query error with ambiguous column name in SQL
- Each GROUP BY expression must contain at least one column that is not an outer reference
- incorrect syntax error CREATE VIEW must be the only statement in the batch
- SQL Server : error converting data type varchar to numeric
- Attach (open) mdf file database with SQL Server Management Studio
- Check if table exists in SQL Server
- How can I truncate a datetime in SQL Server?
- Why use a READ UNCOMMITTED isolation level?
- How to group by month from Date field using sql
- How can I get column names from a table in SQL Server?
- Is there a combination of “LIKE” and “IN” in SQL?
- SQL Server reports ‘Invalid column name’, but the column is present and the query works through management studio
- SQL Server String or binary data would be truncated
- How to parse XML data in SQL server table
- How to convert SQL Server’s timestamp column to datetime format
- Remote table-Valued Function Calls are not allowed
- What is the Oracle equivalent of SQL Server’s IsNull() function?
- How to create temp table using Create statement in SQL Server?
- Cannot open database “test” requested by the login. The login failed. Login failed for user ‘xyz\ASPNET’
- MS SQL compare dates?
- The backend version is not supported to design database diagrams or tables
- Determine ROW that caused “unexpected end of file” error in BULK INSERT?
- Determine ROW that caused “unexpected end of file” error in BULK INSERT?
- What is the maximum characters for the NVARCHAR(MAX)?
- Get size of all tables in database
- Exclude a column using SELECT * [except columnA] FROM tableA?
- Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 4 (Year)
- Why is SQL server throwing this error: Cannot insert the value NULL into column ‘id’?
- Fatal error: Call to undefined function sqlsrv_connect()
- Conversion of a datetime2 data type to a datetime data type results out-of-range value
- Bulk load data conversion error (truncation)
- How to format a numeric column as phone number in SQL
- How do I fix the multiple-step OLE DB operation errors in SSIS?
- SQL Server: Error converting data type nvarchar to numeric
- SQL – WHERE (X, Y) IN (A, B)
- What datatype should be used for storing phone numbers in SQL Server 2005?
- SQL “select where not in subquery” returns no results
- ListAGG in SQLSERVER
- Why SQL Server throws Arithmetic overflow error converting int to data type numeric?
- Format number as percent in MS SQL Server
- ‘CREATE PROCEDURE’ must be the only statement in the batch (Erro)
- Errors: “INSERT EXEC statement cannot be nested.” and “Cannot use the ROLLBACK statement within an INSERT-EXEC statement.” How to solve this?
- To add server using sp_addlinkedserver
- How to connect to a local database in SQL Server Management Studio?
- How to calculate age (in years) based on Date of Birth and getDate()
- Solutions for INSERT OR UPDATE on SQL Server
- Text was truncated or one or more characters had no match in the target code page including the primary key in an unpivot
- How can I group by date time column without taking time into consideration
- What are named pipes?
- SQL Client for Mac OS X that works with MS SQL Server
- SHOWPLAN permission denied in database ‘tempdb’. in sql server 2008
- Append table to an existing one: SQL Server
- SQL Server – An expression of non-boolean type specified in a context where a condition is expected, near ‘RETURN’
- “select * into table” Will it work for inserting data into existing table
- CASE IN statement with multiple values
- Update query using Subquery in Sql Server
- Using Excel VBA to run SQL query
- Pad a string with leading zeros so it’s 3 characters long in SQL Server 2008
- How to connect to database from Unity
- Windows Server restart / shutdown history
- How do I make a connection private on Windows Server 2012 R2