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

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



Unable to install SQL Server (-2061893607) "Could not find the Database Engine startup handle"

$
0
0

Hi,

I'm trying to install SQL Server 2017 Express Edition, just the basic configuration, and I'm getting the following error when I do so.

Oops...

Unable to install SQL Server (setup.exe).

Exit code (Decimal): -2061893607Error description: Could not find the Database Engine startup handle.

I check the Detail.txt file in the setup log folder and see the following possibly relevant lines:

Error result: -2061893607
Result facility code: 1306
Result error code: 25

How do I resolve this?

SQL Server 2016 backup fills the log when databases are offline (Login failed for user 'XXX\YYYY'. Reason: Failed to open the explicitly specified database 'ABC'. [CLIENT: ])

$
0
0

Hi,

After migration from SQL Server 2012 to SQL Server 2016, the maintenance plan backups started to take more time than it was before, but I did not bother so much at this time.

Now I realized that one our instance took 16 hour for the full backup of about 45 databases, which took only an hour or so before.

Even differential backup takes more than an hour, other instances backup completes in few seconds...

In the log, I see SQL Server trying to connect to offline databases for hours, even if the Ignore offline database option is checked.

What can I do to fix this issue?

Thanks a lot!


Francis Harvey


Installing SQL Server 2012 cluster on Server 2012 Core

$
0
0

I am looking for some examples of a configuration.ini file for a sql cluster install on windows 2012 Core and so far there is nothing. Any one have a sample I can have a look at to use a basis for building my own. Other than trying to get the server team to build me a test cluster with GUI so I can do an install and take the config file from there.... that could take them a while.

Thanks


Ryan

File regsvr coming from SSMS 2018 does not work in prior SSMS edition?

$
0
0

Dear all,

I've created a .regsvr file with a large struct of registered servers from my SSMS 18.3.1

I can't import this file in other SSMS, let's say

TITLE: Import Registered Servers
------------------------------

Cannot import from C:\AdminSql\xxxxx\SQL Server Management Studio settings and more\Global_DBA_Settings.regsrvr.
The operation 'Import' failed. (Microsoft.SqlServer.Management.RegisteredServers)


Deserialization operation on /RegisteredServersStore/ServerGroup/DatabaseEngineServerGroup/RegisteredServer/esh01lpt37\lc__2019__bcn has failed. (Microsoft.SqlServer.Management.Sdk.Sfc)

Serializer cannot handle the property AuthenticationType. The property is not in the property bag of the instance type. (Microsoft.SqlServer.Management.Sdk.Sfc)

Thanks for your inputs,

Enric

Downgrade from SQL 2016 EE to SE

$
0
0

Hi

Can we Downgrade from SQL 2016 EE to SE without uninstalling the Entreprise Edition and Installaing the Standard Edition ? If not can we restore a copy of msdb from EE to SE at the end?

Best regards

Some questions regarding moving from sql server 2016 developer edition to enterprise edition

$
0
0

Hi, we have recently obtained some mssql 2017 enterprise edition license keys and there are some questions we would like to know the answers of. 

  1. we are currently using MSSQL 2016 developer editions and these sql server are running off the internet. Does activation require internet access? 
  2. Will 2017 enterprise edition keys force the MSSQL to upgrade to 2017 or there is an option to keep the current edition during activation?
  3. Is there official document on how to activate the sql servers
  4.  Say one of the keys is used to activate a developer edition of sql server, is it possible to move the key later on to another instance?

Thank you 

SSMS slow

$
0
0
Lately, when I start SSMS it takes up to 3 minutes to load.  Any ideas what might be cause?  We are running SQL 2016 Std with 64GB RAM and accessing from RDP.

Installaing SQL Server 2008R2 FCI on windows server 2012 getting the below error, please let us knon how do we fix this.

$
0
0

