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

error upgrading from sql 2008 32 bit to sql 2012 64b bit

$
0
0

I am trying to upgrade from sql 2008 32 bit to sql 2012 64 bit on windows server 2008 r2 that is 64 bit.

I have already applied sp2 for sql server 2008(x86) and still get below error as Failed  in  upgrade wizard of  sql 2012 setup media.I also tried with sp2 (x64 bit) but same error.

can any one help me out for this.


srm_2010


IBM DB2 to SQL 2012 migration using SSMA

$
0
0
I have installed SSMA for DB2 V7.0. I am attempting to connect to a very large DB2 database a thousand or so tables with multiple millions of records. using standard mode, Db2 for LUW I have the server name, port, initial Catalog, user name and password. The program is now on hour 45 with no DB2 metadata displayed. SSMA is still trying to connect with no errors. Is this normal?

Direct link to SSMA for MySQL?

$
0
0

Can I have the direct link to SSMA for MySQL?

This link is broken for me, I get a hard 502 or a soft 404:

http://aka.ms/ssmaformysql


Sql server migration from local physical machine to Azure ARM VM

$
0
0
Hello,

I have following queries regarding the .bacpac file used for SQL db migration.

1. what is the maximum size of the SQL database that can be backpacked and stored in Azure Storage as blob?
2.What information of the SQL server on the local physical machine is lost while migrating it using .backpack file?
3. Does the information of the SQL DB user get stored in .bacpac file?
4. Can .bak file also be stored in the Azure Storage Account?
5. Can .bak file be used for SQL server migration from local physical machine to Azure ARM VM? If Yes, How?

Your response will be highly appreciated.

Thanks in advance.
 

rahul mohan


How to perform a full backup for export/import and guarantee no FK errors (transaction consistent DB)

$
0
0

In the maintenance plan for our environment there are two tasks in the full backup. One task creates a .bak file and the other a file containing the backup of the log files.

Should I restore both files when I import the database to ensure a transaction consistent DB so I don't get FK errors on import?

Or should I only restore the .bak file?

I don’t understand where the full backup maintenance plan guarantees consistency to avoid FK errors upon import.

Can SQL server be migrated to Evaluation edition first then upgraded to Enterprise edition

$
0
0

Hi there , 

I want to migrate my SQL server to a new business . I am planning to migrate it first to SQL server 2012 Evaluation edition and then upgrade it to Enterprise edition once I get the license .

I will use Evaluation edition only for migration purpose and not for Production and Enable it for production only after purchasing License .

SO Can go with this plan.

SQL Server Integration Services on all Windows XP Desktops

$
0
0

I have been asked to review a migration from XP desktops (I know) to Windows 7 or 10.

The audit has identified that the followingtools are installed on all of the XP clients

  1. SISS
  2. SSAS
  3. SSRS
  4. Management Tools

Is this wise? 

What type of licencing is required?

Wouldn't they be better using a central administration server with Terminal services licences.

What is the most appropriate way to deploy these tools to over 25 users for a centrally managed , optimally performing environment or is it OK to deploy these tools directly to desktops  and connect to remote SQL servers?



Why wont Import Export Wizard insert identity?

$
0
0
I'm trying to upsize from a dedicated on prem SQL Server to Azure DB. When I use the Import/Export Wizard in SSMS 2014, and I check 'Enable identity insert' it isn't inserting the key field for database auto generated PK fields. For example, in the source db the Customers table's identity or PK is an int field incrementing by 1. We started incrementing this field at 5001 so we have no numbers below that for PKs of the Customer table. When the wizard is inserting data to the Azure DB Customers table, it does not insert the ID from the source starting at 5001, but just starts auto-incrementing from 1 on its own.

The results of this is obvious.. None of my FK/PKs match in the entire DB. I pull open a customer, and I get the orders from the wrong customer.

What can I do?

Trying to find SSMA 64-bit version

$
0
0

Hi there,

I am not able to find 64 bit version of this app, as you'll see it's failing obviously:

Can you share the link with me?

Error with SQL Server Migration Assistant for DB2 v7.0

