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

Unable to communicate with the runtime for 'Python' script. Please check the requirements of 'Python' runtime.

$
0
0

Hi Pros,

Does anyone know how to fix this error below? I'm running Python in-database using SQL Server 2017. The coding environment should have been set up properly and run code without any problems up until last week and I didn't make any changes on the SQL Server or anything.

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

sample code

exec sp_execute_external_script @language=N'Python',@script=N'OutputDataSet = InputDataSet
print("Input data is {0}".format(InputDataSet))
',@input_data_1= N'SELECT 1 as col'

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

error message

Msg 39012, Level 16, State 1, Line 25 Unable to communicate with the runtime for 'Python' script. Please check the requirements of 'Python' runtime. STDERR message(s) from external script: Traceback (most recent call last): File "", line 1, in File"C:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\PYTHON_SERVICES\lib\site-packages\revoscalepy__init__.py", line 6, in from .RxSerializable import RxMissingValues File "C:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\PYTHON_SERVICES\lib\site-packages\revoscalepy\RxSerializable.py", line 11, in from pandas import DataFrame File "C:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\PYTHON_SERVICES\lib\site-packages\pandas__init__.py", line 39, in from pandas.core.api import * File "C:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\PYTHON_SERVICES\lib\site-packages\pandas\core\api.py", line 10, in from pandas.core.groupby import Grouper File "C:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\PYTHON_SERVICES\lib\site-packages\pandas\core\groupby__init__.py", line 2, in

