Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all 5760 articles
Browse latest View live

SQL Server 2014 SP2 - What should be the sequence to apply SP3, CU & Security Patches

$
0
0


Hi,

I have SQL Server 2014 SP2. I need to apply SP3, CUs & Security patches to it. What should be the sequence? Is the below correct sequence: 1) Apply SP3, 2) Apply CU3 3) Apply 4505422 Security Update for SQL Server 2014 SP3 CU3 GDR:July 9,2019 CVE-2019-1068. 


WmiPrvSE.exe using files to upgrade SQL server Cumulative Update.

$
0
0

I am DBA of SQL Server 2014 Enterprise SP2. SQL server is installed on Windows Server 2012 R2 Standard that is virtual server.

I got this warning message as below during 'Check File in Use' process when I manually patch kb4505419 to upgrade my SQL server from SP2-CU11 to SP2-CU17.

I forcedly stop two process WMI Provider Host from task manager as below, then I could go on patching process.

My concern is what is the cause of the warning message. What can I do not to show this message up from next time?

I also would like to know if I do patching for SQL server, should I stop the all SQL server services before patching?

Any advice will be appreciated.  

Check FIle in Use of upgrading SQL server Cumulative Update

$
0
0

I am DBA of SQL Server 2014 Enterprise SP2. SQL server is installed on Windows Server 2012 R2 Standard that is virtual server.

I got this warning message as below during 'Check File in Use' process when I manually patch kb4505419 to upgrade my SQL server from SP2-CU11 to SP2-CU17.

I forcedly stop two process WMI Provider Host from task manager as below, then I could go on patching process.

My concern is what is the cause of the warning message. What can I do not to show this message up from next time?

I also would like to know if I do patching for SQL server, should I stop the all SQL server services before patching?

Any advice will be appreciated.  


SQL Server with SSIS and SSAS in-place upgrade form 2016 to 2017

$
0
0

We are doing an in-place upgrade of SQL Server 2016 with SSIS & SSAS to SQL Server 2017.

Microsoft documentation shows the process. SQL Server part pretty straight forward but I got few questions about SSIS & SSAS as I don't know much knowledge about these Services.

SSIS

After upgrade, I will end up with 2 versions of SSIS Services (SSIS 13.0 and SSIS 14.0). Do I need to stop and disable the SSIS 13.0 ? or it needs to be remain place until the developers have upgraded the existing SSIS packages from 2016 to 2017 ?

The documentation says the packages will automatically get upgraded at run time (temporary) every time they are run. Does the SSIS packages automatically run under SSIS 14.0 after upgrade or I need to change something (like SSISDB compatibility or update package individually somewhere) before they can run and until then they will continue to run in SSIS 13.0 compatibility mode.

When can the SSIS 13.0 service stopped/disabled ?

Can it be removed (and how its uninstalled) or it shouldn't be removed ?

SSAS

Is there anything I need to do explicitly post upgrade from Administration/configuration level for SSAS?


Install sql browser service

$
0
0

One of our admins accidentally deleted it from Windows Server's Programs and Features menu. I can't seem to find it listed anywhere when I rerun setup. I installed Client Tools from the installation menu but that has not restored it.

Any help would be much appreciated.

SQL on Linux on RAW partitions?

$
0
0

Almost no one used raw partitions on Win for SQL storage as it was discouraged by MS, but is Linux different?  Is it even possible in SQL on Linux?

FYI: SQL supported (supports??) raw partitions on Windows for storage, who knew ¯\_(ツ)_/¯

SQL Network Speed reduced ocasionally

$
0
0

Hi All,

Urgently need advice on a network speed limitation in a domain network environment.

I have a brand new server installation running MS Windows Server 19. The third party software VMaster using the SQL database was installed by there company. (Im a SQL beginner)

on this network there are 10 pc that running the VMaster (the program) that needs to access the SQL database on the server.

Occasionally and with no apparent pattern different computers are reduced to a network traffic of no more than 2MB/s. While the pc is limited like this i can copy any other files over the network with full speed, it only limits the SQL traffic. This behavior is seen over the whole network with all machines but not simultaneously.  one might be limited the rest work fine, then 3 might be limited the rest work fine. all might be limited. and with no apparent reason the limitation is lifted and the pc works fine again.