Sco: Returning security descriptor O:BAG:DUD:AI(A;ID;FA;;;BA)(A;ID;FA;;;SY)(A;ID;FA;;;S-1-5-80-3880718306-3832830129-1677859214-2598158968-1052248003)(A;ID;0x1201ff;;;S-1-5-80-344959196-2060754871-2302487193-2804545603-1466107430)
Configuration action failed for feature SQL_Engine_Core_Inst during timing Startup and scenario Startup.
The cluster resource 'SQL Server' could not be brought online.  Error: The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F)
The configuration failure category of current exception is ConfigurationFailure
Configuration action failed for feature SQL_Engine_Core_Inst during timing Startup and scenario Startup.
Microsoft.SqlServer.Configuration.Cluster.ClusterException: The cluster resource 'SQL Server' could not be brought online.  Error: The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F) ---> System.Runtime.InteropServices.COMException (0x8007139F): The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F)
   at Microsoft.SqlServer.Interop.MSClusterLib.ClusResourceClass.Online(Int32 nTimeout)
   at Microsoft.SqlServer.Configuration.Cluster.ClusterResource.Online(Int32 timeout)
   --- End of inner exception stack trace ---
   at Microsoft.SqlServer.Configuration.Cluster.ClusterResource.Online(Int32 timeout)
   at Microsoft.SqlServer.Configuration.SqlEngine.SQLEngineClusterFeature.Cluster(ClusterNetworkName networkName, ClusterResource[] disks, ClusterGroup clusterGroup, String instanceName, String groupSid, String[] nodes)
   at Microsoft.SqlServer.Configuration.SqlEngine.SQLServerFailoverCluster.CreateEngineFailoverCluster(ClusterNetworkName networkName, String instanceName, String groupSid, ClusterGroup clusterGroup, ClusterPhysicalDisk[] diskResources, String[] nodes)
   at Microsoft.SqlServer.Configuration.SqlEngine.SQLServerFailoverCluster.CreateFailoverCluster(String instanceName, String groupSid)
   at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install_Startup_ClusterComplete(EffectiveProperties properties)
   at Microsoft.SqlServer.Configuration.SqlEngine.SqlEngineSetupPrivate.Install(ConfigActionTiming timing, Dictionary`2 actionData, PublicConfigurationBase spcb)
   at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.ExecuteAction(String actionId)
   at Microsoft.SqlServer.Configuration.SqlConfigBase.SlpConfigAction.Execute(String actionId, TextWriter errorStream)
Exception: Microsoft.SqlServer.Configuration.Cluster.ClusterException.
Source: Microsoft.SqlServer.Configuration.Cluster.
Message: The cluster resource 'SQL Server' could not be brought online.  Error: The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F).
Inner exception:
    Exception: System.Runtime.InteropServices.COMException.
    Source: Microsoft.SqlServer.Interop.MSClusterLib.
    Message: The group or resource is not in the correct state to perform the requested operation. (Exception from HRESULT: 0x8007139F).
Watson Bucket 1
 Original Parameter Values


Sangamesh ms

SQL Server Image Files

$
0
0

Dear Supportteam,

I have a question about the SQL Server Disk Image files. Are these disk image files unique? Can we use these disk Image files for installation by several customers. What about the PID key in these images files are these pid keys linked to a client or customer.

or has the PID keys nothing to do with SQL Server licenses.

I hope to hear from you very soon.

Best regards, Erik

Query related to Trial Key

$
0
0

Hi All,

We are currently using SQL Server Standard Edition version 2016 with CPU based license.

We are facing some performance issue and we would like to only test if increasing the CPU count would solve our issue or not.

Currently we are having 4 CPUs for the server and we would like to increase it by additional 4. Since we just want to test this for 2-3 days can i get a Trial version key on temporary basis so that i can use it only for 2-3 days?

If yes - from where i can get the key? So far what i have observed is MS only provides .exe file which will be binded with Trial key, but here in my case we would like to addadditional license key manually on running system for limited days.

Also, can we apply more than 1 SQL server license keys?

Many Thanks in advance.

Different versions of SQL Server in Always on High Availability

$
0
0

Hello,

Currently we are using SQL Server 2016 (13.0.5153.0 Enterprise).

We want to upgrade just one of our nodes to use SQL Server 2017 and let the rest of the nodes function as is (with SQL Server 2016).

Does SQL Server Always on High Availability support this? Can we perform failovers if necessary on the node that has SQL Server 2017 installed?

Thank you,

Bogdan

Problem with instalation SQL

$
0
0

Hi,

I try to install express ed 2012, 2014SP3 and 2016 with the same problem:
Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
Deinstall each server and install its again generate the same error. In log:
Script level upgrade for database 'master' failed because upgrade step 'msdb110_upgrade.sql' encountered error 200, state 7, severity 25.
and:
Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.

If I try to start SQL server, I get error code 3417. Servers are starting only with option /T902.

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.



Viewing all 7707 articles
Browse latest View live


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