Quantcast
Channel: SQL Server Migration forum
Viewing all 1700 articles
Browse latest View live

Sql Server Login issue for Sa

$
0
0

Dear ALL,

'Unable to login into sql server 2016 as SA user

Getting the error as"

A connection was successfully established with the server, but then an error occurred during the login process.

(provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)

".

Other users are able to login


Migration from sql server 2008 to sql server 2016

$
0
0

Dear All,

Want to know the features that are removed and cannot be used in sql server 2016 like functions.Migration from sql server 2008 R2 to sql server 2016

Can i convert postgres to MSSQL

$
0
0

  I need some help please, is there way to convert posgtres database to MSSQL ?i have 50 tables in my postgres database and i want to use MSSQL how can i convert my 50 tabes into MSSQL.?

Thank you :)

Migration from compatibility 80 to 100

$
0
0

Is there any tool which helps in migration from sql 2008 r2 (compatibility level 80) to sql 2012 (compatibility level 100).Please suggest if any.



Trouble upgrading sql server 2012 to 2017 - losing enterprise

$
0
0
Hi all

I am trying to upgrade my Microsoft SQL Server 2012 (SP3-CU1) Enterprise Edition to the 2017 version. I am using the setup wizard. However it auto-inputs the product code and when I click next I get the license for the 2017 standard edition and not the enterprise edition. Any idea how to solve this or am I just misunderstanding the license: 

>MICROSOFT SOFTWARE LICENSE TERMS

>MICROSOFT SQL SERVER 2017 STANDARD

I tried getting the product key with the Get-SqlServerKeys.psm1 script from technet and got a different key than what was input automatically in the install wizard. Tried using the key from the script instead but got an invalid key error.

Thanks in advance

Changes to SQL server if the VM moves from one data center to another

$
0
0

I have a VM, called 'vm-a'. I have SQL server installed on it and the instance is 'vm-a.company.com'.

Now, IT is going to move this VM from Data center A to Data center B. This will result in the change of IP and also change of VM name from 'vm-a' to 'vm-b'. The drive letters are not going to change

Can someone please advice me on what are the things that needs to be considered related to SQL server? What changes are needed for smooth migration?

Thanks in advance.

TFS server 2015 update 3 to 2018 migration error

$
0
0

Hello,

I am running TFS 2015 to TFS 2018 migration process and getting following error.

