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

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

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


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

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

SQL Server 2016 Express Basic installation error

$
0
0

I.m trying to install Sql Server 2016 Express basic on my laptop (windows 10). At the end of installation I got an error : trying to perform a not-authorized process.

The detail file from the log has the following error :

The configuration failure category of current exception is ConfigurationFailure
Configuration action failed for feature SQL_Engine_Core_Inst during timing ConfigNonRC and scenario ConfigNonRC.

I started the installation as an administrator and I disabled the firewall, but the installation still  fails.  I suppose I have to change something in my configuration, but I don't know what to do.

Best regards,

Thijs

Client to Cleint Error Message

$
0
0

I really need assistance to resolve;

Log Name:      Application
Source:        SideBySide
Date:          12/28/2019 7:26:08 AM
Event ID:      33
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DV9010
Description:
Activation context generation failed for "D:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.exe". Dependent Assembly debuggerproxy.dll,processorArchitecture="X86",type="win32",version="1.0.0.0" could not be found. Please use sxstrace.exe for detailed diagnosis.
Event Xml:
<Event xmlns="
  <System>
    <Provider Name="SideBySide" />
    <EventID Qualifiers="49409">33</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-12-28T12:26:08.632098300Z" />
    <EventRecordID>569849</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DV9010</Computer>
    <Security />
  </System>
  <EventData>
    <Data>debuggerproxy.dll,processorArchitecture="X86",type="win32",version="1.0.0.0"</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>D:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.exe</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>


SQL Availability Group question to do with pinging listener when primary is shut down

$
0
0

Hi,

I have a 4 node SQL AG config where the primary should auto-fail to the secondary via synchronous data commit IF the primary goes offline.

So during testing we turned off the primary but the IP for the  listener can't be pinged...i expect a ping if the primary is off as the secondary should respond but it does not...

Can anyone advise how to trouble shoot this? There is no error in event viewer - where else can we look for some info on this please?

I'm a new SQL DBA so not sure which SQL error logs if any would have this info?

Please help! Thanks!

Service Pack upgrade corrupting database

$
0
0

Hello, I am trying to upgrade a SQL 2008 R2 SP2 server to SP3 and when I run the service pack install it corrupts the Master database so that SQL server will not start.

I see a lot of information on the net about how to recover from it but I was wondering if there are things I should look for in order to prevent it from even happening in the first place.

Any advice is helpful.

Thanks

Can not install SQL 2016

$
0
0

Am trying to install SQL 2016, but can not get past the following error:

TITLE: SQL Server Setup failure.

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

SQL Server Setup has encountered the following error:

Could not load file or assembly 'file:///F:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\SQLServer2016\x64\Microsoft.SqlServer.Configuration.PolybaseConfigExtension.dll' or one of its dependencies. The system cannot find the file specified.

Error code 0x84B10001.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&EvtType=0xDBD51895%25400xB7EAF00B

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

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


sj1960

MDS Web Config

$
0
0

Hi,

I am getting the following error when I click on 'apply' while configuring web for MDS. 

"An unexpected error occured:

Object reference not set to an instance of an object"

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.

Viewing all 7707 articles
Browse latest View live


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