STDERR message(s) from external script: from pandas.core.groupby.groupby import ( File "C:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\PYTHON_SERVICES\lib\site-packages\pandas\core\groupby\groupby.py", line 20, in from pandas.core.dtypes.common import ( File "C:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\PYTHON_SERVICES\lib\site-packages\pandas\core\dtypes\common.py", line 17, in from .inference import is_string_like, is_list_like File "C:\Program Files\Microsoft SQL Server\MSSQL14.SQL2017\PYTHON_SERVICES\lib\site-packages\pandas\core\dtypes\inference.py", line 8, in from pandas.compat import (PY2, string_types, text_type, ImportError: cannot import name 're_type'


Powershell DSC - xSQLServer -- xSQLServerSetup error.

$
0
0

Hi All,

I've been trying to automate the installation of SQL Server using the experiment DSC Module for SQL Server.  This issue occurs in my vagrant environments and vCenter environments.

This is the entirety of the script that does the meat and potatoes of the install.

#use xSQLServerSetup of xSQLServer
#sql install error log can be found at C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\log
param (
    [string]$SetupCredA = $(throw "error -SetupCredA is required.  Need installer username."),
    [string]$SetupCredPW = $(throw "error -SetupCredPW is required.  Need installer password."),
	[string]$SvcAccountCredA = $(throw "error -SvcAccountCred is required.  Need to know service account."),
    [string]$SvcAccountPW = $(throw "error -SvcAccountCred is required.  Need to know service account pw."),
    [string]$Features = $(throw "error -Features is required."),	
    [string]$SAArray = $(throw "error -SAArray is required.  Need to know sysadmins.")
 )
$SetupCred=New-Object System.Management.Automation.PSCredential ($SetupCredA, $(ConvertTo-SecureString $SetupCredPW -AsPlainText -Force))
$SvcAccountCred=New-Object System.Management.Automation.PSCredential ($SvcAccountCredA, $(ConvertTo-SecureString $SvcAccountPW -AsPlainText -Force))
$Extract="C:\InstallSQL"
$ServerCoreFeatures="SQLENGINE,REPLICATION,FULLTEXT,AS,CONN,IS,SNAC_SDK"
$ServerGUIFeatures="SQLENGINE,REPLICATION,FULLTEXT,DQ,AS,DQC,CONN,IS,BC,SDK,BOL,SSMS,ADV_SSMS,SNAC_SDK,MDS,DREPLAY_CTLR,DREPLAY_CLT"
$ServerGUIFeaturesWithReporting="$ServerGUIFeatures,RS"
$ReportServerFeatures="RS"

switch ($Features) {
    "ServerCoreFeatures" { $Features = $ServerCoreFeatures }"ServerGUIFeatures" { $Features = $ServerGUIFeatures }"ServerGUIFeaturesWithReporting" { $Features = $ServerGUIFeaturesWithReporting }"ReportServerFeatures" { $Features = $ReportServerFeatures }
}

$configData = @{
    AllNodes = @(
          @{
                NodeName = "$($env:computername)"
                PSDscAllowPlainTextPassword = $true
           }
         )
}

Configuration SetupSQL
{
    Import-DSCResource -ModuleName xSQLServer
    Node "$($env:computername)"
    {
        xSQLServerSetup Install-SQL
        {
            SourcePath = $Extract
            SourceFolder = "SQL2014"
            SetupCredential = $SetupCred
            #-------------
            SQLSvcAccount = $SvcAccountCred
            AgtSvcAccount = $SvcAccountCred
            SQLSysAdminAccounts = $SAArray
            #--------------------
            UpdateEnabled = "False"
            UpdateSource = "$Extract\SQL2014\Updates"
            #-----------------
            ErrorReporting = "True"
            #-----------------
            SQLUserDBDir = "M:\Data"
            SQLUserDBLogDir = "L:\Log"
            SQLTempDBDir = "T:\TempDB"
            SQLTempDBLogDir = "T:\TempLog"
            SQLBackupDir = "M:\Backup"
            #-----------------
            InstanceName= "MSSQLSERVER"
            Features = $Features
        }
    }

}
SetupSQL -ConfigurationData $configData
Start-DscConfiguration .\SetupSQL -force -wait -verbose

The environment is prestaged with

$Modules="C:\Program Files\WindowsPowerShell\Modules"
$Extract="C:\InstallSQL"
$ResourceKit="$Extract\DSCRK9.zip"
$WinSXSFiles="$Extract\sxsfiles.zip"
$SQLInstall="$Extract\SQL2014.zip"
mkdir $Extract -force
write-host "$(get-date) Downloading install resources"
start-bitstransfer "http://downloads.yosemite.local/files/application/microsoft/sqlinstall/dscrk9.zip" $ResourceKit
start-bitstransfer "http://downloads.yosemite.local/files/application/microsoft/sqlinstall/sxsfiles.zip" $WinSXSFiles
start-bitstransfer "http://downloads.yosemite.local/files/application/microsoft/sqlinstall/sql2014.zip" $SQLInstall
write-host "$(get-date) Download completed"
Configuration PreStageSQL
{
    Archive Extract-Resource-Kits
    {
        Ensure = "Present"
        Path = $ResourceKit
        Destination = $Extract        
    }

    Archive Extract-WinSXS-Files
    {
        Ensure = "Present"
        Path = $WinSXSFiles
        Destination = $Extract
        DependsOn = "[Archive]Extract-Resource-Kits"
    }
	Archive Extract-SQL-Files
    {
        Ensure = "Present"
        Path = $SQLInstall
        Destination = $Extract
        DependsOn = "[Archive]Extract-WinSXS-Files"
    }
	File Move-Resource-Files
    {
       SourcePath = "$Extract\All Resources"
       DestinationPath = $Modules
       Ensure = "Present"
       Type = "Directory"
       Recurse = $True
       MatchSource = $True
       DependsOn = "[Archive]Extract-SQL-Files"
    }
	WindowsFeature Install-NET35
    {
        Name = "NET-Framework-Core"
        Source = "$Extract\sxs"
        Ensure = "Present"
        DependsOn = "[File]Move-Resource-Files"
    }

}
PreStageSQL
Start-DscConfiguration .\PreStageSQL -force -wait -verbose
write-host "$(get-date) completed"

The setup errors out at the end with the following messages in the console/event log.  The SQL Install itself appears to be complete.  I've tried this with UpdateEnabled = "true" as well and it errors at the same location.

So the install appears to complete successfully but powershell reports an error

'C:\InstallSQL\SQL2014\setup.exe' started in process ID 192
VERBOSE: [WINDOWS2012R2]:                            [[xSQLServerSetup]Install-SQL] Importing function 'NetUse'.
VERBOSE: [WINDOWS2012R2]:                            [[xSQLServerSetup]Install-SQL] Importing function 'ResolvePath'.
VERBOSE: [WINDOWS2012R2]:                            [[xSQLServerSetup]Install-SQL] Importing function
'StartWin32Process'.
VERBOSE: [WINDOWS2012R2]:                            [[xSQLServerSetup]Install-SQL] Importing function
'WaitForWin32ProcessEnd'.
VERBOSE: [WINDOWS2012R2]:                            [[xSQLServerSetup]Install-SQL] Path:
C:\InstallSQL\SQL2014\setup.exe
VERBOSE: [WINDOWS2012R2]: LCM:  [ End    Set      ]  [[xSQLServerSetup]Install-SQL]  in 500.8120 seconds.
PowerShell DSC resource MSFT_xSQLServerSetup  failed to execute Set-TargetResource functionality with error message:
Set-TargetResouce failed+ CategoryInfo          : InvalidOperation: (:) [], CimException+ FullyQualifiedErrorId : ProviderOperationExecutionFailure+ PSComputerName        : WINDOWS2012R2

The SendConfigurationApply function did not succeed.
    + CategoryInfo          : NotSpecified: (root/Microsoft/...gurationManager:String) [], CimException+ FullyQualifiedErrorId : MI RESULT 1+ PSComputerName        : WINDOWS2012R2

VERBOSE: Operation 'Invoke CimMethod' complete.
VERBOSE: Time taken for configuration job to complete is 501.455 seconds

With the following errors in event viewer.  

Job {5E0C5C09-B7B2-11E4-80B6-000C29F93310} : 
Message Set-TargetResouce failed 
HResult -2146233087 
StackTrack    at System.Management.Automation.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)

Job {5E0C5C09-B7B2-11E4-80B6-000C29F93310} : 
This event indicates that failure happens when LCM is processing the configuration. ErrorId is 0x1. ErrorDetail is The SendConfigurationApply function did not succeed.. ResourceId is [xSQLServerSetup]Install-SQL and SourceInfo is C:\InstallSQL\InstallSQL.ps1::41::9::xSQLServerSetup. ErrorMessage is PowerShell DSC resource MSFT_xSQLServerSetup  failed to execute Set-TargetResource functionality with error message: Set-TargetResouce failed .

Job {5E0C5C09-B7B2-11E4-80B6-000C29F93310} : 
DSC Engine Error : 
	 Error Message The SendConfigurationApply function did not succeed. 
	Error Code : 1 
However everything from the SQL install summary appears to have been created.

Overall summary:
  Final result:                  Passed
  Exit code (Decimal):           0
  Start time:                    2015-02-18 21:09:08
  End time:                      2015-02-18 21:17:01
  Requested action:              Install

Machine Properties:
  Machine name:                  WINDOWS2012R2
  Machine processor count:       2
  OS version:                    Windows Server 2012
  OS service pack:               
  OS region:                     United States
  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

Package properties:
  Description:                   Microsoft SQL Server 2014 
  ProductName:                   SQL Server 2014
  Type:                          RTM
  Version:                       12
  SPLevel:                       0
  Installation location:         C:\InstallSQL\SQL2014\x64\setup\
  Installation edition:          Enterprise Edition: Core-based Licensing

Product Update Status:
  None discovered.

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      false
  AGTSVCACCOUNT:                 Administrator
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Automatic
  ASBACKUPDIR:                   C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Config
  ASDATADIR:                     C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Data
  ASLOGDIR:                      C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Log
  ASPROVIDERMSOLAP:              1
  ASSERVERMODE:                  MULTIDIMENSIONAL
  ASSVCACCOUNT:                  NT Service\MSSQLServerOLAPService
  ASSVCPASSWORD:                 <empty>
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            Administrator
  ASTEMPDIR:                     C:\Program Files\Microsoft SQL Server\MSAS12.MSSQLSERVER\OLAP\Temp
  BROWSERSVCSTARTUPTYPE:         Disabled
  CLTCTLRNAME:                   
  CLTRESULTDIR:                  C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\ResultDir\
  CLTSTARTUPTYPE:                Manual
  CLTSVCACCOUNT:                 NT Service\SQL Server Distributed Replay Client
  CLTSVCPASSWORD:                <empty>
  CLTWORKINGDIR:                 C:\Program Files (x86)\Microsoft SQL Server\DReplayClient\WorkingDir\
  COMMFABRICENCRYPTION:          0
  COMMFABRICNETWORKLEVEL:        0
  COMMFABRICPORT:                0
  CONFIGURATIONFILE:             C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150218_210907\ConfigurationFile.ini
  CTLRSTARTUPTYPE:               Manual
  CTLRSVCACCOUNT:                NT Service\SQL Server Distributed Replay Controller
  CTLRSVCPASSWORD:               <empty>
  CTLRUSERS:                     
  ENABLERANU:                    false
  ENU:                           true
  ERRORREPORTING:                true
  FEATURES:                      SQLENGINE, REPLICATION, FULLTEXT, DQ, AS, DQC, CONN, IS, BC, SDK, BOL, SSMS, ADV_SSMS, DREPLAY_CTLR, DREPLAY_CLT, SNAC_SDK, MDS
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  NT Service\MSSQLFDLauncher
  FTSVCPASSWORD:                 <empty>
  HELP:                          false
  IACCEPTSQLSERVERLICENSETERMS:  true
  INDICATEPROGRESS:              false
  INSTALLSHAREDDIR:              C:\Program Files\Microsoft SQL Server\
  INSTALLSHAREDWOWDIR:           C:\Program Files (x86)\Microsoft SQL Server\
  INSTALLSQLDATADIR:             <empty>
  INSTANCEDIR:                   C:\Program Files\Microsoft SQL Server\
  INSTANCEID:                    MSSQLSERVER
  INSTANCENAME:                  MSSQLSERVER
  ISSVCACCOUNT:                  NT Service\MsDtsServer120
  ISSVCPASSWORD:                 <empty>
  ISSVCSTARTUPTYPE:              Automatic
  MATRIXCMBRICKCOMMPORT:         0
  MATRIXCMSERVERNAME:            <empty>
  MATRIXNAME:                    <empty>
  NPENABLED:                     0
  PID:                           *****
  QUIET:                         true
  QUIETSIMPLE:                   false
  ROLE:                          
  RSINSTALLMODE:                 DefaultNativeMode
  RSSHPINSTALLMODE:              DefaultSharePointMode
  RSSVCACCOUNT:                  <empty>
  RSSVCPASSWORD:                 <empty>
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         <empty>
  SECURITYMODE:                  <empty>
  SQLBACKUPDIR:                  C:\Backup
  SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
  SQLSVCACCOUNT:                 Administrator
  SQLSVCPASSWORD:                *****
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           Administrator, Administrator
  SQLTEMPDBDIR:                  C:\TempDB
  SQLTEMPDBLOGDIR:               C:\TempLog
  SQLUSERDBDIR:                  C:\Data
  SQLUSERDBLOGDIR:               C:\Log
  SQMREPORTING:                  false
  TCPENABLED:                    1
  UIMODE:                        Normal
  UpdateEnabled:                 true
  UpdateSource:                  C:\InstallSQL\SQL2014\Updates
  USEMICROSOFTUPDATE:            false
  X86:                           false

  Configuration file:            C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150218_210907\ConfigurationFile.ini

Detailed results:
  Feature:                       Management Tools - Complete
  Status:                        Passed

  Feature:                       Client Tools Connectivity
  Status:                        Passed

  Feature:                       Client Tools SDK
  Status:                        Passed

  Feature:                       Client Tools Backwards Compatibility
  Status:                        Passed

  Feature:                       Management Tools - Basic
  Status:                        Passed

  Feature:                       Database Engine Services
  Status:                        Passed

  Feature:                       Data Quality Services
  Status:                        Passed

  Feature:                       Full-Text and Semantic Extractions for Search
  Status:                        Passed

  Feature:                       SQL Server Replication
  Status:                        Passed

  Feature:                       Master Data Services
  Status:                        Passed

  Feature:                       Distributed Replay Client
  Status:                        Passed

  Feature:                       Distributed Replay Controller
  Status:                        Passed

  Feature:                       Integration Services
  Status:                        Passed

  Feature:                       Data Quality Client
  Status:                        Passed

  Feature:                       Analysis Services
  Status:                        Passed

  Feature:                       SQL Browser
  Status:                        Passed

  Feature:                       Documentation Components
  Status:                        Passed

  Feature:                       SQL Writer
  Status:                        Passed

  Feature:                       SQL Client Connectivity
  Status:                        Passed

  Feature:                       SQL Client Connectivity SDK
  Status:                        Passed

  Feature:                       Setup Support Files
  Status:                        Passed

Rules with failures:

Global rules:

Scenario specific rules:

Rules report file:               C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\Log\20150218_210907\SystemConfigurationCheck_Report.htm

The problem I run into is when I attempt to invoke this particular script from CI tools, the error triggers a false exit of the provision.  Additionally the error seems to happen before I can install updates.  

I am using SQL2014.  Does anybody have any ideas?

Repair or Replace SQL Server 2017 Developer Edition.

$
0
0

The mandatory update from Microsoft this past week seems to have trashed my ability to import Excel files into SQL Server.  It says Excel isn't a valid connection manager type.  I've reinstalled Office and the ACE Database Runtimes, with no success.

My next idea is to reinstall or repair SQL Server 2017, the developer edition.  I started to try repair, but that requires the install media files.  On the download website, there are two options: an ISO or CAB files.  I'm not sure which the repair needs.  If you can tell me, that might help.

Further if you have any other suggestions on remedying this error, that would be great:

The connection type "EXCEL, {8FD37A45-01A4-210C-6C6D-575139717076}" specified for connection manager "{F118BC96-4456-4B60-A69F-1E69A7BACCFF}" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name.

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

In SSMS, I clicked on on of the databases and selected Task, then import data, select Excel, and I see this error immediately.

I'm running SQL Server 2017 Developer Edition and the most current version of SSDT (just downloaded and installed as an attempt to fix this issue).  The machine is 64-bit Windows 2012 R2.

I'm running Microsoft Office 365 64-bit, but again, things have been running perfectly until today with SSIS accessing Excel.

My guess is that something, perhaps in yesterday's Windows update corrupted, whatever it is that SQL needs to connect to an Excel data source, but that's only a guess.

I have installed the 64-bit versions of 

Microsoft.ACE.OLEDB.12.0

Microsoft.ACE.OLEDB.15.0

Microsoft.ACE.OLEDB.16.0

Any possible solution?  Is there something I need to reinstall?  Please advise.

SQL core-based Licensing question

$
0
0

Hi fellas, had a Licensing question regarding SQL.

If I have a single physical host with, say, 12 physical cores, and I go with a core-based licensing model, does that permit me to install as many VMs running SQL Enterprise as I can on that host?

SQL Server 2008 R2 Management Studio install fails telling me to install Visual Studio 2008 SP1!

$
0
0

Hi,

I am getting the following error when trying to install SQL Server 2008 R2 Management Studio (SQLManagementStudio_x86_ENU.exe or SQLManagementStudio_x64_ENU.exe) on a new Toshiba Portege R830-10R:

Another version of Microsoft Visual Studio 2008 has been detected on this system that must be updated to SP1.  Please update all Visual Studio 2008 installations to SP1 level, by visiting Microsoft Update.

I have all Windows Updates installed on this machine and I DO NOT have VS 2008 installed on this computer (VS2008 was never installed on this computer), but VS 2010 SP1 with .Net Framework 4.0 SP1!

I have sent all day trying to install either ones of the above .exe, but always get the same error message.

I have checked the registry and see that I do not have a  HKLM\SOFTWARE\Microsoft\DevDiv\VS key but only a HKLM\SOFTWARE\Microsoft\DevDiv\VC key (probably since I configured VS1010 for C#).  The HKLM\SOFTWARE\Microsoft\DevDiv\VC\Servicing\9.0 contains SP = 1 and SPIndex = 1.

Please help.
Thanks.

Eric

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

$
0
0

Hi 

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

FYI i m using my command line options as

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

Help me fix this problem.

Advance thanks 

Has Anyone Rejoined Their SQL Server to a Different Domain Controller and What Happened?

$
0
0

I have a production SQL Server 2017 that I need to rejoin to a different domain controller.  Has anyone here done that, and what happened?  What settings had to be changed to get SQL Server back running?

Since it is a production server, I don't want to get myself into a bind where I can't go forwards or backwards.

Thanks!

System database restore

$
0
0

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

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

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

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

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



SQL Server Install File Missing Language File

$
0
0

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

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

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

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

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

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

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

$
0
0


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

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


Cannot upgrade SQL Server RTM to SP4

$
0
0

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


Error enabling FILESTREAM on SQL 2019

$
0
0

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

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

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

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

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

I checked the event viewer and found this entry:

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

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

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

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

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

Thanks in advance,

David


SQL enterprise not setting for all cores

$
0
0

Hi everyone,

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

How it will affect performance?

Thanks.

Regards,

Yerkhan

SQL Server 2014 - TDE & Compressed Backup

$
0
0
Hello Everyone,

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

Thank you!

Compatibility SQL build with other platform?

$
0
0

Hi all,

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

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

Thanks for your inputs!!

Enric


Escaping special characters in a configuration string

$
0
0

Hi,

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

Please see the example below.

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

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


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


maintenance tasks help

$
0
0
Hello

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

Thank you

NJPA

Upgrade from SQL server 2008 R2 to SQL Server 2016

$
0
0

Hello  ,

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

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

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

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



KSH

No seamless upgrade for SSRS in SQL Server 2019

$
0
0

HI,

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

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

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

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

My questions are:

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

As always, Appreciate your insights and valuable help.

Thank you. 

Installation Issue

$
0
0

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

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

Do you want to undo those changes?

YES  NO

If I type Yes, it  happens nothing.

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

How can you help?

Thank you for your support in advance.

Thanks

sl22

Viewing all 7707 articles
Browse latest View live


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