[09:20:09.000] Executing step: Drop existing framework snapshot schema if it exists
[09:20:09.000]   Executing step: 'Drop existing framework snapshot schema if it exists' Sql.ExecuteSql (1709 of 1721)
[09:20:09.000]   Step Data: SqlResource => DeleteApplicationSnapshotData.sql;DropCollectionSnapshotSchema.sql;DropFrameworkJobSnapshotSchema.sql;DropFrameworkIdentitySnapshotSchema.sql;DropLicensingApplicationSnapshotSchema.sql
[09:20:09.000]   Step Data: BatchTimeout => 0
[09:20:09.000]   Step Data: Parameters => 
[09:20:09.000]   Step Data: Database => 
[09:20:09.000]   Step Data: ConnectionString => 
[09:20:09.000]   Step Data: AcquireLock => False
[09:20:09.000]   Step Data: Condition => 
[09:20:09.000]   Step Data: Services => 
[09:20:09.000]   Step Data: SnapshotOnly => False
[09:20:09.000]   It took 0 ms to retrieve script(s)
[09:20:09.000]   Database: Tfs_DefaultCollection, Sql Instance: .\DEVEDITION
[09:20:09.000]   Maximum time allowed to running under servicing lock: 0 seconds
[09:20:09.000]   Maximum time allowed for session blocking executing script: 0 seconds
[09:20:09.853]   SQL Info: @SPID=106
[09:20:10.967]   Execution of script "DeleteApplicationSnapshotData.sql" took 0:00:00.117.
[09:20:10.967]   Execution of script "DropCollectionSnapshotSchema.sql" took 0:00:00.003.
[09:20:10.967]   Execution of script "DropFrameworkJobSnapshotSchema.sql" took 0:00:00.04.
[09:20:10.967]   Execution of script "DropFrameworkIdentitySnapshotSchema.sql" took 0:00:00.491.
[09:20:10.967]   [Error] 1 error(s) occurred while executing DropFrameworkIdentitySnapshotSchema.sql script.
[09:20:10.967]   Failed batch starts on line: 124.
[09:20:10.967]   Error: 3732, Level: 16, State: 1, Batch Line: 18, Script Line: 141
[09:20:10.967]   Message: Cannot drop type 'dbo.typ_GroupTable3' because it is being referenced by object 'prc_UpdateGroupAudit'. There may be other objects that reference this type.
[09:20:10.967]   ================ Failed batch begin ==========================
[09:20:10.967]   BEGIN TRAN
[09:20:10.967]   IF TYPE_ID('MemO.typ_MembersOf2') IS NOT NULL DROP TYPE MemO.typ_MembersOf2
[09:20:10.967]   IF TYPE_ID('MemO.typ_Members2') IS NOT NULL DROP TYPE MemO.typ_Members2
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityTable10') IS NOT NULL DROP TYPE dbo.typ_IdentityTable10
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityRepairChangeTable') IS NOT NULL DROP TYPE dbo.typ_IdentityRepairChangeTable
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityQueueTable') IS NOT NULL DROP TYPE dbo.typ_IdentityQueueTable
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityMembershipTable') IS NOT NULL DROP TYPE dbo.typ_IdentityMembershipTable
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityKeyMapAudit') IS NOT NULL DROP TYPE dbo.typ_IdentityKeyMapAudit
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityKeyMap') IS NOT NULL DROP TYPE dbo.typ_IdentityKeyMap
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityIdTranslationTable') IS NOT NULL DROP TYPE dbo.typ_IdentityIdTranslationTable
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityExtensionTable2') IS NOT NULL DROP TYPE dbo.typ_IdentityExtensionTable2
[09:20:10.967]   IF TYPE_ID('dbo.typ_IdentityAuditTable') IS NOT NULL DROP TYPE dbo.typ_IdentityAuditTable
[09:20:10.967]   IF TYPE_ID('dbo.typ_DescriptorTable3') IS NOT NULL DROP TYPE dbo.typ_DescriptorTable3
[09:20:10.967]   IF TYPE_ID('dbo.typ_DescriptorTable2') IS NOT NULL DROP TYPE dbo.typ_DescriptorTable2
[09:20:10.967]   IF TYPE_ID('MemO.typ_MembersOf') IS NOT NULL DROP TYPE MemO.typ_MembersOf
[09:20:10.967]   IF TYPE_ID('MemO.typ_Members') IS NOT NULL DROP TYPE MemO.typ_Members
[09:20:10.967]   IF TYPE_ID('dbo.typ_GroupUpdateTable') IS NOT NULL DROP TYPE dbo.typ_GroupUpdateTable
[09:20:10.967]   IF TYPE_ID('dbo.typ_GroupTable3') IS NOT NULL DROP TYPE dbo.typ_GroupTable3
[09:20:10.967]   IF TYPE_ID('dbo.typ_GroupScopeTable2') IS NOT NULL DROP TYPE dbo.typ_GroupScopeTable2
[09:20:10.967]   IF TYPE_ID('dbo.typ_GroupMembershipTable2') IS NOT NULL DROP TYPE dbo.typ_GroupMembershipTable2
[09:20:10.967]   IF TYPE_ID('dbo.typ_GroupMembershipTable') IS NOT NULL DROP TYPE dbo.typ_GroupMembershipTable
[09:20:10.967]   COMMIT
[09:20:10.967]   ================ Failed batch end ============================
[09:20:11.063]   Microsoft.TeamFoundation.Framework.Server.SqlScriptException: 1 error(s) occurred while executing DropFrameworkIdentitySnapshotSchema.sql script.
[09:20:11.063]   Failed batch starts on line: 124.
[09:20:11.063]   Error: 3732, Level: 16, State: 1, Batch Line: 18, Script Line: 141
[09:20:11.063]   Message: Cannot drop type 'dbo.typ_GroupTable3' because it is being referenced by object 'prc_UpdateGroupAudit'. There may be other objects that reference this type.
[09:20:11.063]   ================ Failed batch begin ==========================
[09:20:11.063]   BEGIN TRAN
[09:20:11.063]   IF TYPE_ID('MemO.typ_MembersOf2') IS NOT NULL DROP TYPE MemO.typ_MembersOf2
[09:20:11.063]   IF TYPE_ID('MemO.typ_Members2') IS NOT NULL DROP TYPE MemO.typ_Members2
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityTable10') IS NOT NULL DROP TYPE dbo.typ_IdentityTable10
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityRepairChangeTable') IS NOT NULL DROP TYPE dbo.typ_IdentityRepairChangeTable
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityQueueTable') IS NOT NULL DROP TYPE dbo.typ_IdentityQueueTable
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityMembershipTable') IS NOT NULL DROP TYPE dbo.typ_IdentityMembershipTable
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityKeyMapAudit') IS NOT NULL DROP TYPE dbo.typ_IdentityKeyMapAudit
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityKeyMap') IS NOT NULL DROP TYPE dbo.typ_IdentityKeyMap
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityIdTranslationTable') IS NOT NULL DROP TYPE dbo.typ_IdentityIdTranslationTable
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityExtensionTable2') IS NOT NULL DROP TYPE dbo.typ_IdentityExtensionTable2
[09:20:11.063]   IF TYPE_ID('dbo.typ_IdentityAuditTable') IS NOT NULL DROP TYPE dbo.typ_IdentityAuditTable
[09:20:11.063]   IF TYPE_ID('dbo.typ_DescriptorTable3') IS NOT NULL DROP TYPE dbo.typ_DescriptorTable3
[09:20:11.063]   IF TYPE_ID('dbo.typ_DescriptorTable2') IS NOT NULL DROP TYPE dbo.typ_DescriptorTable2
[09:20:11.063]   IF TYPE_ID('MemO.typ_MembersOf') IS NOT NULL DROP TYPE MemO.typ_MembersOf
[09:20:11.063]   IF TYPE_ID('MemO.typ_Members') IS NOT NULL DROP TYPE MemO.typ_Members
[09:20:11.063]   IF TYPE_ID('dbo.typ_GroupUpdateTable') IS NOT NULL DROP TYPE dbo.typ_GroupUpdateTable
[09:20:11.063]   IF TYPE_ID('dbo.typ_GroupTable3') IS NOT NULL DROP TYPE dbo.typ_GroupTable3
[09:20:11.063]   IF TYPE_ID('dbo.typ_GroupScopeTable2') IS NOT NULL DROP TYPE dbo.typ_GroupScopeTable2
[09:20:11.063]   IF TYPE_ID('dbo.typ_GroupMembershipTable2') IS NOT NULL DROP TYPE dbo.typ_GroupMembershipTable2
[09:20:11.063]   IF TYPE_ID('dbo.typ_GroupMembershipTable') IS NOT NULL DROP TYPE dbo.typ_GroupMembershipTable
[09:20:11.063]   COMMIT
[09:20:11.063]   ================ Failed batch end ============================
[09:20:11.063]      at Microsoft.TeamFoundation.Framework.Server.SqlScriptResourceComponent.ExecuteScripts(List`1 scripts, SqlParameter[] sqlParameters, List`1 serviceVersions, Boolean acquireLock, TimeSpan maxServicingLockTime, TimeSpan maxBlockingSessionTime, Int32 sqlCommandTimeout, Boolean testRerunnability, Boolean monitorBlocking, Boolean snapshotOnly)
[09:20:11.063]      at Microsoft.VisualStudio.Services.Framework.SqlStepPerformer.ExecuteSql(ServicingContext servicingContext, ISqlConnectionInfo connectionInfo, SqlStepData sqlStepData)
[09:20:11.063]      at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformHostStep(String servicingOperation, ServicingOperationTarget target, IServicingStep servicingStep, String stepData, ServicingContext servicingContext)
[09:20:11.063]      at Microsoft.TeamFoundation.Framework.Server.TeamFoundationStepPerformerBase.PerformStep(String servicingOperation, ServicingOperationTarget target, String stepType, String stepData, ServicingContext servicingContext)
[09:20:11.063]      at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
[09:20:11.063] Step failed: Drop existing framework snapshot schema if it exists. Execution time: 2 seconds.
[09:20:11.063]   [StepDuration] 2.064617
[09:20:11.100]   [GroupDuration] 3.6761413
[09:20:11.100]   [OperationDuration] 3.6761846
[09:20:11.283]   Clearing dictionary, removing all items.


