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

SQL Server CU files refuse to even open/run even when I run as Administrator

$
0
0

I installed SQL Server 2017 on a Server with CU14 and ever since, when I have tried to install new CU's, the CU won't open/run.  I double click on then andnothing happens.  I right click and click Run as Administrator andnothing happens. No errors at all. I am a DBA with SysAdmin on the Server, so it should not be a Permissions/Privileges issue.  I even asked someone else to logon to the box and try it and no one else seems to be able to run it either.  I pulled these files from our Network location.  I have pulled them for other server patches and they work just fine.  I have re-down loaded them - same result.

Any suggestions, ideas welcome,

Thanks in advance.

Nancy


nlytle It's all in a dream in the blink of an eye on the whim of a wish of a cloud


Database, Log, TempDB and Backup paths on Install

$
0
0

From the time I started as a DBA I was instructed that when installing SQL Server that the Databases etc, where to be laid out as follows:

E:Data - E:\Data

F:Logs - F:\Logs

G: Backup (and TempDB if we did not have a 4th drive) G:\Backup and G:TempDB (if needed)                    

H:TempDB (if we had 4th drive) H:\TempDB\Data and H:\TempDB\Log

I've always found this a very easy way to move around the folder to get to the files I am looking for, but my current employer using the Microsoft long paths for each of these drive, ie. Program Files\Microsoft SQL Server\MSSQLnn.<InstanceID>\MSSQL\Data for the Data drive. 

Is there some point I am missing as to why I would want such a long folder trail for my files?

Nancy


nlytle It's all in a dream in the blink of an eye on the whim of a wish of a cloud

Error 1723 installing SQL Server 2012

$
0
0

Like so many people, I'm receiving error 1723 when installing SQL Server 2012 on a Windows 10 computer.

I have:

  • Made sure that the system has all Windows updates
  • Run SFC
  • Run DISM
  • Unregistered and re-registered MSIEXEC
  • Uninstalled and reinstalled C++ Redistributable
  • Running the DotNet fix tool
  • Tried installing the SQL Server native client separately

I'm about three hours into this, and have tried everything that I could find on the forums. 

Here's a link to the logs:https://1drv.ms/u/s!AoGv94K-QRo_dpgOr8i63wQWSfo?e=IYVhRw . Thanks for any assistance you can give!

My access to the computer is limited, as it's at a client site, so please suggest everything you can think of and/or request all info you need, as I can't do the usual back-and-forth that I could do if it were my own computer.

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

Pre-requisites to create SQL 2016 Always on availability Group

$
0
0

Hi

We are looking for a step-by-step KB for preparing a SQL 2016 Always on Availability Group, what are the prerequisites to configure 2 nodes. Also how can we migrate the DBs from existing SQL 2016 failover cluster (configured multiple instances) to the new Always on Availability group. We won't migrate all DB at the same time since it affect multiple applications, planning to make each DB & corresponding application offline and do the migration. Looking for your valuable suggestions

Thanks in advance


LMS

ALWAYS ON set up and creating new Sql server on Windows Failover Clustering for DR

$
0
0

We have currently SQL Server 2016 (SP2-CU6)  (X64)   Standard Edition (64-bit) on Windows Server 2016 Standard 10.0 <X64>  (Hypervisor) and we are planning to create another sql server so we can setup ALWAYS ON.

Could you please guide me what's the requirements should consider for Windows server configuration (existing and new, Sql Server installation and Set up for Always ON?

Windows Server Failover Clustering need to be installed and setup before SQL is installed or SQL Always-On setup? 

What's the best way i can configure and set up Always ON?

Thank for your help!

The User Data directory in the registry is not valid ... Error code: 0x851A0043

$
0
0

I've installed SQL Server 2014 on a new Windows 7 computer. I am trying to apply the SQLServer2014-KB3158271-x64.exe update which is the "3158271 Cumulative update package 14 (CU14) for SQL Server 2014." I am getting the error shown in the issue title: "The User Data directory in the registry is not valid ... Error code: 0x851A0043." I've check the registry setting for DefaultData and it has the correct path: E:\Program Files\Microsoft SQL Server\MSSQL12.MEMBERSLINK\MSSQL\DATA. The path exists, and has the database files. I've done this successfully before. The only difference this time is that E: is a network drive.

Help sorting this out would be greatly appreciated.



How to enforce clients to use SSL certificate to connect to SQL Server

$
0
0

Hello,

  We have enable ssl encryption in our sql server and checked that all connections are encrypted. We observed that we can connect to SQL server with any selfsigned certificate or without any certificate.

