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

Encrypted Passwords Moving from SQLServer 2000 to 2008

$
0
0

Hi,

I moved an SQL Server 2000 database to another machine using backup/restore. On the new machine it was attached to SQL Server 2008.

The database contains an encrypted password which was encrypted on SQL Server 2000 using PWDEncrypt function. Everything seems to work fine on SQL Server 2008, apart from the fact that PWDCompare is not working correctly any more.

My guess is that the algorithm used in encryption has changed or that the key is different, but from what I can tell, SQL Server 2000 doesn't have a MASTER KEY I can backup and restore.

Does anyone know what I could do?

Many thanks,

Markus


Impact and compatibility of .NET application while migrating SQL2000 on wWINDOWS2000 TO SQL2008R2 standard edition on WINDOWS 2008

$
0
0

Our application is developed on .NET 2.0,C# and sql2000 backend on windows 2000 server .The SQL server is going to migrate to SQL2008R2 standard edition on windows 2008R2
1)Does our application require remediation to support this?
2)If it is required what specific things needs to be modify?
3)Does our application can support SQL2008R2 standard edition on windows 2008R2?

Please advice.

Refresh database I need to automise the process

$
0
0

Hello All,

I need to automise the process of refreshing the database.

The scenario is:

I have one database intance and I need to copy the database to another instance every day.

How is the best way to do this?

Regards

Informix to sql server 2008 R2 migration tool

$
0
0

Hi All,

I am new to database migration.  Is there any available tool for migration of Informix 11 database to Sql server 2008 R2. Please help me by sharing the information.

Thanks.

Migration: SQL server 2005 to 2014 (from x32 bits server to x64 bits server)

$
0
0

Current server is SQL 2005 SP4 Standard (x32 bits) running on Windows Server 2003R2 (x32 bits).

We would like to move the databases to a fresh install on server running 2012 R2 (x64 bits) with SQL server 2014 Standard (x64 bits).

Kindly point me to the correct documentation.

Thanks


SSMA For Oracle 5.3 SQL Server Connection Problem

$
0
0

Hello,

I need to convert an Oracle schema to SQL server to use as a staging area for a BI project. I have a test server (Win 2012 R2) running SQL Server 2014 Enterprise.

I installed SSMA For Oracle 5.3 & extensions on this machine; the "sysdb" is in place on the SQL instance.

I can connect to Oracle from the SSMA project but when I try to connect to SQL Server (tried targeting every SQL version in the new project prompt 2005..2014) I receive an error stating: "Error collecting data. See the inner exception for details.".

I tried to connect to oracle first and sql srv. later and vice versa; or provide an existing db/make the SSMA create one in sql srv. nothing changes. 

There is a KB article for v4.0 about a (maybe) slightly related issue: http://support.microsoft.com/kb/2020724/en-us but it states that there might be a sync problem between oracle and sql srv. schemas or table/column structures.

I could not even convert the schema from oracle to sql server yet; I guess this is not my problem.

I hope someone from team/community can have a look at the log below and comment about it.

Regards,

Ahmet.