The VMaster support is ambient that it has nothing to do with them. I how suspect that there might be a setting in SQL that dose this. 

Any advice will be appreciated.


SQL Server 2012 Consolidation and Rationalization

$
0
0

Hello There,

 Kindly advise me pointer and useful inputs, views to consider on the SQL Server 2012 consolidation and Rationalization.

 In our environment there are 40 SQL Server Instances running. Business like to consolidate them as much as possible.

1 Where to start

2. what are the criteria,

3. how to assess the current performance

4. how to validate to ensure in terms performance and security post consolidation

Thanks, Siva SQL


Sivaprasad S http://sivasql.blogspot.comPlease click the Mark as Answer button if a post solves your problem!


How to change default installtion path for configuration file?

$
0
0

As title, do you have any idea for changing default installation path for configuration file?

The default path is C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\2019_0723_883984\Configuration file.init but I want to change this path.

Thank you

remove app server with db on dedicated SQL

$
0
0

Hi,

I am going to remove an app server that has DB on dedicated (shared with others DBs) SQL server.

So my plan is :

1. Remove app server.

2. In visual studio of SQL server right click\delete the DB of removed app server.

Do I need to perform any other actions?

Thx.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

Not able to apply SQL Server 2012 patch - SP4

$
0
0

We tried applying SQL Server 2012 SP4 + Hot fix patch on 2012 SP3 SQL Server. But it didnt allow us to complete the wizard. Error came up in the select features as "There are no sql server instances or shared features that can be updated on this computer". 

SQL Discovery report where SP3 is showing. 

In windows registry & Installed updates, its showing the SP4 updates under SQL Server VSS writer & SQL Server Browser. Where am i missing here ? 

Error in SQL Agent Logs

$
0
0

We have a number of servers/instances running 2016.  One of the instances has an issue with SQL Agent jobs, such that for every job history record, there is an error in the error log:

[298] SQLServer Error: 14624, At least one of the following parameters must be specified. "@body, @query, @file_attachments, @subject". [SQLSTATE 42000] (ConnExecuteCachableOp)

Tried:

  • Removing all notifications from all jobs, even though they were all configured as failure responses
  • Changing the "Include body..." selection
  • Changing "Enable mail profile" selection
  • Deleted and recreated mail account and mail profile

...however the issue persists.

Tried removing the mail configuration from SQL Server, but that just changes the error:

[298] SQLServer Error: 14636, No global profile is configured. Specify a profile name in the @profile_name parameter. [SQLSTATE 42000] (ConnExecuteCachableOp)

Any help would be appreciated.

Recent Upgrade from SSMS 2008 R2 to SSMS 2014

$
0
0

I recently upgraded from SSMS 2008 R2, to SSMS 2014. 

I downloaded  the SP3 update for 2008, and ran the install. I think install 2014, utlizing the upgrade option.

The upgrade appeared to work, and DB opens in SSMS2014

The problem I am running into is that, I am attempting to upgrade a software that runs a Pre-checker to ensure the server meets the required specs, and SQL is at the very least on 2014.

When the Pre-checker runs, it indicates that SQL does not meet the minimum. I called the company who owns the pre-chcker and they said it's a windows issue.

I am curious what would cause windows to still think SMS 2008 R2 as being the the primary, even though 2014 has been installed. 

Is there a registry key, or something I need to do to make 2014 be the primary

Patching Requirements/Best Practice before Major Version/SP Upgrade

$
0
0

I have a specific scenario to ask questions; however, my goal to identify the general requirement or best practice when upgrading major version or service pack.


We want to upgrade SQL Server 2016 SP1 (GDR "Train") to SQL Server 2017 Latest CU (CU15).  We will perform New Installation with Migration Upgrade.

The questions are as follows, please indicate as well ALL that apply as well a) REQUIRED b) BEST PRACTICE c) NOT REQUIRED d) NOT RECOMMENDED:

1. Should we perform mini-upgrade/CU Patch IN PLACE for SQL Server 2016 SP1 (GDR "Train) to SQL Server 2016 SP2 latest CU (CU7)PRIOR TO Migration Upgrade?

2. If yes to above, should we apply latest CU on SQL Server 2016 SP1 (GDR "Train") prior to SQL Server 2016 SP2 mini-upgrade?

PLEASE EXPLAIN?

Don't forget to apply a-d from above for each question.


Legacy tool can't connect to newer version of SQL server, what are the workaround options?

$
0
0

We are trying to upgrade our SQL Server from 2012 to the SQL Server 2017, the main problem we are facing is one of the legacy reporting tools can't connect to SQL Server 2014 or higher.  

Long story short, we can't upgrade this legacy product  and it's will be too time consuming to migrate all the existing reports to another reporting tool.

Since reports are read-only, we are considering upgrade the main SQL server to SQL Server 2017, then setup a SQL Server 2012 instance and let it use linked server connection and point to tables/views needed by the reports.
Therefore this SQL Server 2012 instance will contain no actual data, just a lot of views/synonyms that have the same database & object names which linked to the primary SQL Server 2017 server.  

The main concern with this setup is all the join statements used by reports will become link-server joins and we will run into query performance issues  (some of the underlying tables used by reports are huge).

Is there any other way to work around such problem?  



Networking or Speed Difference between Windows Authentication and SQL Serve Authentication

$
0
0

We merged with another company; both sides have their own SQL Servers in different locations and data centers.

Before the Domain Trust was in place, people from both sides were accessing to other side's databases with SQL Server Authentication (temporary solution).

Now the Domain Trust is established, and we can use Windows Authentication (will be the long term, permanent solution) to connect and pull data from each other's SQL Servers.

The issues is.... connecting with Windows Auth is about eight times slow, and pulling data is at least three times slow compared with SQL Authentication.

Any idea why it is so, and any idea how we can make Windows Authentication as fast as SQL Authentication.

Thank you for your help.


Can I install SQL Server 2017 dev edition as the default instance, even though I have a full version of 2014 installed?

$
0
0

Hello,

I have one of the full versions of SQL Server 2014 installed (not sure how to tell exactly which, but definitely a paid one), and want to upgrade to a newer version. I'm a developer, so am eligible to use the free developers edition, but would like to completely replace my existing installation with the new one.

Is this possible? Previous experience with trying to uninstall SQL Server was not pretty. I've tried it a few times (not on this machine), and never managed to get it off completely, so when I tried to install a newer version, it wanted an instance name, and wouldn't let me install is as the default instance.

Anyone able to advise? Thanks

Instances

$
0
0

I have been working with SQL for years as a program.  Until my most recent job ALL databases on server I had seen were in one instance.  At my current job each database is in it's own instance.

In all instances there were about 5-6 databases at the most.

Question is which is correct or best?

I am about to move everything from a 2008 server to the newest server and if this is bad I have a good opportunity to correct it.

Thanks,

Derrell Gore

How to automate actions based Cluster Validation Test results?

$
0
0

In windows clustering you can run a "Cluster Validation Report" either from the Cluster Administration Console or from PowerShell using Test-Cluster.

However, the output is an .htm file, which isn't really super helpful compared to getting a list of True/False values like you would expect from a "proper" PowerShell cmdlet 😉

So, my question is whether anyone knows of a way to pass the results from Test-Cluster on, so I can build something that can fix the settings that failed?
Or do I really only have a choice between inventing the wheel by creating a bunch of tests myself, or manually reading a report?

I find it hard to really believe that this is something that hasn't been automated yet?

I have been googling fairly hard, but haven't been able to find any tooling around this already.
(I did suggest fixing our build pipeline so we could have a success-rate higher than 15% on new clusters, but apparently that's not popular ¯\_(ツ)_/¯)

ps. currently I'm looking at whether I can parse the htm file that is output, but meh -__-

problems connecting?

$
0
0

Hey

Today I startet having problems connecting to my SQL Server on a linux instance from SSMS

It trows this error:

"A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - An existing connection was forcibly closed by the remote host.) (.Net SqlClient Data Provider)"

Anybody knows how to fix this?

Viewing all 5760 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>