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

SQL Server 2019 Installation Issues

$
0
0

I downloaded the https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads This one's a developer.

After opening the program, he downloaded something for me.

图片

After downloading he told me the download was successful and then automatically closed and opened another program and then prompted

图片

What's wrong with that? I run the installer in administrator mode, and when I run the installer in normal mode, it won't install and open with this interface. How do you solve it?


Contact SQL Server License Specialist

$
0
0

Hi There!

How do i contact SQL Server License specialist who could answer few queries of mine regarding sql server license. I am trying 18004269400 and 018004269400 from Delhi, India but it says 'number is incorrect'. Could someone please help how do i contact license specialist over call or email or both?

Thanks

Chirag

About SQL Server - Server + CAL license

$
0
0

If i purchase sql server 2016 Standard edition - server + cal license

server license for the vm/server (say serverA) on which database engine will be installed.

CAL license for each user/device accessing serverA remotely. Say there are 3 users > user1, user2, user3 who will be accessing serverA.

Question1: Can I install multiple sql engines on serverA since i already have server license? I know that multiple sql server engines can be installed in case of core based licensing. 

Question2: If answer of question 1 is 'No' means i have to buy another server license. Suppose i buy another server license and i install named instance of sql on same server 'serverA'. Now 'serverA' has two database engines. But the users who are going to use named instance are same as of default instance i.e user1, user2, user3 for which i already have 3 cal license. So do i need to buy 3 more cal license for the 3 users in order to them access named instance?

Thanks in Advance

Chirag

Error:The service does not respond to initiation or control requests in a timely manner

$
0
0

How to resolve?First install...

Error while install SQL Server 2008 Upgrade Advisor

$
0
0

I need to migrate from 2000 server to 2008 and downloaded the Microsoft SQL Server 2008 Upgrade Advisor.

But when I run the SqlUA_x64.msi I got the error message "1: 0 2:" and installation is interrupted

Help me please, how can I know what is the cause of the error?

Azure VM SQL Offer: sql2019-ws2019-byol Not allowing to be installed.

$
0
0

I have tried creating a VM from the Azure Portal and from Powershell and both get the same error.

The following list of images referenced from the deployment template are not found: Publisher: microsoftsqlserver, Offer: sql2019-ws2019-byol, Sku: standard, Version: 15.0.200609.

If I change the offer": "sql2019-ws2019-byol", to "sql2019-ws2019"  All works fine. 

So I gave a new 2019 Server (Hybrid Benefit) and SQL 2019, but no BYOL. 

Can we fix the BYOL Image?  Can I convert the non-BYOL Image to a BYOL SQL Image?  I can blow it away once the other is fixed, but if it not fixed for a while I need to get going...

Output of commands below...

Thanks,

Scott<-

I believe the only part of the the template and parameters JSON files that is important is the Image Reference:

Command Line uses the following imageReference:

                   "imageReference": {
                        "publisher": "microsoftsqlserver",
                        "offer": "sql2019-ws2019-byol",
                        "sku": "standard",
                        "version": "15.0.200609"
                    },

Portal uses the following imageReferences: 

                   "imageReference": {
                        "publisher": "microsoftsqlserver",
                        "offer": "sql2019-ws2019-byol",
                        "sku": "standard",
                      "version": "latest" //Command line didn't like this
                    },

I can query the Image and it finds it:

PS /Users/scooter133/Downloads/template-2> Get-AzVMImage-Location"westus"-PublisherName"microsoftsqlserver"-offer sql2019-ws2019-byol-sku standard -version 15.0.200609

Id               : /Subscriptions/<subscription>/Providers/Microsoft.Compute/Locations/westus/Publishers/microsoftsqlserver/ArtifactTypes/VMImage/Offers/sql2019-ws2019-byol/Skus/standard/Versions/15.0.200609

Location         : westus

PublisherName    : microsoftsqlserver

Offer            : sql2019-ws2019-byol

Skus             : standard

Version          : 15.0.200609

FilterExpression : 

Name             : 15.0.200609

HyperVGeneration : V1

OSDiskImage      : {

                     "operatingSystem": "Windows"

                   }

PurchasePlan     : null

DataDiskImages   : []

Creating the new VM via Command Line. 

New-AzResourceGroupDeployment: 10:11:43 AM - Error: Code=InvalidTemplateDeployment; Message=The template deployment 'ASVR-SQL2019' is not valid according to the validation procedure. The tracking id is '4463012a-8e0d-40a3-ad07-881350632eb8'. See inner errors for details.