$
0
0

I recently installed SSMS 7.0 but not able to connect DB2 server. Getting following error:

Connection to Db2 failed. Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.

Note that I can connect to same DB2 server using DB2 client.


Need to migrate database from 2005 to 2014 version of SQL server.

$
0
0

Hi,


I got a project and in order to work on it I need to migrate the existing SQL server 2005 version to SQL server 2014.  Please do let me know the exact process, I need a step by step guide so that I can not miss or diminish the existing DB. Please help me.

Regards,

Deepak


Regards, Deepak

"you can run the package that the Import and Export Wizard creates, but cannot save it"

$
0
0

Hi

Trying to import data and tables from an accdb into SQL Server 2014 Express. I am using SSMS and everything seams to work. But just before the Finnish button this message occur: "In SQL Server Express, Web, or Workgroup, you can run the package that the Import and Export Wizard creates, but cannot save it. "

Click Finish to perform the following actions:
Source Location : C:\databaser\trading base.accdb
Source Provider : Microsoft.ACE.OLEDB.12.0
Destination Location : WKM-PFORSS\SQLEXPRESS
Destination Provider : SQLNCLI11
The package will copy 265 tables.
The package will not be saved.
The package will be run immediately.

Provider mapping file : C:\Program Files (x86)\Microsoft SQL Server\130\DTS\MappingFiles\JetToMSSql9.xml

OK that might be it. But why is the wizard working 98% of the way. Then saying it will not be saved?

Is there a way to round this?


Best // Peter Forss Stockholm and Sigtuna GMT +1.00

"you can run the package that the Import and Export Wizard creates, but cannot save it"

$
0
0

Accordingly to the link below the SQL Server Import And Export Wizard should have an option to "Save and Execute Package": https://msdn.microsoft.com/en-us/library/ms188513(v=sql.120).aspx

I don't have this option so exporting data becomes a very time consuming task because I have to repeat all the options all the time. Is the link above incorrect? Is it something available only in SQL Server 2016 (in spite of what it says in that page)?

I'm using: 

Microsoft SQL Server 2014 - 12.0.2402.0 (X64) 
Aug 13 2014 11:36:34 
Copyright (c) Microsoft Corporation
Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)

IBM DB2 AS400 i v7.1 to SQL 2012 using SSMA

$
0
0

I have 4 providers IMDARLA, IMDASQL, IBMDA400, IBM OLE DB IBMDBCL1.

I am using a connection string:

Provider=IBMDASQL.DataSource.1;Password=*****;Persist Security Info=True;User ID=*****;Data Source=10.32.8.169;Initial Catalog=D10760bt

it connects successfully then  errors.  here is a copy of the log:

