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

Access 32 bit is preferred but if you migrate BE to SQL Server 2014 Express. Is 32 bit or 64 bit best choice?

$
0
0

Hi

Access 32 bit is preferred, but if you migrate the BE database to SQL Server 2014 Express.
Is 32 bit or 64 bit the best choice?


Best // Peter Forss Stockholm and Sigtuna GMT +1.00



SQL 2005 Backwards compatibility

$
0
0

will SQL 2005 Backwards compatibility continue to be supported since SQL 2005 support ended 4/12/16?

SQL SERVER 2016 Release Date

$
0
0

Hello,

I was wondering when will be the official release of SQL Server 2016, so I would appreciate if someone can share with me this information, I asked this because I only found the RC2 version. This information would be helpful since in my job we want to migrate all the database to SQL Server 2016.

Thanks in advance.

Andrés S.

SSIS - Why can't an Execute Process Task run VBS in [Win 2008 + SQL 2012] though it can in [Win 2003 + SQL 2008]?

$
0
0

Hi Experts,

I'm trying to migrate an legacy ETL system from [Win 2003 R2 x64 SP2 + SQL Server 2008 (10.0.4000)] to [Win 2008 R2 Datacenter SP1 + SQL Server 2012 (11.0.5058)].

Most of the SSIS packages works fine in the new env but an Execute Process Task failed with the error "The specified executable is not a valid application for this OS platform".

I've found that wrapping .vbs with .bat and executing .bat from SSIS works, but I would like to know what causes this difference between the two environment and if possible, avoid the modification of SSIS packages as there are so many.

I would greatly appreciate your help!

N

Migration from SQL2008SP2 to SQL2012SP2: Linked Server returns Error 7347

$
0
0

Hi Experts,

I'm trying to migrate an existing DB from SQL2008R2 on Win2003R2 to SQL2012 on Win2008R2.
Everything has gone smoothly except for a linked server, which returns an error given below.
Could anyone give a solution or any hints?