New-AzResourceGroupDeployment: 10:11:43 AM - Error: Code=InvalidParameter; Message=The following list of images referenced from the deployment template are not found: Publisher: microsoftsqlserver, Offer: sql2019-ws2019-byol, Sku: standard, Version: 15.0.200609. Please refer to https://docs.microsoft.com/en-us/azure/virtual-machines/windows/cli-ps-findimage for instructions on finding available images.

New-AzResourceGroupDeployment: The deployment validation failed




Finding Volumes max IOPS

$
0
0

Hi,

I am in the process of installing SQL Server 2016 in Windows 2016 on AWS Ec2 instance hence wanted to know how we can find the max IOPS on the attached EBS volumes?

This is very important for us as our DB is IOPS sensitive. 


Regards, Ashif Shaikh

Database Engine Services Failure - Error Code 0x851A001A

$
0
0

I cannot install MS SQL Express 2019 or 2014, can someone help?  Seems like a common issue but I have tried the common solutions found here and other places online.

Windows Server 2016 (even though log says 2012)

I have tried installing SQL Server Express 2019 about 5 times with different tutorials online.  No success with the same error.  I just tried SQL Server 2014 Express and same error.  I've tried about 5 different names including creating a local admin user "SQL" and trying that during the configuration section of the installation process.

If it matters, I am running this as a virtual machine using bhyve (FreeBSD)

Below is my log.  Any help is greatly appreciated.

Overall summary:
  Final result:                  Failed: see details below
  Exit code (Decimal):           -2061893606
  Start time:                    2020-07-02 16:51:15
  End time:                      2020-07-02 17:05:53
  Requested action:              Install

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


Machine Properties:
  Machine name:                  VM_SQLSERVER
  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:          32 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:\Users\Administrator\Downloads\SQLEXPRWT_x86_ENU3\x86\setup\
  Installation edition:          Express

Product Update Status:
  None discovered.

User Input Settings:
  ACTION:                        Install
  ADDCURRENTUSERASSQLADMIN:      true
  AGTSVCACCOUNT:                 NT AUTHORITY\NETWORK SERVICE
  AGTSVCPASSWORD:                *****
  AGTSVCSTARTUPTYPE:             Disabled
  ASBACKUPDIR:                   Backup
  ASCOLLATION:                   Latin1_General_CI_AS
  ASCONFIGDIR:                   Config
  ASDATADIR:                     Data
  ASLOGDIR:                      Log
  ASPROVIDERMSOLAP:              1
  ASSERVERMODE:                  MULTIDIMENSIONAL
  ASSVCACCOUNT:                  <empty>
  ASSVCPASSWORD:                 <empty>
  ASSVCSTARTUPTYPE:              Automatic
  ASSYSADMINACCOUNTS:            <empty>
  ASTEMPDIR:                     Temp
  BROWSERSVCSTARTUPTYPE:         Disabled
  CLTCTLRNAME:                   <empty>
  CLTRESULTDIR:                  <empty>
  CLTSTARTUPTYPE:                0
  CLTSVCACCOUNT:                 <empty>
  CLTSVCPASSWORD:                <empty>
  CLTWORKINGDIR:                 <empty>
  COMMFABRICENCRYPTION:          0
  COMMFABRICNETWORKLEVEL:        0
  COMMFABRICPORT:                0
  CONFIGURATIONFILE:             
  CTLRSTARTUPTYPE:               0
  CTLRSVCACCOUNT:                <empty>
  CTLRSVCPASSWORD:               <empty>
  CTLRUSERS:                     <empty>
  ENABLERANU:                    true
  ENU:                           true
  ERRORREPORTING:                false
  FEATURES:                      SQLENGINE, REPLICATION, CONN, BC, SDK, SSMS, ADV_SSMS, SNAC_SDK
  FILESTREAMLEVEL:               0
  FILESTREAMSHARENAME:           <empty>
  FTSVCACCOUNT:                  <empty>
  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 (x86)\Microsoft SQL Server\
  INSTANCEID:                    SQLEXPRESS
  INSTANCENAME:                  SQLEXPRESS
  ISSVCACCOUNT:                  NT AUTHORITY\Network Service
  ISSVCPASSWORD:                 <empty>
  ISSVCSTARTUPTYPE:              Automatic
  MATRIXCMBRICKCOMMPORT:         0
  MATRIXCMSERVERNAME:            <empty>
  MATRIXNAME:                    <empty>
  NPENABLED:                     0
  PID:                           *****
  QUIET:                         false
  QUIETSIMPLE:                   false
  ROLE:                          AllFeatures_WithDefaults
  RSINSTALLMODE:                 DefaultNativeMode
  RSSHPINSTALLMODE:              DefaultShareSQLSERVERMode
  RSSVCACCOUNT:                  <empty>
  RSSVCPASSWORD:                 <empty>
  RSSVCSTARTUPTYPE:              Automatic
  SAPWD:                         *****
  SECURITYMODE:                  SQL
  SQLBACKUPDIR:                  <empty>
  SQLCOLLATION:                  SQL_Latin1_General_CP1_CI_AS
  SQLSVCACCOUNT:                 SQL
  SQLSVCPASSWORD:                *****
  SQLSVCSTARTUPTYPE:             Automatic
  SQLSYSADMINACCOUNTS:           VM_SQLSERVER\Administrator
  SQLTEMPDBDIR:                  <empty>
  SQLTEMPDBLOGDIR:               <empty>
  SQLUSERDBDIR:                  <empty>
  SQLUSERDBLOGDIR:               <empty>
  SQMREPORTING:                  false
  TCPENABLED:                    0
  UIMODE:                        AutoAdvance
  UpdateEnabled:                 true
  UpdateSource:                  MU
  USEMICROSOFTUPDATE:            false
  X86:                           true

  Configuration file:            C:\Program Files (x86)\Microsoft SQL Server\120\Setup Bootstrap\Log\20200702_165108\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:                        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, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xE53883A0%400xBE03358B%401306%4026&EvtType=0xE53883A0%400xBE03358B%401306%4026

  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, uninstall this feature, and then run the setup process again.
  Component name:                SQL Server Database Engine Services Instance Features
  Component error code:          0x851A001A
  Error description:             Wait on the Database Engine recovery handle failed. Check the SQL Server error log for potential causes.
  Error help link:               http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=12.0.2000.8&EvtType=0xE53883A0%400xBE03358B%401306%4026&EvtType=0xE53883A0%400xBE03358B%401306%4026

  Feature:                       SQL Browser
  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 (x86)\Microsoft SQL Server\120\Setup Bootstrap\Log\20200702_165108\SystemConfigurationCheck_Report.htm