[Generic: Mandatory] [4008/1] [2016-09-02 12:10:39]: SQL Server Migration Assistant for DB2 v7.0.0
[Generic: Mandatory] [4008/12] [2016-09-02 12:14:10]: Db2 connection provider: oledb provider.
[Generic: Mandatory] [4008/12] [2016-09-02 12:14:10]: Db2 connection mode: ConnectionString.
[Gui: Error] [4008/12] [2016-09-02 12:14:40]: LowLevelAdapter.ReadSource : Read Source error: Microsoft.SSMA.Framework.Generic.Collectors.CollectorException: Error occurred while collecting data. ---> System.Data.OleDb.OleDbException: SQL0204: ENV_INST_INFO in SYSIBMADM type *FILE not found.
Cause . . . . . :   ENV_INST_INFO in SYSIBMADM type *FILE was not found. If the member name is *ALL, the table is not partitioned. If this is an ALTER TABLE statement and the type is *N, a constraint or partition was not found. If this is not an ALTER TABLE statement and the type is *N, a function, procedure, trigger or sequence object was not found. If a function was not found, ENV_INST_INFO is the service program that contains the function.  The function will not be found unless the external name and usage name match exactly.  Examine the job log for a message that gives more details on which function name is being searched for and the name that did not match. Recovery  . . . :   Change the name and try the request again.  If the object is a node group, ensure that the DB2 Multisystem product is installed on your system and create a nodegroup with the CRTNODGRP CL command. If an external function was not found, be sure that the case of the EXTERNAL NAME on the CREATE FUNCTION statement exactly matches the case of the name exported by the service program.
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForMultpleResults(tagDBPARAMS dbParams, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteScalar()
   at Microsoft.SSMA.Framework.Generic.DbUtilities.SsmaDbCommand.Execute[T](ExecutionDelegate`1 executionMethod)
   at Microsoft.SSMA.Framework.Generic.DbUtilities.SsmaDbCommand.ExecuteScalar()
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.GetServerVersionText(IDbConnection connection)
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.LoadServerVersion(XMetabase xMetabase, IDbConnection connection, Boolean isLoadingFirst, IUIProgressBarProvider progressBarProvider)
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String xmlConnectionParameters, XNode xFilter, IUIProgressBarProvider progressBarProvider, IUIStopOperationProvider stopOperationProvider, ICollectionContext context)
   --- End of inner exception stack trace ---
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String xmlConnectionParameters, XNode xFilter, IUIProgressBarProvider progressBarProvider, IUIStopOperationProvider stopOperationProvider, ICollectionContext context)
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CollectData(String xmlConnectionParameters, SecureString password, ICollectionContext context, IDbConnection implicitConnection, XNode xFilter)
   at Microsoft.SSMA.Framework.Generic.Collectors.Default.DefaultObjectCollector.CollectData(String connectionParameters, SecureString password, ICollectionContext context)
   at Microsoft.SSMA.Framework.Generic.Workspaces.Default.MetabaseWorkspaceItem.Connect(String connectionParameters, SecureString password)
   at Microsoft.SSMA.GUI.Product.Db2MfToMsSql.LowLevel.AppConnectToSourceDb2Mf.ConnectToSourceStart(Object guiContext)
[Gui: Error] [4008/12] [2016-09-02 12:14:40]: Exception: Error occurred while collecting data.
 site: Microsoft.SSMA.Framework.Generic.Collectors.XMetabase CreateMetabaseAndCollectData(System.Data.IDbConnection, System.String, Microsoft.SSMA.Framework.Generic.XTree.XNode, Microsoft.SSMA.Framework.Generic.UserInterface.IUIProgressBarProvider, Microsoft.SSMA.Framework.Generic.UserInterface.IUIStopOperationProvider, Microsoft.SSMA.Framework.Generic.Collectors.ICollectionContext)
 source: Microsoft.SSMA.Framework.Db2Mf.Generic
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String xmlConnectionParameters, XNode xFilter, IUIProgressBarProvider progressBarProvider, IUIStopOperationProvider stopOperationProvider, ICollectionContext context)
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CollectData(String xmlConnectionParameters, SecureString password, ICollectionContext context, IDbConnection implicitConnection, XNode xFilter)
   at Microsoft.SSMA.Framework.Generic.Collectors.Default.DefaultObjectCollector.CollectData(String connectionParameters, SecureString password, ICollectionContext context)
   at Microsoft.SSMA.Framework.Generic.Workspaces.Default.MetabaseWorkspaceItem.Connect(String connectionParameters, SecureString password)
   at Microsoft.SSMA.GUI.Product.Db2MfToMsSql.LowLevel.AppConnectToSourceDb2Mf.ConnectToSourceStart(Object guiContext)
[Gui: Error] [4008/12] [2016-09-02 12:14:40]: Inner Exception #1: SQL0204: ENV_INST_INFO in SYSIBMADM type *FILE not found.
Cause . . . . . :   ENV_INST_INFO in SYSIBMADM type *FILE was not found. If the member name is *ALL, the table is not partitioned. If this is an ALTER TABLE statement and the type is *N, a constraint or partition was not found. If this is not an ALTER TABLE statement and the type is *N, a function, procedure, trigger or sequence object was not found. If a function was not found, ENV_INST_INFO is the service program that contains the function.  The function will not be found unless the external name and usage name match exactly.  Examine the job log for a message that gives more details on which function name is being searched for and the name that did not match. Recovery  . . . :   Change the name and try the request again.  If the object is a node group, ensure that the DB2 Multisystem product is installed on your system and create a nodegroup with the CRTNODGRP CL command. If an external function was not found, be sure that the case of the EXTERNAL NAME on the CREATE FUNCTION statement exactly matches the case of the name exported by the service program.
 site: Void ExecuteCommandTextErrorHandling(System.Data.OleDb.OleDbHResult)
 source: IBMDA400 Command
 error code: -2147467259
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForMultpleResults(tagDBPARAMS dbParams, Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
   at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
   at System.Data.OleDb.OleDbCommand.ExecuteScalar()
   at Microsoft.SSMA.Framework.Generic.DbUtilities.SsmaDbCommand.Execute[T](ExecutionDelegate`1 executionMethod)
   at Microsoft.SSMA.Framework.Generic.DbUtilities.SsmaDbCommand.ExecuteScalar()
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.GetServerVersionText(IDbConnection connection)
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.LoadServerVersion(XMetabase xMetabase, IDbConnection connection, Boolean isLoadingFirst, IUIProgressBarProvider progressBarProvider)
   at Microsoft.SSMA.Framework.Db2Mf.Generic.Db2MfObjectCollector.Db2MfObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String xmlConnectionParameters, XNode xFilter, IUIProgressBarProvider progressBarProvider, IUIStopOperationProvider stopOperationProvider, ICollectionContext context)

