Quantcast
Channel: SQL Server Setup & Upgrade Forum
Viewing all 7701 articles
Browse latest View live

SQL Server Agent MSSQLSERVER & SQL SERVER ( MSSQLSERVER) cannot start from SQL Server Configuration

$
0
0

Hello,

I try to start MSSQLSERVER and SQL Server Agent(MSSQLSERVER) from SQL Server Configuration Manager, but I cant.

the Protocols for MSSQLSERVER VIA is Disable .

My Error Say:

The request failed or the service did not respond in a timely fashion. Consult the event log or other application error logs for details.


Cannot install CU - The baseline msi is not installed. The patch package is ignored.

$
0
0

Hi All,

The story begins one of our SQL Server cluster didn't get update from software center, and then I found in Software Center it says "install ignored" or message like this, as other SQL server clusters get upgraded successfully, I did investigation on this cluster to see what happened.


Firstly I checked the current version on one node of this cluster, which is on 12.0.5203.0

The other clusters have been upgraded to 12.0.5532(KB #3194718), so I tried to manually install this CU on this cluster to keep them consistent, however I got below error:

.....

(01) 2017-01-30 09:28:33 Slp: Sco: File 'g:\2996ba839d9f530ebdc2\x64\setup\sql_engine_core_inst_msi\x86\sql_engine_core_inst.msp' does not exist
(01) 2017-01-30 09:28:33 Slp: Sco: File 'g:\2996ba839d9f530ebdc2\1028_CHT_LP\x64\setup\sql_engine_core_inst_loc_msi\x64\sql_engine_core_inst_loc.msp' does not exist
(01) 2017-01-30 09:28:33 Slp: Sco: File 'g:\2996ba839d9f530ebdc2\1031_DEU_LP\x64\setup\sql_engine_core_inst_loc_msi\x64\sql_engine_core_inst_loc.msp' does not exist

....

(01) 2017-01-30 09:28:38 Slp: Package sql_engine_core_inst_Cpu64: - The path of cached MSI package is: C:\Windows\Installer\59b76a.msi . The RTM product version is: 12.0.2000.8
(01) 2017-01-30 09:28:38 Slp: Baseline Package Id sql_engine_core_inst_Cpu64 - The highest patch version is 12.2.5203.0
(01) 2017-01-30 09:28:38 Slp: Patch Id KB3194718_sql_engine_core_inst_Cpu64 - NotInstalled on the baseline msi package sql_engine_core_inst_Cpu64.  Detail description of this patch package is: PatchId=KB3194718_sql_engine_core_inst_Cpu64 PatchVersion=12.2.5532.0 BaselinePackageId=sql_engine_core_inst_Cpu64 BaselineVersion=12.2.5000.0; PatchFileName=sql_engine_core_inst.msp PatchCode={83CDFF67-D679-4D22-9F54-E80213C71B68}
(01) 2017-01-30 09:28:38 Slp: Sco: File 'g:\2996ba839d9f530ebdc2\x64\setup\sql_engine_core_inst_msi\x64\sql_engine_core_inst.msp' does not exist
(01) 2017-01-30 09:28:38 Slp: Patch Id: KB3194718_sql_engine_core_inst_Cpu32 - The baseline msi is not installed.  The patch package is ignored.

...

(01) 2017-01-30 09:30:38 Slp: Error result: -2061893565
(01) 2017-01-30 09:30:38 Slp: Result facility code: 1306
(01) 2017-01-30 09:30:38 Slp: Result error code: 67
(01) 2017-01-30 09:30:38 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2017-01-30 09:30:38 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\120
(01) 2017-01-30 09:30:38 Slp: Sco: Attempting to get registry value CustomerFeedback

*detailed file can be found at https://drive.google.com/open?id=0B-eTNxeeWhHfU2t2S3UtMWl4dWc

I then checked https://technet.microsoft.com/library/security/ms16-136 to see if I missed anything:

-------------------------------------------------------

What are the GDR and CU update designations and how do they differ? 
The General Distribution Release (GDR) and Cumulative Update (CU) designations correspond to the two different update servicing branches in place for SQL Server. The primary difference between the two is that CU branches cumulatively include all updates for a given baseline, while GDR branches include only cumulative critical updates for a given baseline. A baseline can be the initial RTM release or a Service Pack.

For any given baseline, either the GDR or CU branch updates are options if you are at the baseline or have only installed a previous GDR update for that baseline. The CU branch is the only option if you have installed a previous SQL Server CU for the baseline you are on.

-------------------------------------------------------

My first thought if I missed a version(or software center missed a version), so I downloaded 12.0.5522(KB #3188778) and tried to install, then got this:

A SQL Server update with a higher version has already been installed on SQL Server instance INSTANCE1, so the current SQL Server update cannot be applied. The version of the SQL Server update that is already installed is GDR 12.2.5203.0(12.2.5530.0) with a KBKB3194714 and the current SQL Server update is 12.2.5522.0 with a KBKB3188778.

I am confused by this sentence "The version of the SQL Server update that is already installed is GDR 12.2.5203.0(12.2.5530.0) with a KBKB3194714 and the current SQL Server update is 12.2.5522.0 with a KBKB3188778."  so the version is already installed is 12.2.5203.0 or 12.2.5530.0? I believe it is 12.2.5203.0 as it is same as the @@version, if that is the case the CU should install because 12.2.5530 is higher than 12.2.5203.0!

Could not locate the service

$
0
0

hi - I am hoping that someone can help with this.

I have a new server (2008R2SP1) and Installed SQL 2008R2 SP3 Database and Management tools only.

All looks like it has installed correctly, however when I try to stop the SQL service from the SQL Server Management Studio I get the Error "Could not locate the Service".

I can stop the services correctly from both the Services.msc and the SQL Server Configuration Manager.

I can see that the SQL Server Management Studio uses the command

"C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\ControlService.exe" -computer <SERVERNAME> -service MSSQLSERVER -stop

So if I run that command from an elevated Command Prompt I get the same result "Could not locate the Service".

I have tried reinstalling but to no avail.

does anyone have experience with this issue?

Many thanks,

Alan


Regards, Alan

Confirm SQL Cluster does not need to remain as an Active Directory account?

$
0
0

Just a question in regards to a customer that no longer wants to use Active Directory for their SQL Authentication and just use SQL and an SA account? But from what I know about Windows Clustering along SQL in a cluster there would have to be some sort of communication with an Active Directory domain and an account that has some sort of access at the AD Level?

This is just a basic yes or know and just want to confirm this.

Thanks

Freddie

Does SQL Backup Jobs need to have an Active Directory account to run?

$
0
0

Trying to get this validated and confirmed since I already know if you create a SQL User account and assign it rights to run jobs, the account does not have to be an Active Direct Account, but I wanted someone to reiterate this for me.

Thanks

Freddie

Does Database Owner required to be an Active Directory Account?

$
0
0

This is just to confirm as long as you created the original DBO OWNER with a non-AD account this will flow throughout the Database as you create additional Databases and objects correct?

Thanks

Freddie


Will any SQL users will be re-populated on database restoration in the event of problems?

$
0
0

Need to seriously validate if you need to restore and entire database, but have created many users within that database will the restore also bring back all securities that were previously setup and configured.

I was under the impression as long as you backed up the Master Database and had it available when you did the restore all user accounts would be re-populated?

Thanks

Freddie

Mirror 2016 SQL DB

$
0
0

Hi Guys,

Do you have a link to mirror SQL DB 2016 ?

First machine is a VM and the backup server is a physical machine.

Both Machine is running server 2016 standard.

Thank you!

Sid


SQL Server 2016 : Failed to start debugger

$
0
0

Hi Team,

I am getting the below error when trying to debug procedure in remote server - SQL Server 2016.

TITLE: Microsoft SQL Server Management Studio
------------------------------

Failed to start debugger

------------------------------
ADDITIONAL INFORMATION:

Data is Null. This method or property cannot be called on Null values. (System.Data)

------------------------------
BUTTONS:

OK
------------------------------

Please help me in resolving the issue.

Thanks,

Anilkumar


SQL server license product key not found in VLSC site

$
0
0

Dear All,

I have installed SQL server 2012 on windows server 2012 r2. We have purchased 2 SQL 2014 license. So I downloaded SQL server from VLSC site. But there is no key found for SQL server. How I can put license key info in our SQL server? It will expire if do not put key?


Thanks,

Kamrul

Changing DataBase from sql server 2008R2 to 2016

$
0
0

Hello

        There are some features that are deprecated in sql server and are mentioned in Microsoft site but when i use it in both versions it parses in both , i have a question that if i have to change them  or not , is then any problem when i change the version  and the capabability of DB ?? bellow are the features that is used in sqlserver 2008r2.

DBCC DBREINDEX
DBCC SHOWCONTIG
CREATE TABLE, ALTER TABLE, or CREATE INDEX syntax without parentheses around the options.
SET FMTONLY

please if there is help me with a  replacment .

artinl

 

KB3194721 (Security Update for SQL Server 2012 Service Pack 3 GDR) fails with error code 84B10001

$
0
0

KB3194721 (Security Update for SQL Server 2012 Service Pack 3 GDR) fails with error code 84B10001

The machine is running Windows Server 2008 R2 Standard with Service Pack 1

Any assistance would be appreciated.


upgrade 2008 r2 express sp2 to 2008 r2 standard

$
0
0

hi there,

We have hit the size limit on sql 2008 r2 express and need to change the edition to standard.

Problem I have is that we are currently running 2008 r2 express SP2 whereas I can only find an ISO for 2008 r2 standard (no SP).

Is it ok to use edition upgrade option from this media?

Thanks for any advice

Alg

Verification Of Microsoft SQL Server Core Licensing

$
0
0

Hi,

If we have 1 physical server with 8 core,

Inside physical server have 1 VM with 12 core and installing Microsoft SQL Server 2012.

For Verification of Microsoft SQL Server Core Licensing we should Refer to Physical Core or VM Core?

Thanks...

ONG

SQL 2014 SP2 does not allow to select instance to apply patch.

$
0
0

Hi,

I have 11 SQL instances running on single virtual box and it is SQL 2014 standard edition SP1 CU5.

I am trying to apply SP2 on all 11 instances. But when I reach 'select features' tab, I am not able to select any single instance to proceed.

can you please help me why I am not able to select and how can I fix the issue?

Hope to hear soon.

Regards,

Nik


Regards, Naman


SQL SPN

$
0
0

I had a few general questions about SQL & SPNs:

  1. Do I have to register the SPN of SQL?
  2. Does it matter if the Service is running under LocalSystem or a Domain user?
  3. Despite the fact that I registered my SPNs I nevertheless see in the SQL log and error stating:The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/SERVERNAME:PORTNUMBER ] for the SQL Server service. Windows return code: 0x2098<c/> state: 20. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually registered.           Is this OK? Is there a reason?

Getting "No mapping between account names and security IDs was done" when install full text search feature for SQL 2012

$
0
0

Hi,

I'm attempting to add the full text search feature to one of our SQL environments.

Once the install has started it throws this error message twice. "No mapping between account names and security IDs was done". I get options to retry or cancel, cancel seems to just skip and continue the install.

The install seems to complete successfully once you cancel the error message.

I've checked the databases and we don't have any users or group assigned to roles that are not in the AD domain.

I'm stuck as to what else to look for....

Here is an extract from the error log:

(01) 2017-02-01 10:33:32 SQLEngine: Loading group properties from local machine.
(01) 2017-02-01 10:33:32 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL11.ENOTINGINSTANCE\Setup
(01) 2017-02-01 10:33:32 Slp: Sco: Attempting to get registry value SQLGroup
(01) 2017-02-01 10:33:32 Slp: Sco: Attempting to get registry value FDHOSTGroup
(01) 2017-02-01 10:33:32 Slp: Sco: Attempting to get account from sid S-1-5-80-61038044-1460991423-2496639405-3432405572-984320763
(01) 2017-02-01 10:33:32 Slp: Sco: Attempting to get account from sid S-1-5-80-1529172933-1289199595-2667646192-4261488767-1522532605
(01) 2017-02-01 10:33:32 Slp: Sco: LookupAccountSid failed for SID S-1-5-80-1529172933-1289199595-2667646192-4261488767-1522532605
(01) 2017-02-01 10:33:32 Slp: Prompting user if they want to retry this action due to the following failure:
(01) 2017-02-01 10:33:32 Slp: ----------------------------------------
(01) 2017-02-01 10:33:32 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2017-02-01 10:33:32 Slp: Inner exceptions are being indented
(01) 2017-02-01 10:33:32 Slp: 
(01) 2017-02-01 10:33:32 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
(01) 2017-02-01 10:33:32 Slp:     Message: 
(01) 2017-02-01 10:33:32 Slp:         No mapping between account names and security IDs was done.

The SID ending in 605 seems to be for the local service account used to run the full text search daemon.

Thanks

Joe

SQL Server 2014 Express 64bit Missing DLL

$
0
0

Hello,

I am trying to install SQL Server 2014 Express with advanced services on a windows 7 sp1 machine.  While running the installation file I downloaded from MSDN, I received a failure warning stating there is a DLL missing.  I had a similar experience with SQL Ser2012 and was never able to install it.

SQL Server 2014 installation-failed-error-1723-problem with windows installer package

$
0
0

Hi All,

I am trying to install SQL Server 2014 express edition on my Windows 7 64 Bit system, but unfortunately, everything I have tried so far has resulted in the same error.

Error: 1723 There is a problem with this Windows Installer package. A DLL required for this installation to complete could not be run. Contact your support personnel or package vendor.

I have tried all the possible solutions that I found online. So please refrain from posting a link to another blog or forum because chances are that I have already tried that.

Things that I have tried:

  • Giving myself/Everyone "Full Control" over the folder C:\Users\username\AppData\Local\Temp
  • Disabling .Net Framework 3.5 SP1 and then re-enabling.
  • Installing sqlncli.msi manually from cmd with Administrative Privileges (Note that this too fails with the same error).
  • Removing all instances and traces (registry values, folders, uninstalling) of SQL Server 2008 R2 installed previously on my machine. 
  • Downloading SQL Server from Microsoft's website again (in case the previous installer was corrupted), performed checksum and validated the installer.
  • Making sure that I have Service Pack 1 installed for my operating system.
  • Resetting windows installer.


I am aware that there are multiple threads with the same issue, but none have been able to resolve this for me. 

It is really urgent for me to resolve this and install the package over the weekend. Any help would be really appreciated.

Note: I am unable to add the links to the log files as of now, but would do so ASAP.

Can't Install SQL server 2016 Sp1 on my computer Windows 10

$
0
0
Please can you share solutions on how i can install sql successfully on my PC
Viewing all 7701 articles
Browse latest View live


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