Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all 7696 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



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 ?


How to increase Default Trace Log - retention from last five files to 99 files (I think)

$
0
0
I did this before, but I forgot how I did it in my previous company.

Travis McGee

SQL 2019 CU update for Developer edtion

$
0
0

Team,

recently installed SQL 2019 developer edition on my system,

Microsoft SQL Server 2019 (CTP2.5) - 15.0.1500.28 (X64)  Apr 15 2019 15:33:10   Copyright (C) 2019 Microsoft Corporation  Developer Edition (64-bit) on Windows Server 2019 Standard 10.0 <X64> (Build 17763: ) 

i tried to update CU am getting below msg,  why this CU not suite with this edition(version) ?

i tried all below CU , 

SQL SERVER 2014 SP3.0 Upgarde Issue

$
0
0

Hello All,

i am facing SQL SERVER 2014 SP3.0 Upgrade Issue like it does not show any error when i run the setup which i have download from from Microsoft 

as i am not an IT guy could anyone let me know how to resolve it 

Thanks in advance 

MOF Syntex Error :INSTALL sqlserver 2008r2 on windows2008 server sp1

$
0
0

INSTALL sqlserver 2008r2 in windows2008 server sp1 error: MOF syntax error

Sql2008 R2 is installed on the WINDOWS2008 r2 sp1  . The instance is not applicable. In the last step, an error is reported and MOF syntax error occurs. How to solve this problem?

Overall summary:

Final result: SQL Server Installation failed. To continue, investigate the cause of the failure, correct the problem, uninstall SQL server, and then run SQL Server Setup again.

Exit code (Decimal): -2068119551

Exit facility code: 1211

Exit error code: 1

Exit message: SQL Server Installation failed. To continue, investigate the cause of the failure, correct the problem, uninstall SQL server, and then run SQL Server Setup again.

Start time: 2020-02-22 20:38:59

End time: 2020-02-22 20:47:21

Requested action: Install

Log with failure: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20200222_203048\Detail.txt

Exception help link: http%3a%2f%2fgo.microsoft.com%2ffwlink%3fLinkId%3d20476%26ProdName%3dMicrosoft%2bSQL%2bServer%26EvtSrc%3dsetup.rll%26EvtID%3d50000%26ProdVer%3d10.50.2500.0%26EvtType%3d0xD3BEBD98%401211%401

Not Able to connect to Azure sql from my local machine

$
0
0

I am trying to connect to a azure SQL server from my local SSMS and i Getting following error.azure SQL server is configured to connect with all required  firewall  IP and i can connect to the same server from other machines.The error am getting is as follows

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

Cannot connect to server_name.

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

A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) (.Net SqlClient Data Provider)

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

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=-2146893019&LinkId=20476

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

Server Name: server_name

Error Number: -2146893019

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()

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

The certificate chain was issued by an authority that is not trusted

Viewing all 7696 articles
Browse latest View live


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