[Gui: Error] [1856/4] [2014-06-05 18:08:16]: LowLevelAdapter.ReadTarget : Read Target error: Microsoft.SSMA.Framework.Generic.Collectors.CollectorException: Error collecting data. See the inner exception for details. ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.SSMA.Framework.Generic.SqlBase.DefaultTypeProcessor.GetTypeSpecifierForSystemType(String genericType, XNode node)
   at Microsoft.SSMA.Framework.Generic.SqlBase.DefaultTypeProcessor.GetSqlForUserTypeBase(XNode node)
   at Microsoft.SSMA.Framework.SqlServer.Formatter.ObjectFormatters.DatatypeFormatter.GetCreateStatement(XNode node)
   at Microsoft.SSMA.Framework.SqlServer.Formatter.ObjectFormatters.DatatypeFormatter.FormatNode(XNode node, TextWriter writer, String indent, IFormatter defaultFormatter)
   at Microsoft.SSMA.Framework.Generic.Formatters.Default.DefaultFormatter.FormatNode(XNode node, DefaultFormatterWriter writer, String indent, IFormatter defaultFormatter, IRule parentRule)
   at Microsoft.SSMA.Framework.Generic.Formatters.Default.DefaultFormatter.FormatNode(XNode node, DefaultFormatterWriter writer, String indent, IFormatter defaultFormatter)
   at Microsoft.SSMA.Framework.Generic.Formatters.Default.DefaultFormatter.FormatNode(XNode node, DefaultFormatterWriter writer, String indent)
   at Microsoft.SSMA.Framework.Generic.Formatters.Default.DefaultFormatter.FormatNode(XNode node, TextWriter writer)
   at Microsoft.SSMA.Framework.SqlServer.Collector.SqlServerObjectCollector.CollectDatatypes(XMetabase xMetabase, IDbConnection connection, SimpleObjectName dbName, CategoryMapsContainer& maps, IUIProgressBarProvider progressBarProvider, CollectionFilter filter)
   at Microsoft.SSMA.Framework.SqlServer.Collector.SqlServerObjectCollector.CollectData(XMetabase xMetabase, IDbConnection connection, DefaultLazyLoadProvider lazyLoadProvider, IUIProgressBarProvider progressBarProvider, ICollectionContext context, CollectionFilter filter, XNode xFilter)
   at Microsoft.SSMA.Framework.SqlServer.Collector.SqlServerObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String connectionParameters, IUIProgressBarProvider progressBarProvider, ICollectionContext context, CollectionFilter filter, XNode xFilter)
   at Microsoft.SSMA.Framework.SqlServer.Collector.SqlServerObjectCollector.CollectData(String connectionParameters, SecureString password, ICollectionContext context, IDbConnection implicitConnection, XNode filter)
   --- End of inner exception stack trace ---
   at Microsoft.SSMA.Framework.Oracle.SqlServer.Workspace.SqlServerWorkspaceItem.Connect(String connectionParameters, SecureString password)
   at Microsoft.SSMA.GUI.Generic.LowLevel.AppCommandProcessing.Commands.SsmaAppConnectToTarget.Connect(DefaultSSMAWorkspace workspace, ConnectGuiContext context)
   at Microsoft.SSMA.GUI.Product.OracleToMsSql.LowLevel.AppConnectToTargetMsSql.ConnectToTargetStart(Object guiContext)
[Gui: Error] [1856/4] [2014-06-05 18:08:16]: Exception: Error collecting data. See the inner exception for details.
 site: Void Connect(System.String, System.Security.SecureString)
 source: Microsoft.SSMA.Framework.Oracle.SqlServer
   at Microsoft.SSMA.Framework.Oracle.SqlServer.Workspace.SqlServerWorkspaceItem.Connect(String connectionParameters, SecureString password)
   at Microsoft.SSMA.GUI.Generic.LowLevel.AppCommandProcessing.Commands.SsmaAppConnectToTarget.Connect(DefaultSSMAWorkspace workspace, ConnectGuiContext context)
   at Microsoft.SSMA.GUI.Product.OracleToMsSql.LowLevel.AppConnectToTargetMsSql.ConnectToTargetStart(Object guiContext)
