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

Select data synchronization preference configuration options

$
0
0

Select initial data synchronization preference configuration options during the AG wizard.

Full option states that you need to "perform a full backup and log backup for each selected database.  These databases are restored to each secondary and joined to the AG group".

I thought only a full back of a new database was required for each new database?  Do we have to do a full backup and a log backup of each database we want to add to the AG before we start the AG wizard?  Is this to initialize t logs??

There is also "join only" and "skip initial synchronization" options in this popup where "Full" option is available.

Xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

"Specify a shared network location accessible by all replicas"- Do we need to create a shared folder on one SQL node for all SQL nodes to be able to access?



dsk




Not clustered or the cluster service is up and online. failed - I am running SP1 on a Standalone system

$
0
0

Hi All,

I installed a SQL server 2008 R2 on a 64 bit Stand alone system today morning

Now i am trying to apply SP1 on it. But it is not progressing further with the below. Please suggest me how to over cum this issue.

Note: Cluster services not installed on this server. Cluster service is not there in the services.msc as well.

Moving databases from SQL 2014 to SQL 2016

$
0
0

Hi there

Ok, migrating all databases over time from 2014 to 2016.

Previous upgrades just used detach/attach, all worked ok.

On both servers the dbs and logs are stored on different drives.

I detach from 2014...all fine.  Copy mdf and ldf files to correct default locations.

On SQL 2016 SSMS, when I attach and add the mdf file, it does not populate the ldf in the lower window, the mdf does appear ok.  The default settings are correct.  Indeed if I ok the process, it comes back with an error basically saying it can't create the ldf file because it exists, which indeed it does.

However, if I put both the mdf and ldf files in same location, the attach process works fine even though not the default location.

If I use TSQL, it does work ok.  However, I'm used to using the GUI and in the past this has been the easiest option.

Any ideas how to get this working properly, have I missed something obvious?

Regards

Ian

TITLE: SQL Server Setup failure. ------------------------------ SQL Server Setup has encountered the following error: Unable to generate a temporary class (result=1). error CS1567: Error generating Win32 resource: The process cannot access the file beca

$
0
0
TITLE: SQL Server Setup failure.
------------------------------

SQL Server Setup has encountered the following error:

Unable to generate a temporary class (result=1).
error CS1567: Error generating Win32 resource: The process cannot access the file because it is being used by another process. 
.

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

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

OK
iam getting this error while installing can any one give me a solution how to rectify this error?

forgot a database password - trying to find it from sql studio

$
0
0

any idea if I can extract a database user from sql studio?

The user is a dbo and I need this password on a remote odbc connecton setup

WHERE IS SETUP.EX

SQL Server 2017 - Installation error - password policy

$
0
0

Hi

I have been trying to install SQL Server 2017.  I keep trying to install and keep getting the error:

The following error has occurred while creating local user account XXXXXX00. Password does not meet policy requirements.  I have created a mixed mode environment as the management software I will eventually install that uses SQL Server uses the sa account.  The password I created actually does meet the requirements for the sa account.   

I have tried disabling domain group policy to disable requirements for complex passwords temporarily but that didnt work. 

I have installed, removed and tried to reinstall several times.. Still same error.

The I get wait in the DB recovery handled failed. Check the sql error log for potentials causes.

  I am assuming it is because of the password issue... Things like database engine will fail.. of the services will start..

I cant  figure out where to look next.   

When installation gets to end.. the following show as failed:

data quality service 

full text and sym

python

machine learning

database engine service

plus couple others.

I have tried googling but cant really find an answer as what to look at.. that its failing... I have never installed SQL Server before.. so is there maybe just base services i should install??? I selected most things except for polybase and one other..  for install...  The server is Server 2012 R2


SQL 2016 AG - manual failover between Primary and DR sites.

$
0
0

We have a SQL 2016 AG ( consists of two SQL nodes) located in datacenter 1 which is active.

We want to add two more nodes to this SQL 2016 AG located in datacenter 2 as a DR solution.

The single SQL AG will consist of four total nodes with only one node as active n datacenter 1.

Datacenter 2 (2 nodes) need to be configured for a Manual failover.  Datacenter 1 nodes need to be configured for Automatic failover ( High Availability ).  Datacenter 2 nodes will also be configured for high availability. Please provide detailed steps on configuring this.  



dsk


How to configure Azure Load Balancer in SQL 2016 when the replicas are located in two different datacenters. manual failover, and HA.

$
0
0

DataCenter 1 - two SQL servers (replicas) in HA.  Configured w synch and automatic failover.  Azure LB.

DataCenter 2 - two SQL servers (replicas) in HA.  Configured w asynch within the AG. Manual failover within the AG so that SQL nodes in DataCenter 1 SQL do not failover automatically to DataCenter 2.