How can we ensure that SQL Server  accepts only client connections with valid certificate. Can anyone help in achieving this..

Regards,

Raaj


SQL Cluster/Farm for multiple applications

$
0
0

Can I use a good powerful sql deployment with multi node multi instance failover cluster to host dbs for various projects (In different subnets)?

I was thinking 1 instance for each project, 1 for web server, 1 for application server, & 1 for storing transaction logs.

LUNs of each instance will be on a shared storage via SAN.

What are challenges in a setup like this? Could anyone suggest a better solution which improves performance and brings better redundancy and reduce failures and downtime.

Log clearinging help

$
0
0

Server 2012R2 Std

SQL 2012

I keep running out of space on my Hyper-V system. Is there any way to automate the clearing of space lake I have in Exchange?


John Lenz

SQL Server 2014 Express localDB

$
0
0

I have a local application that uses SQL Server 2014 Express localDB.  When my company ran a scan on my PC, the localDB had a security violation.  I needed this security patch: KB3194714.  I downloaded the executable for KB3194714 and installed onto my PC.  This also installed a version of SQL Server 2014 and this created 2 more violations.  

I did find Microsoft SQL Server 2014 Service Pack 3 (the latest service pack), Release date: October 30, 2018. There is an install for Express.  How can I check that this has the latest security update?  

TY, Brenda K.

sql server 2016 sp2 update fails

$
0
0

when doing sql server 2016 sp2 update in windows update, it fails. 

when doing manually, it fails with below message. i tried to repair .net framework but it didnt help.

Overall summary:
  Final result:                  The patch installer has failed to update the following instance: MSSQLSERVER. To determine the reason for failure, review the log files.
  Exit code (Decimal):           -2061893608
  Start time:                    2019-12-19 14:04:26
  End time:                      2019-12-19 14:06:49
  Requested action:              Patch

Instance MSSQLSERVER 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):           -2061893608
  Start time:                    2019-12-19 14:05:12
  End time:                      2019-12-19 14:06:47
  Requested action:              Patch

Machine Properties:
  Machine name:                  xxxxxxx
  Machine processor count:       4
  OS version:                    Microsoft Windows Server 2012 R2 Standard (6.3.9600)
  OS service pack:               
  OS region:                     Singapore
  OS language:                   English (United States)
  OS architecture:               x64
  Process architecture:          64 Bit
  OS clustered:                  No

Product features discovered:
  Product              Instance             Instance ID                    Feature                                 Language             Edition              Version         Clustered  Configured
  SQL Server 2016      MSSQLSERVER          MSSQL13.MSSQLSERVER            Database Engine Services                 1033                Express Edition      13.1.4259.0     No         Yes       
  SQL Server 2016      MSSQLSERVER          MSSQL13.MSSQLSERVER            SQL Server Replication                   1033                Express Edition      13.1.4259.0     No         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:         c:\7ecf4e62c7a807766929a796f91e6b\x64\setup\

Updated product edition:
  Instance             Edition             
  MSSQLSERVER          Express             

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\20191219_140425\SystemConfigurationCheck_Report.htm

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


Problem in accessing SQL server 2012

$
0
0

Hi, 

I am having an issue in accessing SQL server instance (Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)   Oct 19 2012 13:38:57 Copyright (c) Microsoft Corporation  Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor) ) in a server in my organization cloud from my local desktop/laptop of OS Microsoft Windows 10 Enterprise (OS Version: 10.0.17134 N/A Build 17134).

Error which I am receiving is :

===================================
 

Cannot connect to ********.

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

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)
 
------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=10054&LinkId=20476
 
------------------------------
Server Name: *******
Error Number: 10054
Severity: 20
State: 0
 
------------------------------
Program Location:
 
   at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)
   at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
   at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
 
------------------------
 

An existing connection was forcibly closed by the remote host

===================================

Instance was connecting without any issues from my local desktop/laptop when the OS was Microsoft Windows 8.1 Enterprise. And the problem suddenly started after OS upgrade.

Can anyone help me on this?

 

SQL Server 2014 logs ConfigureImage errors for FullText, Replication and SQLEngine every hour on Setup Bootstrap/Log

$
0
0

I recently launched a Windows 2012 R2 server with SQL Server 2014 Web edition.

In the Microsoft Sql Server/120/Setup Bootstrap/Log folder it logs the following errors every hour in the Summary file