[Gui: Error] [1856/4] [2014-06-05 18:08:16]: Inner Exception #1: The given key was not present in the dictionary.
 site: Void ThrowKeyNotFoundException()
 source: mscorlib
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at Microsoft.SSMA.Framework.Generic.SqlBase.DefaultTypeProcessor.GetTypeSpecifierForSystemType(String genericType, XNode node)
   at Microsoft.SSMA.Framework.Generic.SqlBase.DefaultTypeProcessor.GetSqlForUserTypeBase(XNode node)
   at Microsoft.SSMA.Framework.SqlServer.Formatter.ObjectFormatters.DatatypeFormatter.GetCreateStatement(XNode node)
   at Microsoft.SSMA.Framework.SqlServer.Formatter.ObjectFormatters.DatatypeFormatter.FormatNode(XNode node, TextWriter writer, String indent, IFormatter defaultFormatter)
   at Microsoft.SSMA.Framework.Generic.Formatters.Default.DefaultFormatter.FormatNode(XNode node, DefaultFormatterWriter writer, String indent, IFormatter defaultFormatter, IRule parentRule)
   at Microsoft.SSMA.Framework.Generic.Formatters.Default.DefaultFormatter.FormatNode(XNode node, DefaultFormatterWriter writer, String indent, IFormatter defaultFormatter)
   at Microsoft.SSMA.Framework.Generic.Formatters.Default.DefaultFormatter.FormatNode(XNode node, DefaultFormatterWriter writer, String indent)
   at Microsoft.SSMA.Framework.Generic.Formatters.Default.DefaultFormatter.FormatNode(XNode node, TextWriter writer)
   at Microsoft.SSMA.Framework.SqlServer.Collector.SqlServerObjectCollector.CollectDatatypes(XMetabase xMetabase, IDbConnection connection, SimpleObjectName dbName, CategoryMapsContainer& maps, IUIProgressBarProvider progressBarProvider, CollectionFilter filter)
   at Microsoft.SSMA.Framework.SqlServer.Collector.SqlServerObjectCollector.CollectData(XMetabase xMetabase, IDbConnection connection, DefaultLazyLoadProvider lazyLoadProvider, IUIProgressBarProvider progressBarProvider, ICollectionContext context, CollectionFilter filter, XNode xFilter)
   at Microsoft.SSMA.Framework.SqlServer.Collector.SqlServerObjectCollector.CreateMetabaseAndCollectData(IDbConnection connection, String connectionParameters, IUIProgressBarProvider progressBarProvider, ICollectionContext context, CollectionFilter filter, XNode xFilter)
   at Microsoft.SSMA.Framework.SqlServer.Collector.SqlServerObjectCollector.CollectData(String connectionParameters, SecureString password, ICollectionContext context, IDbConnection implicitConnection, XNode filter)

How to activate evaluation version of SQL server

$
0
0

How to activate evaluation version of SQL server 2012 with open license.

in the VLS portal it is saying no product key is require. but my problem is i already installed evaluation version of SQL server 2012 and configure many things to it. after that i got open license from Microsoft,

Linked Server Catalogs Never Expand (and peg the CPU)

$
0
0

We recently migrated our SQL Server to a new server.  I scripted out the linked servers on the old SQL server and ran it on the new server.  I updated the passwords and the 'test connection' is successful.  

My issue is when we try to expand the linked servers on the new server, the catalogs never expand and a 'fetch ms_crs_aliases into @ alias' query runs and never finishes. This query pegs the CPU and we cannot kill it unless we restart the SQL service.  

Does anyone know how to fix this?  The connections seem to be working but when you try to expand the catalogs it kills our performance and we have to restart SQL. 

This is SQL 2008 R2 running on a physical Windows Server 2008 R2 box.

Thanks.


Point/Migrate batch jobs from Sybase(auto scheduled through Control-M application) to SQL Server 2005

$
0
0

Hi,

I am currently working in project where we need to migrate/point batch jobs to SQL server 2005. At this moment they are pointing to Sybase. Batch jobs are in .bat and .exe format. These jobs read in an external file, does some reformatting, and then loads it into 2 sybase tables. These jobs are auto scheduled through Control-M application.

Any idea please ?

Thanks,


Chirag Patel

Queries running slow after migration

$
0
0

Hi Guys,

We have just migrated database server from SQL 2000 to 2008 (Enterprise) and  few queries are running slow than SQL 2000. We have performed all post migration process(Statistics update, Rebuilding indexes) and everything is working fine except 5-7 queries which are running surprisingly slow.

We have checked the execution plan and there is difference in both plans. SQL 2008 is using different execution plan.