How do we configure the Azure LB at each site?  Can I assume the each LB would include only the SQL servers for each site?

DataCenter 1 - SQL server A, SQL server B, Load Balancer 1

DataCenter 2 - SQL server C, SQL server D, Load Balancer 2

Load Balancer 1 has a backend pool of SQL server A and SQL server B

Load Balancer 2 has a backend pool of SQL server C and SQL server D

Are the backend pools correct for the Load balancers above?


dsk

Sql server 2017

$
0
0

Can we install Sql server 2017 on Intel Xeon Bronze 3106 (Octa Core) with dual processor 

OR I have to purchase additional SQL licenses 

Does MSSQL 2016 (database) support GB18030 standard for Chinese character set.

$
0
0

Platform used is Windows Server 2016 with MSSQL 2016

Are there any settings to be done explicitly to get the support for GB18030? How to confirm that Chinese char set ( with UTF-8 ) is supported and readable by SQL server 2016 database?

With MSSQL DB Collation set to Chinese_Hong_Kong_Stroke_90_CI_AS, its failing as below:

"Could not find a Java charset equivalent to collation 040CD01000." How to resolve this error?

SQL 2016 SP2CU2 - Cannot add new features "Client Tools SDK" & "Client Tools Backwards Compatibility"

$
0
0

Hi,

I have an install/config issue with one of my dev servers. It was running SQL2016 SP2 and I successfully applied CU2 when it came out a few days back.

Now I need to add some additional components (Namely "Client Tools SDK" & "Client Tools Backwards Compatibility" ) but get the following error when I try (using SQL2016 SP2 install media) :

Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Product Update:
Product Update has successfully applied KB 4052908 <http://support.microsoft.com/?id=4052908>. These updates have set the patch level of the Setup operation to 13.2.5026.0.

Things I have tried unsuccessfully:

  • Slipstream the CU2 using the commandline "setup.exe /Action=Install /UPDATESOURCE=D:\CU2"   - installer complains that no updates are found in D:\CU2
  • Uninstalling CU2 - error saying that multiple components of SQL2016 are installed.
  • Repairing using the SQL2016SP2 install media, then trying again to add the components.

Any ideas what else I can do to get this to work?

Thanks in advance,

Tallal Garghouti


How to install sql server agent

$
0
0

I would like to use sql server agent and it's jobs. I had express edition which I upgraded to developper edition. Then in the sql server installation server I try to add features to an existing installation and I don't know which "bundle" of features i want to add.

I tried searching what I need to install to get sql server agent several times but none of the search results were relevant.

SQL Server 2016 error: SSBDT: Dialog timer delete during registration and SSBDT: Dialog timer delete during dispatch

$
0
0

Hello,

We are getting the following errors in our SQL Server 2016 servers. These messages are filled in error log. 

2018-07-25 14:21:48.070 spid124s     SSBDT: Dialog timer delete during registration (did: CB9C71C8-93CB-4AE6-B92E-B237A7AE4C67:Initiator, OpType: CloseDialog OpResult: Null)
2018-07-25 14:21:48.080 spid124s     SSBDT: Dialog timer delete during registration (did: 9EDAD00A-90EE-4C0E-925B-DD3258580CE1:Initiator, OpType: CloseDialog OpResult: Null)
2018-07-25 14:22:07.160 spid124s     SSBDT: Dialog timer delete during registration (did: B59E1EB3-D8B7-45EB-82C4-D6145838414F:Initiator, OpType: CloseDialog OpResult: Null)
2018-07-25 14:22:15.730 spid124s     SSBDT: Dialog timer delete during dispatch (did: 039E621C-B0DB-48FE-8B3E-0B09ECE8104B:Target, OpType: DialogCleanupDispatch OpResult: Null)
2018-07-25 14:22:15.760 spid124s     SSBDT: Dialog timer delete during dispatch (did: 7CD4A466-4F9C-404A-9210-A3B4CE2F520D:Target, OpType: DialogCleanupDispatch OpResult: Null)

These may may informational message but not sure these messages are related to which object or process. Error log getting filled. How to stop these message ?

Thanks

Selva

SQL Server 2014 SP2 Configuration

$
0
0

I successfully installed Sql server 2014 SP2 on my machine which already have Express Ed. but SP2 failed to run. Error: The remote computer refused the network connection.

I understand that this is T-SQL challenges platform, but I just fill there might be someone here who can help. Thanks!

 

Poor query performance since migrating to 2016

$
0
0

We recently migrated one of our databases from a physical 2008 R2 instance to a clustered VM 2016 instance. The db is in 2016 compat mode. We have auto update stats enabled and run reindexing on a weekly basis (same as we did on 2008 ) but the queries are not performing ( 0 secs on 2008r2, 33 sec on 2016 in one example ). We have seen instances where non-clustered indexes have been completely ignored. It makes me think statistics and the query optimizer. Am I missing a trace flag or a setting somewhere?