SQL SERVER AGENT DOESNT START 0x80070422

$
0
0
Hi, I have windows 7, 64bits. Today I download and install sql server 2008 express and everytime I try to start the sql agent and the browser i got an error message 0x80070422... the sp1 didn't fix it either... plz help

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


please wait while microsoft sql server setup process the current operation

$
0
0

While trying to install MS SQL server 2019 it showing the dialogue as below. It is not moving further.

Please guide me.

please wait while microsoft sql server setup process the current operation

My Windows Photo Gallery will not start because I need Microsoft SQL Server 2005 Compact Edition.

$
0
0

I am using Windows 8.1 on my desktop. My Windows Photo Gallery will not start because I need Microsoft SQL Server 2005 Compact Edition. When I go to the Download Center, it says : Error Code 0x8007045A when I try to open Windows Photo Gallery.

I have downloaded Microsoft SQL Server 2005 Compact Edition, but I am still getting the Error Code 0x8007045A message. How do I solve both these problems?

SQL Server on Virtual Machine

$
0
0

Hi,

We are planning to deploy SQL Server on Virtual Machines. 

Please let me know the pros and cons of virtualizing SQL Server instances.

Thanks




SQL Server Memory

$
0
0

Hi Team,

What is the recommended Min & Max SQL server memory, if DB and Web Server is on same box?

Install SQL Server 2017 - CU21 on Distributed availibility group (DAG) environment

$
0
0
Hi All,

I have to install SQL Server 2017 - CU21 on Distributed availibility group (DAG) environment. Could you please share the steps to install CU21 on all 4 DB servers.

DC1:
SQLDB1 (Primary)
SQLDB2 (Secondary)
DC2:
SQLDB3 (Forwarder)
SQLDB4 (Secondary)

Packaging of SQL Server Installation in VM for Users

$
0
0

Hello,

We need to Package SQL Server Installation in VM so that It can be distributed for other Users with Application.

Do anyone know any Method or steps so That We can package Installation of VM So that It will not install from scratch when we distribute VMs to Users and It only ask for Instance name and some basic things.

Thanks,

 


Thanks , Prakash ,Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

SQL SERVER LICENSING

$
0
0

Hello guys, 

I have few question abt upgrade SQL Server Version. I have SQL Server 2008 R2 Enterprise running on Win Server 2008 R2 also. We have to upgrade Win Server maybe to 2016 version,  due to security reason. May i also upgrade the SQL to 2019 version and re-use the SQL Server 2008R2 license?

