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

Upgradation - SQL Server 2008 SE r2 to SQL Server 2017 Web Edition

$
0
0

Hello,

We have a Production Database running on SQL Server 2008 Standard Edition R2 and now we would like to upgrade to SQL Server 2017 Web Edition.

Is it possible to upgrade? If yes, pls let me know the best practice to upgrade to SQL 2017 Web Edition and the best possible approach.

Regards,

Preeth


SQL Server 2012R2 operating system compatibility/support

$
0
0

Does anyone know what operating systems I can run SQL Server 2012R2 on and it be supported by MS?

Thanks

Installation of Microsoft ODBC Driver for SQL Server 17 is corrupt after silent install

$
0
0

Hey,

I'm dealing for days now with a strange behaviour of the 'msodbcsql_17***.msi'. If I do a silent install of this MSI as part of a chained msi of an InstallShield 'Basic MSI' Setup, I can't configure the ODBC driver (create a DSN) after successfull installation. Eventlog logs: "eventid 1, ...maybe the installation of this component is corrupt...". Even doing a 'Repair' install does niot help.

The strange thing: If I install the same MSI Package by doubble clicking (with full UI) on the same system all is functional fine.

The cmdline parameters used for installing as chained MSI are: /qn /i"<...>\msodbcsql_17.4.1.1_x64.msi" IACCEPTMSODBCSQLLICENSETERMS=YES ADDLOCAL=SQL_SQLODBC_CORE APPGUID="{BF95F113-EEE5-4AA4-B71D-53CDF0F8D9A1}"

But even without the "ADDLOCAL" und "APPGUI" properties it's the same problem. Without the "IACCEPTMSODBCSQLLICENSETERMS" property the install fails (as documentated).

Did anyone here managed to install this silent and it's functional after that?

Thanks in advance for any tip.

Ron

Failed to apply patch on one of the SQL Server Instance on Active/Passive Cluster

$
0
0

Hi,

I am trying to apply patch "SQLServer2016SP2-KB4052908-x64-ENU" on one of the SQL server instance but when the process bar goes on 90%, the SQL Server resources wend down (this is an active/passive cluster environment) with a message that patch has failed and check the log fine.

Following is the log file details. Any help would be appreciated and the Directory on H drive is there.

Overall summary:
  Final result:                  The patch installer has failed to update the following instance: GIS. To determine the reason for failure, review the log files.
  Exit code (Decimal):           -2068709375
  Start time:                    2019-09-05 20:36:51
  End time:                      2019-09-05 20:39:24
  Requested action:              Patch

Instance GIS overall summary:
  Final result:                  The patch installer has failed to update the shared features. To determine the reason for failure, review the log files.
  Exit code (Decimal):           -2068709375
  Exit facility code:            1202
  Exit error code:               1
  Exit message:                  The directory 'h:\402d870b9c39bb37ca\' doesn't exist.
  Start time:                    2019-09-05 20:38:20
  End time:                      2019-09-05 20:39:14
  Requested action:              Patch
  Exception help link:           http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=13.0.5026.0&EvtType=0xD8D7A361%400xF762992B%401202%401&EvtType=0xD8D7A361%400xF762992B%401202%401

Cluster properties:
  Machine name: PDC01SRV006B
  Product              Instance             Instance ID                    Feature                                 Language             Edition              Version         Clustered  Configured
  SQL Server 2016      ECM                  MSSQL13.ECM                    Database Engine Services                                     Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    SQL Server Replication                                       Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    Full-Text and Semantic Extractions for Search                     Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    Data Quality Services                                        Standard Edition     13.0.1601.5     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Database Engine Services                                     Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    SQL Server Replication                                       Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Full-Text and Semantic Extractions for Search                     Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Data Quality Services                                        Standard Edition     13.0.1601.5     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Database Engine Services                                     Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     SQL Server Replication                                       Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Full-Text and Semantic Extractions for Search                     Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Data Quality Services                                        Standard Edition     13.0.1601.5     Yes        Yes       

  Machine name: PDC01SRV006A
  Product              Instance             Instance ID                    Feature                                 Language             Edition              Version         Clustered  Configured
  SQL Server 2016      ECM                  MSSQL13.ECM                    Database Engine Services                1033                 Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    SQL Server Replication                  1033                 Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    Full-Text and Semantic Extractions for Search 1033                Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    Data Quality Services                   1033                 Standard Edition     13.0.1601.5     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Database Engine Services                1033                 Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    SQL Server Replication                  1033                 Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Full-Text and Semantic Extractions for Search 1033                Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Data Quality Services                   1033                 Standard Edition     13.0.1601.5     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Database Engine Services                1033                 Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     SQL Server Replication                  1033                 Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Full-Text and Semantic Extractions for Search 1033                Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Data Quality Services                   1033                 Standard Edition     13.0.1601.5     Yes        Yes       