Query:
SELECT * FROM OPENQUERY ([LinkedServerXXX], 'SELECT AAAAA, … FROM table1 WHERE ・・・’)

Error Msg:
Msg 7347, Level 16, State 1, Line 2
"OLE DB provider 'OraOLEDB.Oracle' for linked server 'LinkedServerXXX' returned data that does not match expected data length for column '[OraOLEDB.Oracle].ColumnAAA'. The (maximum) expected data length is 20, while the returned data length is 10."

ColumnAAA is defined as NCHAR(5 CHAR) in Oracle. I can't understand why "expected data length for " ColumnAAa is 20.

Environment:
Old:SQLServer 2008SP2(10.0.4000) on Windows 2003R2 Enterprise x64 SP2 /Oracle Client 10g
New:SQLServer 2012SP2(11.0.5058) on Windows 2008R2 Datacenter SP1 /Oracle Client 11g
Provider: Oracle Provider for OLE DB("Allow Inprocess" is enabled)

Note:
-The column which the err msg refers to is defined as NCHAR in Oracle.
-The server property "Language" is "Japanese" for old SQL2008 and "English(US)" for the new SQL2012 env, which is the only difference I'm aware of.
-"Allow InProcess" is enabled for OraOLEDB.Oracle provider on both of the servers.
-I don't want to add To_CHAR() or anything to the SQL as it is embedded in the existing SSIS and I would like to use it without any revision if possible.

I would greatly appreciate your help!


Cannot connect to Sybase ASA 12 from SSMA v5.2

$
0
0

Hello - I am unable to connect to my Sybase ASA server via SSMA v5.2.  I've attempted using the ODBC (Standard and Advanced) as well as the ADO.NET providers (Advanced).  However, I am able to connect to the same server via Visual Studio and Sybase Central.  I continue to receive "invalid port number" errors.  This may sound simple but again, it only occurs in SSMA.

provider=iAnywhere.Data.SQLAnywhere;UserID=@@@;Password=@@@;DatabaseName=@@@;ServerName=@@@;CommLinks=TCPIP(Host=@@@:@@@)

Error trying to Unlink Tables in MS SQL-Server Migration Assistant

$
0
0

Hello everybody,

i have a Problem to unlink tables in MS SQL-Server Migration Assistent. We already uploaded a database (Access Frontend) to an SQL-Server. Now i want to upload a new Version of this database (with new functions and new tables) to another Server (not to the same Server as before).

Usually you just unlink the tables in MS SQL-Server Migration Assistant by right-click on the tables and then pressing unlink. If i do so the following error is reported:

Unlinking tables...
Analyzing metadata...
Preparing table [Name of the table]...
Starting Phase #0
Processing table '[Name of the table]' in file [Name of the database]'... ...
Rolling back the table [Name of the table] from the database [Name of the Database]...
Table 'SSMA$[Name of the table]$local' was not found in the Access database.
Operation failed.

 Errors: Table 'SSMA$[Name of the table]$local' was not found in the Access database.
Rollback operation complete.

The tables, which don´t have a link (so they don´t need to be unlinked) are the tables, which didn´t exist in the previous Version...

Is there any way to easily unlink the other tables?

Tanks a lot in advance,

Tobias

SQL Upgrade Advisor in xml format

$
0
0

Hi,

Is there a way to generate the output of SQL Server Upgrade advisor in xml format. Ideally I need the output of SQL upgrade advisor 2016 to be in the same xml format as the earlier versions (2014,2012).

Thanks in advance.

Praneeth


SSMA - MySQL to Azure SQL- Failed migration with no errors?

$
0
0

When I attempt to migrate data from MySQL to Azure SQL I get an error in the data migration report, red crosses next to the tables.

I would post links to others having the problem and images but annoyingly the forum won't allow me until my account is verified. 

I have tried all sorts of things - Changing MySQL connection from ANSI to Unicode, lowercase letters in both db names.

Does anyone have any ideas how to migrate the data? 


SSMA for Sybase - Index will be recreated in SQLServer?

$
0
0

Hi,

I need help from people who had already worked on SSMA for Sybase.

Lets say I have an index in Sybase. I am using SSMA tool to migrate that index to SQLServer.
Will that index gets created as a new index in SQLServer or the metadata of index from Sybase moves to SQLServer?

Please respond..

Thanks in Advance.

How to send a centralized server Query result as an Email Attachment ?

$
0
0

Hi All,

we have 40 prod servers and regularly doing the health check using the centralized server manually , how to automated this report ?

Please share your valuable ideas ...

Thanks,

Ram 

How to send a centralized server Query result as an Email Attachment ?

$
0
0

Hi All,

we have 40 prod servers and regularly doing the health check using the centralized server manually , how to automated this report ?

Please share your valuable ideas ...

Thanks,

Ram 

Restore database

$
0
0
How do I restore a database from a backup created on another server having a different database name? e.g. Customer_Production vs. Customer_Development

DacServices.ImportBacPac - how can I ignore warnings?

$
0
0

I'm writing code to transfer a SQL 2008 DB to Azure. I can generate the bacpac and from the command line import it successfully. There is a warning about compatibility but it completes as required. Unfortunately we need to do it from code and the warning terminates the process by throwing an exception:

'An error occurred during deployment plan generation. Deployment cannot continue.\r\nWarning SQL0: A project which specifies SQL Server 2008 as the target platform may experience compatibility issues with Microsoft Azure SQL Database v12.\r\n'

There is an inner exception:

'"Failed to import target model LXT1545. Detailed message Value cannot be null.\r\nParameter name: conn"'

And a final inner exception:

'Value cannot be null.\r\nParameter name: conn"'

I am setting the target engine when I export:

 dacServices.ExportBacpac(result.FilePath, SourceLayer.Connection.Database, new DacExportOptions {TargetEngineVersion=EngineVersion.V12}, new List<Tuple<string, string>>());

Unfortunately we have to do this entirely in code. Going via powershell or cmd is not an option as the machine we run this on will not have sqlpackage.exe available.

SQL Server Express 2012 -> SQL Server Standard 2014

$
0
0
Hello,
Can I make directly SQL upgrade from 2012 Express to Standard 2014 ? or should i upgrade 2012 Express to 2014 Express at first and then upgrade it to Standard ?

Migration to another server on different partition but Database still on the old location

$
0
0

Hi everyone

i try to migrate from a VM to a physical server with SSD disk to upgrade performance so i partition my target server with 2 specific partition for database H:\ and log file I:\

then i do the following step :

  1. Start SQL in single user mode
  2. Restore Master database 
  3. Move to the new location H:\ and I:\
  4. Restore model
  5. Move to the new location H:\ and I:\
  6. Restore and Move TempD
  7. Restore MSDB
  8. Move to the new location H:\ and I:\
  9. process successfull
  10. Whern i start SQL i have the following error, database still point to the old target "D:\program files"

How to install 32-bit c++ dll in 64-bit SQL Server 2012 server

$
0
0

Hi,

We have a extended stored procedure written in c++ dll and we are trying to move it to Sql server 2012 64-bit server, but we are unable to register this dll in the new server.

Please advise how to overcome this issue.


Krishna Prakash

Access 2010 to SQL 2014 using SSMAforAccess.exe - XML schema files

$
0
0
I am using SSMA to Access for a particular migration project to migrate all possible tables, views, linked tables, etc. I am using the default schema XML files available in C:\Program Files (x86)\Microsoft SQL Server Migration Assistant for Access\Sample Console Scripts and customized ConversionAndDataMigrationSample.xml, VariableValueFileSample.xml, ServersConnectionFileSample.xml files to provide all source, destination and variables to SSMA based on the requirement of my project. I executing SSMAforAccess.exe in cmd by passing the location of these xml files containing source, destination, variables details required to complete the migration. Migration works perfectly however i want to store a particular service account credentials in connection string to link my Access tables with SQL tables, this can be achieved by marking Linked Table property as "True" in Default project settings of SSMA GUI. It does work and stores the service account credentials in connection string when i directly create a project using SSMA GUI however whenever i try to achieve the same using xml files execution method, the connecting string in the linked tables generates without any service account credentials in it and which is an issue as per the requirements of the project. I am using the below node in ConversionAndDataMigration.xml schema XML file to map Linked Table property as "True" in Default project settings in XML.

<link-table-security mode = "Yes"/>

Also tried values like True, 1, yes, true, etc.

I could be wrong here in choosing this node to store required user credentials in connection string. Could you please direct me to correct node or method to store service account credentials in connection string while migrating access data to SQL using CMD & XML files. 

Your prompt response would be really appreciable.

Data migration from MySQL 5.7 to SQL Sever 2008 R2

$
0
0

We are trying to migrate a copy of a MySQL db to SQL Server db. We are encountering errors in the migration/upload process. Are there any set of procedure - step by step process - for converting a MySQL db to a MS SQL Server db? This is not a one time deal. This is targeted to be an automated daily recurring event. Therefore, one can't sit there for an hour to cleanup those errors and walk the migration to the end point. Any tips or cheat sheets could help.

Thank you in advance.



SQL Server 2012 SP2 to SP3

$
0
0

Hi Guys,

Any helpful links for migrating below

SQL Server 2012 SP2 to SQL Server 2012 SP3

and

SQL Server 2012 SP2 to SQL Server 2014

Thanks,

Anilkumar


Viewing all 1700 articles
Browse latest View live