migrate DBs to 2012 to 2017

$
0
0

Hi Am in the process of migrating 2012 to 2017

 I did it as a trail migration(2012 to 2017) through DataMigrationAssistant and looks working. I need to make sure migrating through "migrating assistence" will restore
100% data from source to destination server. Or else backup and restore also works and its a bit time sonsuming. Can any one can clear that what would be the best
option to on cut over day to migrate dabases using "migration assistent" or backup and restore. Many thanks


Transaction log clear /reuse

$
0
0

Hi We had a DB and was crash due to block corruption. We run DBCC CHECKDB ,DBCC CHECKDB (DBNAME, REPAIR_ALLOW_DATA_LOSS) . Now I need to know This command will clear the transaction log(ldf) file on the DB? Reason was I need to find cause of this error by reading ldf file through a tool.  .  Secondly when its happened a DB "check point", will that clear the transaction and release freee space?

 


DB2 v9.5 to SQL Server 2012 Migration

$
0
0

Hi Pros,

I need to migrate DB2 v9.5 to SQL Server 2012 for that i require SSMA ( SQL SERVER MIGRATION ASSISTANT ) Version < 7.8,

since SSMA v7.8 does not support DB2 v9.5 and SSMA v7.8 is the only version i can find out on internet.

Any reference or link to download like to SSMA V < 7.8 will be highly appreciated.

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