Can you please suggest what are the other steps that can be performed to run them fast.


SM

Sharepoint database migration

$
0
0

For my SharePoint installation, the Sql server database that i required was installed on another PC under the same domain as my server(windows server 2008 R2). Now i created a VM(OS is windows server 2008) on hyper-V on my server and installed SQL server 2008 in it and moved the all the  SharePoint databases to the VM. I followed the link "http://technet.microsoft.com/en-us/library/cc512725(v=office.14).aspx#Prepare"to move my databases. Now even after adding the administrator users onto my new database and granting permissions i cant connect to the Central Administration page of my SharePoint site. When i use the SharePoint command shell to start CA i get "cannot access local farm". 

Sql Server 2008R2 Data Migration to cloud.

$
0
0

Hi All,

We are doing cloud migration for our sql server instance from cluster setup. We did normal database refresh(took a backup and restored to cloud server). After refresh application users came back saying they can access the database but can not have the assigned privileges.

Per application users there used to be more than 1500 db_owners for a single database, when i queried I found only 3 db_owners, I gave db_owner accesses to the users requested by business, Still other privileges are unknown. 

What could be the reason for this we just did a normal restore but we ended up missing roles and permissions.

sql server - 2008 R2 Sp1


Best Regards Moug

Building New SQL Server To Migrate from Old one and need to figure out how I need to license it.

$
0
0

So my head is spinning on setting up a New SQL Server.

Current setup is Microsoft Server 2003 Standard and Microsoft SQL Server 2000 Standard. Nothing was maintained with Software assurance.

Environment:

Database is Limited to 2008 R2 Standard as Highest release I can use with it. So I know I need to do a Downgrade.

New Server can Be either Microsoft Server standard 2008 or 2012 x64.

The Domain Controller for right now is going to remain a Machine with Server 2003 Standard x86. It is Licensed with 30 Cals.

The office Environment:

The Office has any where from 5-7 employees.

They have 3 Office locations and employees are in 1 of the three locations depending on the day.

Between all 3 Offices they have 27 computers.

Employees also can access multiple machines through out the day.

Reception, Checkout and Third employee will be at their own machine.

3 Employees will be accessing their main machine but also float to at the most 6 other machines located in the office these machines are logged in in the morning using their own user name Employees don't login or logout on them throughout the day.

If they are in The Main Office they access the SQL server machine directly.

If they are in one of the two satellite offices the Employees will access the SQL server through the front end running on Terminal Services running on the SQL server.

My New Server will be Either a 4 or 6 core Xeon Processor.

So the Questions.

Lets say the scenario is I am buying Windows 2012 Server and Cals and Buying SQL 2012 Server and Cals and will be downgrading both to 2008.

How do I need to license Windows Server? How many Cals do I need and what way should they be setup?

How do I need to license SQL Server? By Server? By Core? How Many Cals do I need?

Thank You.

Fromt SQL Server 2005 32-bit To SQL server 2008 R2

$
0
0

Hi

We are having a SQL Server 2005 32 bit installed on a Windows Server 2008 Std 32-Bit. We want to upgrade the virtual server to Windows 2008 R2 64-bit so that we can add more memory power.

We have completed the installation of the new setup in Windows 2008 R2 Serverwith SQL Server 2008 R2 64-Bit. But the problem we are facing is when we attach the existing database to the new server we are unable to login. How to make the existing user names and passwords work without creating new database login id's and passwords.

Thanks
Michael

SSMA Sybase 5.3 - data migration issue (hangs)

$
0
0

Trying to move only table data from Sybase 12.5 to SQL Server 2008 R2.

Using SSMA Sybase 5.3, I am able to create tables in target schema (so connectivity is fine).

However, when I click on "Migrate Data", SSMA just hangs. I have left it for hours without any data migration. Output window shows:
Migrating data...
Analyzing metadata...
Preparing table <first tablename>...

