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

rule 'Setup account privileges' failed. the account that is running sql server setup does not have one or both of the following rights: the right to backup files and directories, and the right to manage auditing and the security log.

$
0
0

Hi 

I am very new to preparing installation kit. i wanted to install SQL Express 2008 with full text search option via installation kit.  i have administrator rights in my system and as well in in administrators group.  for past couple days i have been looking several web sites. i don't have any luck and i am getting this error message "rule 'Setup account privileges' failed.the account that is running sql server setup does not have one or both of the following rights: the right to backup files and directories, and the right to manage auditing and the security log. to continue, use an account with both of these rights."

FYI i m using my command line options as

/action=install /Features=SQL,FullText /INSTANCENAME=MyInstance  /IACCEPTSQLSERVERLICENSETERMS=true /SQLSVCAccount=""NT AUTHORITY\SYSTEM"" /SQLSYSAdminAccounts=""NT AUTHORITY\Network Service"" /SQLSVCStartUpType=""automatic"" /AGTSVCAccount=""NT AUTHORITY\Network Service"" /AGTSVCStartUpType=""automatic"" /SQLCollation= ""SQL_Latin1_General_CP1_CI_AI"" /SecurityMode=SQL /SAPWD=""vinoth"" /SQLUSERDBDIR=""c:\sqldata"" /SQLUSERDBLOGDIR=""c:\sqlLogs"" SQLBackupDir= ""c:\backups""  /SQLTempdbDir=""c:\sqldata"" /SQLTempdbLogDir=""c:\sqldata""  /FileStreamLevel=1 /ErrorReporting=0 /SQMReporting=0 

Help me fix this problem.

Advance thanks 


System database restore

$
0
0

I need to restore a backup of the master database.    I put MSSqlserver in single-user mode and restart the service.   However, I get the following message:  TITLE: Microsoft SQL Server Management Studio

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

Failed to connect to server . (Microsoft.SqlServer.ConnectionInfo)

Login failed for user ''. Reason: Server is in single user mode. Only one administrator can connect at this time. (Microsoft SQL Server, Error: 18461)

When I set the database back to multi-user and run sp_who, it shows my account as the only login.   Does anyone know how to put the master database in single-user mode without getting this error message?  


SQL Server Install File Missing Language File

$
0
0

Three days ago I purchased sql server standard 2019. I am receiving an error message when I click setup.exe. The message states that "this sql server setup media does not support the language of the OS, or does not have the SQL server english-language version installation files".

My OS is running English. I downloaded English version for SQL Server. I have double-checked my computer region and languages setup for the language, which exists and is selected in both region and languages. I cannot find the language file in the installation files for sql server. I am unable to proceed with installation. 

I have called Microsoft and spoken with various teams including Tech Support, Professional Team, MS Volume Licensing Team, and more. No one offered actual assistance other than requesting my personal information and setup. Once receiving that information each team routed me to another team. I was given two different case numbers from two different teams. Each subsequent team informed me the case numbers were invalid for their team and only good for the previous team. I have spent at least 3 hours on the phone being passed from team to team.

I have visited support.microsoft.com/OAS where I was told by the Professional Team to submit an online ticket as they were not accepting my previous tickets and refused to offer me any assistance without an online ticket. An online ticket costs $500. I just spent 3K+ on the product. I just want to install it.

I am using Windows 10. Attempting to install SQL Server Standard 2019. Running on Windows Server 2019 Standard.

Edited to Add: I noticed this morning when downloading the selected 'SQL Server Standard Edition 2019 English', that many of the htm and readme files are NOT in English despite the downloaded ISO file called 'SQL Server Standard Edition_2019_English_X22. The mounted drive is named 'SQL2016_x64_DEU. Out of curiosity I have downloaded the French and Spanish versions which do have corresponding languages in the htm and readme files. It seems to me that the English version of the installation package is faulty and does not actually contain the English language. 

Actualización de seguridad para SQL Server 2014 SP1 (KB4019091) Error 0x80070643

$
0
0


Actualización de seguridad para SQL Server 2014 SP1 (KB4019091): Error 0x80070643

Llevo cerca de 4 meses apareciéndome este error no se que hacer no puedo instalar una aplicación que necesito ya que es un software de mi trabajo y no lo que se ha concierto por este error que me bota Error 0x80070643 por favor ayuda gracias.


Cannot upgrade SQL Server RTM to SP4

$
0
0

Installed a SQL Server Enterprise (64-bit) on Win2008R2 system, however I cannot install SP4.. (Attached)


Error enabling FILESTREAM on SQL 2019

$
0
0

I'm trying to enable FILESTREAM functionality on SQL Server 2019 Configuration Manager, but it's always giving this error:

---------------------------
FILESTREAM
---------------------------
There was an unknown error applying the FILESTREAM settings.

Check the parameters are valid. (0x800706f8)
---------------------------
OK   
---------------------------

Checking winerror.h, 0x800706F8 means "The supplied user buffer is not valid for the requested operation.", which is a very generic error message.