I know we are not looking at apples to apples with the different versions and phys to vm, but I was not expecting this disparity in perf. Things like integrity checks and reindexing are far better on the new server


UPDATE:it now looks to be  a drop off in query performance during peak usage.It may sound obvious but this is a decently sized server that should more than cope with our peak. 256GB RAM, 24 cores, 198GB buffer cache

The SQL Server Product key is not valid. To Proceed, re-enter the product key. SQL Server 2017

$
0
0

I have downloaded SQL Server Standard edition 2017 from our Action Pack subscription and am trying to install a new stand alone version on a test machine.


When I run the install, it comes up with the message 'The SQL Server product key is not valid. To Proceed, re-enter the product key values from the COA or SQL packaging.

1. I haven't been given the opportunity to enter a key

2. DefaultSetup.ini has a valid product key.

The test machine has a previous version of SQL server on it, as well as Visual Studio 2017.

How to move DB from SQL 2017 to SQL 2016.

$
0
0

Hello,

Our production SQL server is version 2016.

My dev box is SQL server 2017 dev.

I built a large DB (with compatibility set to SQL 2016) on my dev box and trying to move the DB to the production.

But I failed:

#1. backup/restore. Production server won't take a backup from SQL 2017 (even I set the DB compatible to SQL 2016)

#2. detach from dev and attach on prod. Still don't let me do it.

#3. Create a new DB on Production/SQL2016. Backup and restore on Dev. Populate the DB.
then Backup and restore on Production. Still not let me complaining it was backed up in SQL2017.

Need help on this task.

Thanks in advance.

John

MSSQL 2014 installation issue - failed to retrieve data for this request

$
0
0

I have an issue while trying to install SQL Server 2014, the error that I received is failed to retrieve data for this request. 

The end of the file Details.txt is the followingL

(09) 2018-07-26 14:10:08 Slp:    --- End of inner exception stack trace ---
(09) 2018-07-26 14:10:08 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
(09) 2018-07-26 14:10:08 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionWithRetryHelper(WorkflowObject metaDb, ActionKey action, ActionMetadata actionMetadata, TextWriter statusStream)
(09) 2018-07-26 14:10:08 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction(WorkflowObject metabase, TextWriter statusStream)
(09) 2018-07-26 14:10:08 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions(WorkflowObject metaDb, TextWriter loggingStream)
(01) 2018-07-26 14:10:08 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2018-07-26 14:10:08 Slp: Inner exceptions are being indented
(01) 2018-07-26 14:10:08 Slp: 
(01) 2018-07-26 14:10:08 Slp: Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
(09) 2018-07-26 14:10:08 Slp:    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionEngine.RunActionQueue()
(01) 2018-07-26 14:10:08 Slp:     Message: 
(01) 2018-07-26 14:10:08 Slp:         Failed to retrieve data for this request.
(01) 2018-07-26 14:10:08 Slp:     HResult : 0x80131500
(01) 2018-07-26 14:10:08 Slp:     Data: 
(01) 2018-07-26 14:10:08 Slp:       HelpLink.ProdName = Microsoft SQL Server
(01) 2018-07-26 14:10:08 Slp:       HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
(01) 2018-07-26 14:10:08 Slp:       HelpLink.LinkId = 20476
(01) 2018-07-26 14:10:08 Slp:     Stack: 
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.<>c__DisplayClasse.<ExecuteActionWithRetryHelper>b__b()
(01) 2018-07-26 14:10:08 Slp:         at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(ActionWorker workerDelegate)
(01) 2018-07-26 14:10:08 Slp:     Inner exception type: System.ComponentModel.Win32Exception
(01) 2018-07-26 14:10:08 Slp:         Message: 
(01) 2018-07-26 14:10:08 Slp:                 Not all privileges or groups referenced are assigned to the caller.
(01) 2018-07-26 14:10:08 Slp:                 
(01) 2018-07-26 14:10:08 Slp:         HResult : 0x80004005
(01) 2018-07-26 14:10:08 Slp:         Error : 1300
(01) 2018-07-26 14:10:08 Slp:         Stack: 
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean enable)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer ctx, String machineName, SqlRegistryKey key)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx, String machineName, SqlRegistryKey machineKey, String registryPath, RegistryView regView, String regPath, RegistryAccess registryAccess, Boolean& alreadyCached)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
(01) 2018-07-26 14:10:08 Slp:                 at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)

Prerequisites to setup Always ON

$
0
0
What are the Prerequisites to setup Always ON 
Viewing all 8133 articles
Browse latest View live


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