Am I missing a step?
Are there log files that can be used to debug (find the problem)?

Seems so close, yet so far away...

TIA
Ain


Row level error handling

$
0
0

Hi,

We are migrating data from one database to another in the same server.

We are doing it through stored procedure.

We need to capture row level error such that if the insert command fails for a particular row from source table we have to capture that record and proceed with the other records.

We have tried using try catch but how to do it for a particular erroneous row is baffling me.

Please help.!

SQL Server consolidation

$
0
0

Because of SQL licensing changes, the execs are hot on reducing the number of SQL Servers we have.  I have approximately 60 databases (all 12GB or less) on one SQL server (production). This server is virtualized and on a SAN.  I also have a DB Server for our developers to use that is on the SAN (test). About ½ the databases on the production server are for in house written applications. We have one vendor that remotes in on the production server.  This vendor’s db’s are in a separate instance.

In addition we have a SQL server for our Trucking Division that mostly runs vendor applications. (This vendor remotes into the server for issues.) The last server hosts the db’s for a quoting application and SharePoint 2010 (about 40 databases total, 10 or so which are 15-20GB in size). The quoting application vendor also remotes in to support the application. The plan is to virtualize the application servers and get everything on the SAN. Exec wants us to move the databases to the SQL server already on the SAN instead of creating new virtual SQL servers.  (Over 110 databases on one server.)

My gut tells me this is a bad idea, but if I don’t want to do it I have to justify why it should not be done. The vendors don’t care for it either but none are saying we can’t do it or they won’t support the app if we do.

All of the SQL Servers are running SQL Server 2008 R2 on 64 bit servers. There are no plans to upgrade the SQL version at this time.  We are considering upgrading SharePoint to SharePoint 2013.  We run only the standard features of SharePoint. We do run Reporting Services and Integration Services. 

So my questions are, how do I determine if this is feasible?  What are the pro's/Con's?  Where can I find information for building a SQL server like this that hosts the databases for so many varied applications?  Should I install multiple instances? I could easily have 5-6 instances just separating out the major vendor applications.  Getting enough memory is not an issue.


Nancy Forbes

SQL Server service stopped unexpectedly event ID 7034

$
0
0

On one of UAT server we are having  issue with SQL Serverices and they are stopped unexpectedly .There is failure details  in Event logs \SQL Error logs. we havent done any of the changes on server.

Event id : 7034

 

Sql Cluster Migration

$
0
0

Dear Experts,

I have a requirement for creation of a new SQL 2008 R2 Instance on a windows server 2008 R2 to decommision an existing SQL 2008 R2 Instance. However the specifcation is to retain the same SQL Instance Name and IP.

Can you please validate the below mentioned steps :

1. Build the New Windows cluster and Install the SQL Instance with a different name say XYZ wherein the existing name is ABC. The configuration of source and destination SQL Server i.e Version, edition is same.

2. Replicate the LUN from source to destination and attach the user databases on destination server.

3. Take backup of MSDB database from source and restore on destination.

4. Script all objects for Master database including Logins, linked servers and execute on destination.

5.Create another object in AD say PQS and change the source virtual SQL Instance name from ABC to PQS.

6.Change the Virtual IP of the source SQL server.

7.Delete the Object Name ABC from AD.

8.Create a new object ABC in AD.

9.Change the destination SQL Server Virtual Name to ABC and assign the same IP as the Original Source Name.

A process that used to take 45 minutes is not taking over 12 hours

$
0
0

Hello all.

My husband, Andy, is on a VFP to .NET and SQL Server conversion project. He is using VFP to migrate the data into SQL Server. The process to push the VFP data into SQL Server used to take about 45 minutes and he has been running this code for over a year. All of a sudden, for no apparent reason, the process has come to a screeching halt and is taking over 12 hours to run. Andy did not change any of his code, so it has to be something else like a Windows update.

Does anyone have any ideas?

TIA.


Marcia G. Akins

Viewing all 1700 articles
Browse latest View live


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