I already tried changing the SQL Server service login to a local account with admin rights, tried enabling FILESTREAM through sp_configure, tried reinstalling SQL with FILSTREAM feature activated during setup, which botched the installation with error message "The supplied user buffer is not valid for the requested operation.", tried disabling AV, tried adding exception rules for SQL Server executable on Windows Defender Exploit Protection, basically every workaround that I've found on the internet.

I checked the event viewer and found this entry:

The RsFx0600 Driver service failed to start due to the following error:
The supplied user buffer is not valid for the requested operation.

I've found out that RsFx is a driver that SQLServer installs to handle FILESTREAM functionality and that it gave problems on previous versions.

I'm running SQL Server 2019 Developer Edition on Windows 10 Enterprise 1909, here is the output of select @@version:

Microsoft SQL Server 2019 (RTM-GDR) (KB4517790) - 15.0.2070.41 (X64)   Oct 28 2019 19:56:59   Copyright (C) 2019 Microsoft Corporation  Developer Edition (64-bit) on Windows 10 Enterprise 10.0 <X64> (Build 18363: ) (Hypervisor)

I'm completely out of ideas of what to try and fix this issue. I really need to have filestream enabled to be able to work on a project.

Thanks in advance,

David


SQL enterprise not setting for all cores

$
0
0

Hi everyone,

I have a server with 8 physical cores, and I have SQL enterprise for 4 cores. 

How it will affect performance?

Thanks.

Regards,

Yerkhan

SQL Server 2014 - TDE & Compressed Backup

$
0
0
Hello Everyone,

We are using SQL Server 2014 Enterprise and want to implement TDE but our main issue with increased backup size from 300 GB to 2.5 TB. Is there any way to achieve backup compression over TDE on SQL Server 2014 or any third party tool?

Thank you!

Compatibility SQL build with other platform?

$
0
0

Hi all,

Let's say with AX ERP. is there any link elsewhere containing information about that?

We are running AX 2012 R3 CU9 and I want to patch the SQLs to sp3 CU4

Thanks for your inputs!!

Enric

Escaping special characters in a configuration string

$
0
0

Hi,

I have a PS script which sometimes fails, I have been doing some troubleshooting to find out why, what i have noticed is that special characters within the SA password string makes it fail.

Please see the example below.

$install = 'E:\Setup.exe /ConfigurationFile=D:\BUILD\SQL.ini /Q /IAcceptSQLServerLicenseTerms '  

$install = $install + " /SAPWD=`'$sa_password`'"  + " /ACTION=Install"


#This was the bit failing when I examined the string.
#/SAPWD='_=p+IowrlXkB' /ACTION=Install


maintenance tasks help

$
0
0
Hello

I need help on how to do index maintenance, update stats & integrity check on my Db's. I have installed the Ola jobs but the problem here is I have 300 odd db's on the server. Each database ranges between 200gb to 800gb. All are in simple recovery model so no log backups but to perform the above jobs takes more than 24hrs. How to minimize the time in order to check consistency. We have never performed any of  the above maintenance tasks ever. Please help 

Thank you

NJPA

Upgrade from SQL server 2008 R2 to SQL Server 2016

$
0
0

Hello  ,

I am planning to upgrade (Side-by -side) from SQL server 2008 R2 to SQL  Server 2016 and I have following questions on it :

1. Is there a direct upgrade path to SQL  Server 2016  from SQL server 2008 R2 ?

2.How to keep the DB's in sync with existing environment to new servers for cut over ?

3.Has any one configured SQL replication on top of the Availability groups  and if you have detailed steps please share .



KSH

No seamless upgrade for SSRS in SQL Server 2019

$
0
0

HI,

How can we upgrade SSRS from SQL Server 2014 to SQL Server 2019?

We understand Microsoft has decoupled SSRS from SQL Server installer set up and we need to download and install SSRS separately. If we upgrade SQL Server 2014 to SQL Server 2019, followings steps are involved. 

  1. Upgrade SSAS, SSIS and Database Engine services in one shot
  2. backup encryption key and Uninstall SSRS 2014 
  3. Install SSRS 2019 
  4. Restore encryption key
  5. Perform all the reports related configuration and point to old ReportServer database

In this way we need to do minimal changes and all reports and their configuration would be retained. 

My questions are:

  1. Is there is a way to upgrade SSRS seamlessly ? I meant avoid all the changes in configuration, just uninstall old SSRS and install new SSRS 
  2. Is there a better way to do SSRS upgrade, other then above mentioned steps?

As always, Appreciate your insights and valuable help.

Thank you. 

Installation Issue

$
0
0

An Installation for Microsoft SQL Server Compact 4.0 x64 ENU is currently suspended.

You must undo the changes made by that installation to continue.

Do you want to undo those changes?

YES  NO

If I type Yes, it  happens nothing.

If I type NO, the installation is closed and I get an information I should try the installation again.

How can you help?

Thank you for your support in advance.

Thanks

sl22

SQL Server 2008 R2 Installation Error