Machine Properties:
  Machine name:                  PDC01SRV006A
  Machine processor count:       20
  OS version:                    Microsoft Windows Server 2016 Standard (10.0.14393)
  OS service pack:               
  OS region:                     Australia
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          64 Bit
  OS clustered:                  Yes

Product features discovered:
  Product              Instance             Instance ID                    Feature                                 Language             Edition              Version         Clustered  Configured
  SQL Server 2016      ECM                  MSSQL13.ECM                    Database Engine Services                1033                 Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    SQL Server Replication                  1033                 Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    Full-Text and Semantic Extractions for Search 1033                Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      ECM                  MSSQL13.ECM                    Data Quality Services                   1033                 Standard Edition     13.0.1601.5     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Database Engine Services                1033                 Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    SQL Server Replication                  1033                 Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Full-Text and Semantic Extractions for Search 1033                Standard Edition     13.1.4457.0     Yes        Yes       
  SQL Server 2016      GIS                  MSSQL13.GIS                    Data Quality Services                   1033                 Standard Edition     13.0.1601.5     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Database Engine Services                1033                 Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     SQL Server Replication                  1033                 Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Full-Text and Semantic Extractions for Search 1033                Standard Edition     13.2.5264.1     Yes        Yes       
  SQL Server 2016      F1                   MSSQL13.F1                     Data Quality Services                   1033                 Standard Edition     13.0.1601.5     Yes        Yes       

Package properties:
  Description:                   Microsoft SQL Server 2016 
  ProductName:                   SQL Server 2016
  Type:                          RTM
  Version:                       13
  SPLevel:                       2
  KBArticle:                     KB4052908
  KBArticleHyperlink:            http://support.microsoft.com/?kbid=4052908
  PatchType:                     SP
  AssociatedHotfixBuild:         0
  Platform:                      x64
  PatchLevel:                    13.2.5026.0
  ProductVersion:                13.0.1601.5
  GDRReservedRange:              13.0.1700.0:13.0.1899.0;13.0.4200.0:13.0.4299.0
  Installation location:         h:\402d870b9c39bb37ca\x64\setup\

Updated product edition:
  Instance             Edition             
  GIS                  Standard            

User Input Settings:
  ACTION:                        Patch
  ALLINSTANCES:                  false
  CLUSTERPASSIVE:                false
  CONFIGURATIONFILE:             
  ENU:                           false
  HELP:                          false
  IACCEPTROPENLICENSETERMS:      false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTANCEID:                    <empty>
  INSTANCENAME:                  <empty>
  MRCACHEDIRECTORY:              
  QUIET:                         false
  QUIETSIMPLE:                   false
  SUPPRESSPRIVACYSTATEMENTNOTICE: false
  UIMODE:                        Normal
  X86:                           false

Rules with failures:

Global rules:

There are no scenario-specific rules.

Rules report file:               C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\Log\20190905_203651\SystemConfigurationCheck_Report.htm

Upgrading SQL Server Express LocalDB

$
0
0

I got workstation which is Windows 10 Enterprise Version 1803. Recently vulnerability scan gives me the following critical finding that said unsupported version of SQL server version is running.

My most concern is I have never installed SQL server to the workstation. This is client machine and workstation for development, and it is installed SQL Server Management Studio version 17 in this workstation to connect to DB server, but not installed SQL Server application itself. The finding looks like not about general SQL Server or SQL Serer Express, and it is about SQL Server Express LocalDB, and I think this unsupported version is originally came from installing Visual Studio Professional 2015 version 14 Update 3 to this workstation, but I am not sure yet, so I would like to ask a couple of questions.

(1) Is my understanding correct that when you install Visual Studio, it also installing SQL Server Express LocalDB automatically as well?

(2) How can I upgrade version of SQL Server Express LocalDB to 13.0.4001.0?

Any advise will be gratefully appreciated. Thank you..

Edition upgrade on SQL Server failover clustered instance