Thank you

Installing SQL Server on a PC

$
0
0
I know that SQL Server requires local admin permission to be installed on a PC but does SQL Server need local admin permission to run on a PC.  If not how do you set it up to not use local admin rights?

Fred

Migrating Database to new Server, Can i take my SQL Standard License with me?

$
0
0

Hi

We want to migrate from our current SQL Server that sits on a computer in our office to an Azure Virtual machine, we run this SQL:

Microsoft SQL Server 2014 (SP3-GDR) (KB4532095) - 12.0.6118.4 (X64) 
Dec 12 2019 21:46:15 
Copyright (c) Microsoft Corporation
Standard Edition (64-bit) on Windows NT 6.3 <X64> (Build 18363: )

Can we install this on our new server in Azure?

Unable to Enlist Target to MSX after Collation Change.

$
0
0

Hi folks,

After changing the Collation of SQL Server to Latin1_General_CI_AI from QL_Latin1_General_CP1_CI_AS  I'm trying to add the server to MSX as target in CMS but Enlisting is failing. One thing I forgot to do before SQL Collation change was defecting the server. Now I'm not sure if it is because of not defecting the server or changing collation that has caused this? Regardless, now I need to enlist the server in MSX and push monitoring jobs. This same server was enlisted before the change. 

I'm able to connect to the target server from CMS and vice versa using SSMS.

Target SQL Server Version: 2017

CMS SQL Server Version: 2017

Error when trying to enlist from CMS:

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

MSX enlist failed for JobServer 'myserver.domain.sa'.  (Microsoft.SqlServer.Smo)

------------------------------
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=14.0.17285.0+((SSMS_Rel_17_4).180821-0238)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=MSX+enlist+JobServer&LinkId=20476

------------------------------
Program Location:

   at Microsoft.SqlServer.Management.Smo.Agent.JobServer.MsxEnlist(String masterServer, String location)
   at Microsoft.SqlServer.Management.SqlManagerUI.EnlistTsxActions.DoAction(ProgressItemCollection actions, Int32 index)
   at Microsoft.SqlServer.Management.SqlStudio.Controls.ProgressItemCollection.DoWorkOnThread()

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

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------
Program Location:

   at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry)
   at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType, Boolean retry)
   at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries, Boolean retry)
   at Microsoft.SqlServer.Management.Smo.Agent.JobServer.MsxEnlist(String masterServer, String location)

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

The enlist operation failed (reason: The time-out was exceeded while the server waited for a response from SQL Server Agent. Make sure that the SQL Server Agent service is running) (.Net SqlClient Data Provider)

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

------------------------------
Server Name: myserver.domain.sa
Error Number: 22026
Severity: 16
State: 1


------------------------------
Program Location:

   at Microsoft.SqlServer.Management.Common.ConnectionManager.ExecuteTSql(ExecuteTSqlAction action, Object execObject, DataSet fillDataSet, Boolean catchException)
   at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry)

Error when trying to Add this as target from target server:

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

MSX enlist failed for JobServer 'myserver.domain.sa'.  (Microsoft.SqlServer.Smo)

------------------------------
For help, click: https://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=15.0.18206.0+((SSMS_Rel).191029-2112)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=MSX+enlist+JobServer&LinkId=20476

------------------------------
Program Location:

   at Microsoft.SqlServer.Management.Smo.Agent.JobServer.MsxEnlist(String masterServer, String location)
   at Microsoft.SqlServer.Management.SqlManagerUI.EnlistTsxActions.DoAction(ProgressItemCollection actions, Int32 index)
   at Microsoft.SqlServer.Management.SqlStudio.Controls.ProgressItemCollection.DoWorkOnThread()

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

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------
Program Location:

   at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(String sqlCommand, ExecutionTypes executionType, Boolean retry)
   at Microsoft.SqlServer.Management.Common.ServerConnection.ExecuteNonQuery(StringCollection sqlCommands, ExecutionTypes executionType, Boolean retry)
   at Microsoft.SqlServer.Management.Smo.ExecutionManager.ExecuteNonQuery(StringCollection queries, Boolean retry)
   at Microsoft.SqlServer.Management.Smo.Agent.JobServer.MsxEnlist(String masterServer, String location)

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

The enlist operation failed (reason: The time-out was exceeded while the server waited for a response from SQL Server Agent. Make sure that the SQL Server Agent service is running) (.Net SqlClient Data Provider)

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

I can't seem to find much information online on this issue. Any help would be appreciated. 

Viewing all 8133 articles
Browse latest View live


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