Yuvraj Singh Bais 

Informatica on Microsoft Azure

$
0
0

i have on prem Informatica application server can i move it to azure,

also datamart sql server databse, i both work together on azure?


k

Upgrading storage from old legacy SQL server

$
0
0

Hello,
We are upgrading storage for one of the old legacy system (SQL 2000-2005). I know microsoft is not supporting even SQL 2008 but we dont have any option for time being. We have mirror all drives and SQL 2000 to new VM (Testing in progress). And soon we will copying actual drives to new SAN.I am planning to perform regular checks. But, apart from that do i need to perform any additional check from SQL side ? 

Any thoughts will be greatly appreciated.

SSMA For Sybase

$
0
0

Hello,

I have downloaded and installed SSMA for Sybase but i am unable to connect to Sybase database. I have also installed Sybase Developer edition and Sybase Central.

Not sure where to find Sybase ASE ODBC drivers, please could you help me.

Error : 

Unable to find specified provider.
Compatible Sybase Data Access Connectivity libraries were not found on the machine. You can install them from Sybase product media or download it from Sybase web site


Thanks

Senthil

Migrating IAAS hosted database to PAAS

$
0
0

we have SQL SERVER database hosted on azure as IAAS with vms.

we need to move it to PAAS platform, i have no idea where to start from

kindly advise steps.

Regards


k

How in the world do you upgrade editions?!!!??

$
0
0

I've been trying to upgrade editions due to eval license expiry, however attempts from both GUI and cmdline are not working, in the GUI it hangs at the rule check and cmdline just sits there for days and does nothing... there must be a way to do this...

Tried this

"C:\Program Files\Microsoft SQL Server\130\Setup Bootstrap\SQLServer2016\setup.exe" ^
/Q /ACTION=EDITIONUPGRADE /SKIPRULES= Engine_SqlEngineHealthCheck Engine_OnlySupportedFeaturesUsedCheckSystem ^
Engine_OnlySupportedFeaturesUsedCheckUser /IAcceptSQLServerLicenseTerms /PID= XXXXX-XXXXX-XXXXX-XXXXX (of course with my PID)