$
0
0

Hi,

I need to upgrade MS SQL Standard Edition to Enterprise Edition. Details are below:

1. Current MS SQL Edition and Version : MS SQL Server 2012 R2 Standard Edition.

2. Windows machine details where current DB is running : Windows Server 2012 R2

3. Enterprise Version details to be upgrade : MS SQL Server 2012 R2 Enterprise Edition.

4. Current System: One active and other passive mode

My requirement is to upgrade Active-Standby current structure to Enterprise version.

Please help me how can I do this in step by step way, please also suggest if it is required to take DB backup and  Roll back plan.

Please also suggest how does the upgrade of edition works on 2 node cluster with SQL ServerFailover Cluster?

Thanks

High CPU usage After installing KB4505222 for SP2 2016

$
0
0

Hi All,

We recently applied hotfix KB450522 to our MS SQL SERVER 2016, and we are having issues with high cpu usage, things are 2 to 6 times slower.  We tried uninstalling the patch but the high CPU issue remains.  We then decided to install the latest CU, CU8, Nothing changed we are still seeing high CPU usage and slow performance.  Has anyone else had this happen?  Does anyone have any suggestions on what to do?

Mainstream support end date sql server 2014 sp3

$
0
0

Does anyone know?

The Microsoft Life cycle support page does not provide any information for such


Upgrade SQL Server 2016 to 2015.131.5101.9

$
0
0

I got Windows 10 workstation that installed Visual Studio 2015 Professional with SQL Server Express 2016 LocalDB. Recently vulnerability scan give me the following critical finding. I need to upgrade the SQL server Express to version 2015.131.5101.9

As following to my research, I though the following Microsoft page is the one to upgrade it because it is written exactly same file version number in the Summary section.

Description of the security update for SQL Server 2016 SP2 GDR: July 9, 2019

It cannot connect to internet from my workstation, so I download a patching for standalone from Microsoft Catalog below as following to the section [Method 2: Microsoft Update Catalog] in the above link.

Security Update for SQL Server 2016 Service Pack 2 GDR (KB4505220)

I could completed to install the patch, but the version of the setup.exe that vulnerablity scan mentioned is not changed after the patching and reboot.

C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\SQLServer2016\setup.exe

Does anyone know how to upgrade the version of the setup.exe file to 2015.131.5101.9? Any advice will be gratefully appreciated it.


SQL server LocalDB

$
0
0

Hi. I got Windows 10 workstation that got installed Visual Studio 2015 Professional. I just found out when I installed the visual studio, it also installed "SQL server LocalDB" with it.  I need to upgrade the version of the "SQL server LocalDB" to the supported version as following to the latest scan result of vulnerability scan to my workstation.

My concern is I am not really sure what SQL Server LocalDB is. It seems like small database for local development with C#/visual studio. Here are my question I need some help...

(1) Is SQL Server LocalDB is different with SQL Server Express?

(2) If I need to upgrade the version of the SQL Server LocalDB, should I download the latest version of "SQL server Express"? I found the link to download from Microsoft page, but I am not sure this can be used for upgrading the LocalDB..

SQL Server 2017 Express edition

If there is anything wrong on my understanding, please correct me. Any advice will be gratefully appreciate it. Thank you.

SQL Server 2016 Install error

$
0
0

Hi,

I am getting below error while installing SQL Server 2016 with SP2 (Slipstream) on Windows Server 2016. Please help if you have faced similar issues.

Error Screenshot:



Bootstrap log:

Using Upgrade Advisor 2012 version

$
0
0

We have planned to SQL Server upgradation from SQL Server 2012 RTM version to SQL Server 2012 SP4 version.

Before implementing the change we have  executed the SQL Server 2012 Upgrade Advisor Tool in the server and we are facing below error in the tool.

"SQL Server version: 11.00.2100 is not supported by this release of Upgrade Advisor, only SQL2005, SQL2008 or SQL2008 R2 is supported."

So which version of Upgrade Advisor Tool version should be used before upgradation from SQL Server 2012 RTM version to SQL Server 2012 SP4 version.

SQL Server upgradation from SQL Server 2012 RTM version to SQL Server 2012 SP4 version

$
0
0

We have planned to SQL Server upgradation from SQL Server 2012 RTM version to SQL Server 2012 SP4 version.