Will SSMA work with AS400 version 7.1?  if so what do I need to do to connect and see the database.

Justin

Justin.raper@pmsnm.org

Reports after conversion is complete

$
0
0

Hello All,

I have converted an Oracle database into SQL Server. The process generated errors. I created a report by clicking create report button.

Where can I find this report?


Access 2013 does not work with SSMA for Access

$
0
0

I have been trying to find a fix for over a year. SSMA (SQL Server Migration Assistant) is supposed to convert an Access database and allow me to upload the database into a MS SQL server database. I get the same error every time. I have been on multiple sites and tried multiple solutions to no avail. I use Excel2010 (32bit) to create spreadsheet. Import info into Access2013 (32bit). When I use SSMA(latest ver. 32bit) to upload I get this message:

--------

Access Object Collector error: Database
     Unable to cast COM object of type 'Microsoft.Office.Interop.Access.Dao.DBEngineClass' to interface type 'Microsoft.Office.Interop.Access.Dao._DBEngine'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00000021-0000-0010-8000-00AA006D2EA4}' failed due to the following error: Library not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED)).
     An error occurred while loading database content.
-------------------

Please help! I have a very nice guy uploading my databases for me, but would really like to fix my problem and do it myself!

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 :)

Migrate SQL 2012 to another server, no installation media, no product key

$
0
0

Dear,

I'm newly employed Sys Admin, and now I have urgent task. On old server (Win Server 2008) my company use SQL Server 2012. We prepared new server with Windows Server 2012, and we want to migrate SQL there.

Unfortunately, old IT crew don't know where is installation media for SQL and who installed it. Paper with license key is also lost.

I found way to get license key ( https://gallery.technet.microsoft.com/scriptcenter/Get-SQL-Server-Product-4b5bf4f8/view/Discussions#content ) from old SQL installation.

Can I download Microsoft SQL Server 2012 Evaluation, install it on new machine and use license key from old machine, migrate database and logs, and at the end uninstall SQL from old machine? Or there is some other better procedure?

Thanks!

Ivan

Identity column issue while migrating tables

$
0
0

Hi All,

We have 100 tables in one Database, now we are migrating tables to another database(This database is in production server).

Here some tables(100 tables to 50 tables) we are merging while migrating.

Now we want handle identity column values in target tables.because these tables are in production.

How can we handle identity column values for target tables?


Thanks in Advance.

Sql server Migration

$
0
0

I want to do stored procedure migration from sql server 2000 to 2012.

For Analysis I need syntactical difference of query with example  between 2000 and 2012.

Viewing all 1700 articles
Browse latest View live