$
0
0

Hello.

The following error is displayed when installingSQL Server 2008 R2 software. What is the Cause and Solution?

TITLE: SQL Server 2008 R2 Setup

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

The following error has occurred:

SQL Server Setup has encountered an error when running a Windows Installer file.

Windows Installer error message: Error opening installation log file. Verify that the specified log file location exists and that you can write to it.

Windows Installer file: e:\7b977b327151b114bc11be15\x64\redist\watson\dw20sharedamd64.msi

Windows Installer log file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20200218_182833\WatsonX64_Cpu64_1_ComponentUpdate.log

Click 'Retry' to retry the failed action, or click 'Cancel' to cancel this action and continue setup.

 

The file name is SQLEXPR_x64_ENU.

 

My windows is 8.1 Professional MSDN.


SSMS 18 and TFS - Where and how?

$
0
0
I just installed SSMS 18 and cannot find information on how to activate TFS and source control features.
I have Visual Studio 2019 installed and I heve been using source control features in SSMA 17.x that I activated by editing the ssms.pkundef file.
In version 18 there is no such option because the ssms.pkundef file does not contain references to TFS.
Is there a solution I have not found yet?
It is absolutely essential to have source control functionality because it has become the standard way of work of my team.
For now, the only solution that is within my reach is the uninstallation of version 18 and return to version 17.9 but I can not believe that there is no way to do it in version 18.
Can someone help me?

Microsoft® Data Migration Assistant results differs from SQL Server Profiler

$
0
0

Hi, we are going from SQL server 2012 to 2017.
Need to know if there are deprecated functions, so used  Microsoft® Data Migration Assistant.
A great tool and gave me a nice report. Also let SQL Server Profiler run a trace file for deprecated events. Less results of course..but a function (like SETUSER) that Migration Assistant did not mention in it's report. How come ? regards


Unable to Apply CU11 Update to SQL 2016 SP2 (v13.2.5102.14)

$
0
0

Can someone help me understand if this is a bug or otherwise? 

We have SQL 2016 SP2  (13.2.5102.14) with no CUs installed as far as I can tell.  However, there is a recently security update which has taken it to version 5102.

When I try to install the CU11 patch, I get the following error with an unexpected version number in brackets of (13.2.5620.xx). What does this mean and how can I install the CU patches? I can't show screenshots as MS is still parenting me and doesn't trust me yet.

"A SQL Server update with a higher version has already been installed on SQL Server instance MSSQLSERVER, so the current SQL Server update cannot be applied. The version of the SQL Server update that is already installed is GDR 13.2.5102.14(13.2.5620.0) with a KBKB4532097 and the current SQL Server update is 13.2.5598.27 with a KBKB4527378."

This website gives a good overview of the versions and how they sequence, but you'll have to Google that with the following

"sqlserverbuilds SQL2016 versions 2016/01"

Thanks

Cam

Service Pack 4 installation failure

$
0
0

Hi,

I have a frustrating problem. I have installed SP4 onto well over 100 SQL Server 2012 instances over the last month or so. All instances are named instances, all with the same instance name, all were at the same patch level and all went without any issue until now. I'm getting an installation failure, but I'm not getting any logs to study. When I run setup, a black pop up window appears and disappears instantly. I get no errors in the Bootstrap/Logs directory (no new folder is created), nothing in SQL Server logs and nothing in event viewer. I can't find anything that can help me to determine what the problem is. I'm fairly sure I've seen this before somewhere in a different role, but I can't find any details to assist. Setup.exe does not appear in the Task  Manager at all, or if it does, it disappears so quickly it can't be spotted!

All of our SQL servers are created from a template and all are identical. They are running SCCM secondary sites and the server that is failing is running SCCM normally, no errors. This is purely an error in getting the Setup process to run.  The Server that is failing is currently running build 11.0.6567.

I've checked permissions on the directory I'm running the setup from, (local disk, not UNC), my user account has SQL sysadmin and domain admin rights.

I've scripted the installation of SP4 to run silently and this has run successfully on over 100 SQL Servers, but fails on this server. I've run it manually, but I get the same problem.

Where can I look to see why the installation is failing? Has anyone else seen this happen? If I can find something logging what's happening, I will have a base to work from, but at present, I don't know where to start.

I'm not the worlds greatest SQL expert, so my apologies if I've missed anything obvious.

Many Thanks

John


Regards, John

Sql server data settings

$
0
0

Someone recently did some new sql server installs and also upgraded the OS of some servers running SQL server.

This is in the UK.

We have noticed that on one of the servers the server clock (bottom right of task bar) is showing as a 12 hour clock and using the US data format  (mm dd yyyy)

We have noticed that all databases on the above instances (mainly sql 2012/2016) have a dataformat setting of "mdy" (as seen via dbcc useroptions)

We are concerned about this as we would expect dateformat to be set to dmy as we are in the UK.

Can anyone see an issue that this might cause with our applications ?

Viewing all 7701 articles
Browse latest View live


Latest Images

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