can we upgrade the sql server 2012 RTM version to SQL Server 2012 SP4 version directly using the kb 4018073 which is used for upgrading from sql server 2012 SP3 to SP4  or we have do it step from RTM to SP1 , SP1 to SP2 , SP2 to SP3 , SP3 to SP4

Please suggest us how to complete it in one step.

Configuring Change Data Capture

$
0
0

Hey All,

I am new to administrating SQL servers and have been tasked with enabling change data capture after all the data one of our critical tables was somehow deleted.  I was directed to this link by a coworker, but he has never enabled CDC before and wished me good luck.  The document has helped me get to the point where I am ready to enable CDC on the table itself, but I am confused about the gating roles setting and how to configure it for my users.  I would like to make it so that anyone with the ability to write to the table is tracked, but I don't want to limit myself to only those people in that role.  I would like admins to be tracked as well for security reasons.

Here is an example of the command I need to execute:

USE MyDB  
GO  
EXEC sys.sp_cdc_enable_table  
@source_schema = N'database1',  
@source_name   = N'dataTable',  
@role_name     = N'MyRole',  
@supports_net_changes = 1  
GO

Should I worry about specifying the gating role, or should I list it as NULL?  Does NULL apply the tracking to everyone or no one?  Also, I may have to apply this to multiple tables.   Can I chain the tables in the source name or should I run this command for each table?

Thank you for your help and I look forward to your responses.


Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

In Place Upgrade Failing

$
0
0
I need to perform an in place instance upgrade of SQL 2008 R2 SP3 to SQL 2017 express editions.  I was receiving errors about mapping accounts and that issue seems to be resolved.  Now the upgrade gets to the end without any error pop-ups but the instance upgrade still fails.  I have reviewed the log files and nothing is jumping out as the issue.  Any help would be greatly appreciated.

Migarting SQL cluster to SQL high availability

$
0
0

Hi

Our current SQL server setup runs with 3 X Windows 2016 servers in failover cluster with 2 X SQL instances. All applications refer the SQL by "Instace\SQLSrvrName". Our management asks to migrate all these clustered instances to SQL high availability model because of various including limitation with backup to take clustered hosts. We never configured SQL high availability, looking for an option to migrate the clustered / multiple instance SQL to high availability with minimum downtime. Also it's hard to change the SQL server reference in all apps, so if possible we have to keep the same format even after migrating to SQL HA model.

Thanks in advance


LMS

Run SQL Server Setup with 'As Admin' option

$
0
0

Hi,

For a user with local admin rights, is there any difference to run SQL setup As Admin vs runnig the setup without this option? I read somewhere in the past that we should never run the setup with 'As Admin' option, I am installing SQL with 'As Admin' option and never face any issue, do you know a case when this could generate an issue or this is just a myth ?

Best regards




Import query execution plan from SQL Server 2008 to SQL Server 2017 instance

$
0
0

Hi,

Recently we have upgraded our production instance from SQL server 2008 to SQL Server 2017. All Query and Stored procedures are running fine except one query is running slow in new instance after up-gradation. In SQL Server 2008 the query takes 7 minutes to execute but in 2017 it takes 50 minutes to executes.

If I change the compatibility level of the 2017 instance to 100 (2008) then the query take 7 minutes to executes.

I need to keep the database compatibility level 140 (2017). Is there any way I can run this particular query with compatibility level 2008. 

I saw some site trace flag '9481' can be enable in SQL Server 2014 to run query behave like 2008. Is there any similar trace flag for SQL Server 2017?

Or is there any way to export the query plan from SQL Server 2008 instance and import to SQL Server 2017?

Regards

Arif

SQL Server 2017 Express to Standard in place upgrade

$
0
0

Hi,

I know the mechanics of how I upgrade a 2017 Express install to 2017 Standard and have the key and licence.

I'm not envisaging any issues, however are there any gotchas or caveats that I should be aware of from someone who has done this?

thanks!



Server Upgrade

$
0
0

Greetings!

I am in the process of upgrading all of my servers from Server 2008R2 to Server 2012 as a transitional step to eventually getting my shop to Server 2016.

One of my servers is running SQL Server 2008R2 (10.50.6560).  I am thinking that I should upgrade the Windows Server to 2012 first before upgrading SQL Server.  Is this OK?

Thanks,

Ken


Ken Carter

Viewing all 5760 articles
Browse latest View live


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