2018-07-07 16:15:21.81 Server      Microsoft SQL Server 2016 (SP1-GDR) (KB4019089) - 13.0.4206.0 (X64)
 Jul  6 2017 07:55:03
 Copyright (c) Microsoft Corporation
 Enterprise Evaluation Edition (64-bit) on Windows Server 2016 Standard 6.3 <X64> (Build 14393: ) (Hypervisor)

2018-07-07 16:15:21.81 Server      UTC adjustment: -4:00
2018-07-07 16:15:21.81 Server      (c) Microsoft Corporation.
2018-07-07 16:15:21.81 Server      All rights reserved.
2018-07-07 16:15:21.81 Server      Server process ID is 5672.
2018-07-07 16:15:21.81 Server      System Manufacturer: 'VMware, Inc.', System Model: 'VMware7,1'.
2018-07-07 16:15:21.81 Server      Authentication mode is WINDOWS-ONLY.
2018-07-07 16:15:21.81 Server      Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Log\ERRORLOG'.
2018-07-07 16:15:21.81 Server      The service account is 'NT Service\MSSQLSERVER'. This is an informational message; no user action is required.
2018-07-07 16:15:21.81 Server      Registry startup parameters:
  -d C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA\master.mdf
  -e C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\Log\ERRORLOG
  -l C:\Program Files\Microsoft SQL Server\MSSQL13.MSSQLSERVER\MSSQL\DATA\mastlog.ldf
2018-07-07 16:15:21.81 Server      Command Line Startup Parameters:
  -s "MSSQLSERVER"
2018-07-07 16:15:21.81 Server      Error: 17051, Severity: 16, State: 1.
2018-07-07 16:15:21.81 Server      SQL Server evaluation period has expired.
2018-07-07 16:15:21.81 Server      SQL Server shutdown has been initiated

any help?


migration data disk (lun) storage old to disk (lun) storage new

$
0
0

hi, 

its possible to add mirror disk to existent, for migrate data sql server.

the escenario is the next:

DISK1 OR DRIVE X IS OLD LUN IN SAN EMC VNX 

DISK2 IS NEW LUN IN SAN EMC UNITY - i dont assing letter 

i want add disk mirror 2 to disk 1 for migrate data, and break the mirror and conserve the letter for new disk, but the disk contain Data SQL Server databases. 

my question is this procedure is disruptive for MSSQL or impact?

thanks for your answer 

regards

Database Compare

$
0
0

Hi,

We are planning to migrate all our SQL Servers 2008 to 2016.

Currently we are testing in QA.

As part of this, is there any Script which can compare data in Tables level and databases level to make sure that both source and destintion is same.


Microsoft Access 2010 and SQL Server 2016 - compatible?

$
0
0

We are migrating from SQL Server 2008 R2 to SQL Server 2016.  Are there any issues with using Microsoft Access 2010 as a front end to SQL Server 2016?  We are currently using Access 2010 as a front end to SQL Server 2008 R2 with no issues.

Thanks

In place upgrade SQL 2016 to SQL 2017

$
0
0

Hello All - I am trying to gather all the information before starting in place upgrade process of SQL 2016 to SQL 2017.  Here is the network layout.

OS - Windows Server 2016

DB - SQL 2016 SP1 (have installed latest updates as of March 2018)

Current Branch 1802(Configuration Manager)

I have backed up Configuration Manager DD, SSRS DB, SUS DB and ran DMA (Data Migration Assistant) assessment to make sure in place upgrade will work without any issue.

I am asking the forum, If anybody here has completed in place upgrade and if so, can you share your experience/install notes/links.

Thanks

RL

In-Memory OLTP table's new table issue

$
0
0

Dear ALL,

We already running more applications with disk based table name.If i convert tables to In-memory with new name ,application running will affect ,since we have to change name of the In memory table .Please advise

Viewing all 1700 articles
Browse latest View live