Setup completed with required actions for features.
Troubleshooting information for those features:
  Next step for FullText:        Use the following information to resolve the error, and then try the setup process again.
  Next step for Replication:     Use the following information to resolve the error, and then try the setup process again.
  Next step for SQLEngine:       Use the following information to resolve the error, and then try the setup process again.

Feature:                       Full-Text and Semantic Extractions for Search
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x855E0002
  Error description:             Failed to start service MSSQLSERVER.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.4213.0&EvtType=0x0DD63E55%400xDC80C325&EvtType=0x0DD63E55%400xDC80C325

  Feature:                       SQL Server Replication
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred for a dependency of the feature causing the setup process for the feature to fail.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x855E0002
  Error description:             Failed to start service MSSQLSERVER.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.4213.0&EvtType=0x0DD63E55%400xDC80C325&EvtType=0x0DD63E55%400xDC80C325

  Feature:                       Database Engine Services
  Status:                        Failed: see logs for details
  Reason for failure:            An error occurred during the setup process of the feature.
  Next Step:                     Use the following information to resolve the error, and then try the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x855E0002
  Error description:             Failed to start service MSSQLSERVER.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.4213.0&EvtType=0x0DD63E55%400xDC80C325&EvtType=0x0DD63E55%400xDC80C325

The Detail.txt file has this:

(01) 2016-01-11 11:14:58 Slp: Error: Action "Microsoft.SqlServer.Configuration.ScoExtension.StopServiceAction" threw an exception during execution.
(01) 2016-01-11 11:14:59 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Failed to start service MSSQLSERVER. ---> Microsoft.SqlServer.Configuration.ScoExtension.ExecuteStopServiceFailedException: Failed to start service MSSQLSERVER. ---> Microsoft.SqlServer.Configuration.Sco.ScoException: A stop control has been sent to a service that other running services are dependent on.
(01) 2016-01-11 11:14:59 Slp:  ---> System.ComponentModel.Win32Exception: A stop control has been sent to a service that other running services are dependent on.

As far as I can tell, SQL Server is running fine, but these errors consume a lot of space.  We do not use replication or fulltext.

Where should I look to fix this problem?



Can't install MS SQL Server 2019 Developer edition on WIndows 10 Home

$
0
0
Hi,

I have a problem installing MS SQL 2019 Developer edition on my PC with Windows 10 Home. I had a MS SQL 2016 Express installed. But I removed it when I tried to install the 2019 developer version. The installation guides displays this error message:

Unable to install SQL Server (setup.exe).
Exit code (Decimal): -2068119551Error description: Attempted to preform an unauthorized operation.

In the Detail.txt (the last bit) in the log folder I get this:

(01) 2019-12-23 17:18:23 Slp: Error result: -2068119551
(01) 2019-12-23 17:18:23 Slp: Result facility code: 1211
(01) 2019-12-23 17:18:23 Slp: Result error code: 1
(01) 2019-12-23 17:18:23 Slp: WER: Application level consent value 'True' was mapped to consent status 'WerConsentApproved'
(01) 2019-12-23 17:18:23 Slp: WER: Result of the submission:: 'WerReportQueued'
(01) 2019-12-23 17:18:23 Slp: WER: Submitted 1 of 1 failures to the Watson data repository
(01) 2019-12-23 17:18:23 Slp: SetupTelemetry: Closing Telemetry Session
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\SQMClient
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value MachineId
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\150
(01) 2019-12-23 17:18:23 Slp: SetupTelemetry: Not creating telemetry audit log. Value 'UserRequestedLocalAuditDirectory' doesn't exist in 'HKLM\Software\Microsoft\Microsoft SQL Server\150'
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\150
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value CustomerFeedback
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value EnableErrorReporting
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\Instance Names
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey SQL
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value MSSQLSERVER01
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\MSSQL15.MSSQLSERVER01\CPE
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value CustomerFeedback
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to get registry value EnableErrorReporting
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\Instance Names
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey OLAP
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\Instance Names
(01) 2019-12-23 17:18:23 Slp: Sco: Attempting to open registry subkey RS
(01) 2019-12-23 17:18:23 Slp: SetupTelemetry: Telemetry has an active session with 44 events.

I run the installation as a Administrator. I tried to uninstall all MS SQL related programs in the Programs in Control Panel and removed the MS SQL Server folder in Program Files.

Hope that you can help me, please?

Best regards
Hoegni

Want to insert data into SQL Server tables from MS Access

$
0
0

Hello All ,

I have 2 different servers , the 1st one is application server i.e the server where access is there and one SQL Server is there,

Both are two different physical server , now i wanted to insert the all the table of Access db into SQL Server tables.

I have tried it in test server with the help of linked server and it working for because both MS access  and SQL Server are hosting on one server.


I wanted to achieve it but both server are two different server. So can you tell me how i can i achieve if both are 2 different machine.

Thanks 

ChetanV

SQL 2016 Always on with multiple SQL instances

$
0
0

Hi

Our current setup contains 3 X Windows 2016 STD / SQL 2016 STD in Windows failover cluster with 3 SQL instances. We are preparing 2 X Windows 2016 STD / SQL 2016 ENT in SQL Always on Availability Group. With Always on AG how can we prepare 3 SQL instances (it's due to business requirements to have 3 SQL instances with each instance hosting DBs owned by different teams with different requirements). Always on Availability group is a new concept for us and failed to get any support document to prepare multiple instances with AON AG.

We are planning to go with below configuration, please let us know whether it's supported

Node1  : Named instances: SQLI1, SQLI2
Node2 : Named instances: - SQLI3,SQLI4
Availability Group :A1,AG2
Replicas of AG1: SQLI1, SQLI3 (Primary on Node1)
Replicas of AG2: SQLI4, SQLI2 (Primary on Node2)

Thanks in advance


LMS


Setup issue

$
0
0

Hi,

What is reason of failure below, in Win 2012 R2 server?

TITLE: Microsoft SQL Server 2014 Setup
------------------------------

The following error has occurred:

Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.


Many Thanks & Best Regards, Hua Min

SQL Server 2008 setup error: Attempted to perform an unauthorized operation

$
0
0
I'm trying to install SQL Server 2008 on a virtual machine with Windows 2008 R2.

Setup fails with the error "Attempted to perform an unauthorized operation".

Looking at the installation log, I see these details:

2009-09-29 08:24:49 SQLBrowser: sRegLocation = 'SOFTWARE\Microsoft\Microsoft SQL Server', regView = 'Wow6432', sSddl = '(A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])', bOptional = 'False'.
2009-09-29 08:24:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
2009-09-29 08:24:49 Slp: Sco: Attempting to open registry subkey 
2009-09-29 08:24:49 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server
2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor (A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  (A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])
2009-09-29 08:24:49 Slp: Sco: Account name to be translated into SID: SQLServer2005SQLBrowserUser$ITISFIM
2009-09-29 08:24:49 Slp: Sco: Attempting to get account sid for user account SQLServer2005SQLBrowserUser$ITISFIM
2009-09-29 08:24:49 Slp: Sco: Attempting to get sid for user account SQLServer2005SQLBrowserUser$ITISFIM
2009-09-29 08:24:49 Slp: Sco: GetSidForAccount normalized accountName SQLServer2005SQLBrowserUser$ITISFIM parameter to SQLServer2005SQLBrowserUser$ITISFIM
2009-09-29 08:24:49 Slp: Sco: Account name is translated into: S-1-5-21-3278988706-2344661944-1675463508-1000
2009-09-29 08:24:49 Slp: Sco: Final security descriptor:  (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to set security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to normalize security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Adding 'D:' DACL identifier to the input security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to normalize security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
2009-09-29 08:24:49 Slp: Prompting user if they want to retry this action due to the following failure:
2009-09-29 08:24:49 Slp: ----------------------------------------
2009-09-29 08:24:49 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
2009-09-29 08:24:49 Slp: Inner exceptions are being indented
2009-09-29 08:24:49 Slp: 
2009-09-29 08:24:49 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
2009-09-29 08:24:49 Slp:     Message: 
2009-09-29 08:24:49 Slp:         Attempted to perform an unauthorized operation.
2009-09-29 08:24:49 Slp:     Data: 
2009-09-29 08:24:49 Slp:       WatsonData = Microsoft SQL Server
2009-09-29 08:24:49 Slp:       DisableRetry = true
2009-09-29 08:24:49 Slp:     Inner exception type: System.UnauthorizedAccessException
2009-09-29 08:24:49 Slp:         Message: 
2009-09-29 08:24:49 Slp:                 Attempted to perform an unauthorized operation.
2009-09-29 08:24:49 Slp:         Stack: 
2009-09-29 08:24:49 Slp:                 at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
2009-09-29 08:24:49 Slp:                 at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
2009-09-29 08:24:49 Slp: ----------------------------------------
Any suggestions on how to fix this error?
Thanks, Paolo
Viewing all 8133 articles
Browse latest View live


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