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

Microsoft SQL Server Migration Assistant (SSMA) for Sybase Adaptive Server Enterprise (ASE) - Missing Drivers

$
0
0

We have a very old set of Sybase databases (version 11.9.2) that we’re planning to convert to SQL Server 2008. I’ve therefore downloaded the Microsoft SQL Server Migration Assistant for Sybase, but it is unable to find the Sybase drivers. Within the SSMA, when I attempt to connect to the Sybase server via ODBC, I get this message: “Unable to find specified provider. 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”.

If I try to connect using OLEDB, I simply get “Cannot connect to data source”.

Trying to use ADO.Net gives me “Unable to find ADO.Net Provider files ‘Sybase.AdoNet2.AseClient.dll’ or ‘Sybase.Data.AseClient.dll’.You can install them from Sybase product media or download it from Sybase web site.

The problem is that I do have the full Sybase client tools installed (I have both Sybase Central and SQL Advantage), so I would have expected the connection to work. In addition, I use Visual Studio 2010 and am able to connect to Sybase easily using the System.Data.Common.DbProviderFactory classes.

I’ve tried looking on the Sybase website but can’t find any relevant drivers anywhere – they don’t seem to be specifically listed. Does anyone know exactly what I would need to download or install in order to get this working? I’m using an old XP machine (one of the reasons I’m keen on this conversion is so that we can fully move up to Windows 7/8).

Thanks in advance for any help you can give me.


How can i move FTData folder and OLAP folder from one drive to another in sql server 2008

$
0
0

Hi All,

We would like to move FTData folder,OLAP and MSDTC folder from one drive to another drive. Please help me with the process of doing this..

Thanks & Regards,


rup


How to upload SQL-server database to FTP?

$
0
0

Hello,

I want to upload a SQL-server database to FTP. How do I do that? Do I just move the database file or do I need to use a tool?

Also, Is it correct that it´s not a good idea to zip an SQL-server database file?

Thanks in advance!

move sql server and databases on a new forest but keep both active

$
0
0

Hello all,

I am trying to do something and i would like some help if possible.

We are going to move our existing sql server (2008) and their databases to a new server (2012). Both server belong to different forests but with 2 way forest trust.

We would like to have both servers up and running until we decide to scrap the old one.

What is the best approach to migrate all the databases to the new server but at the same time to have both servers up and running until we decide that is time to scrap the old one (2008)?

side-by-side migration sql 2008 to sql 2012

$
0
0

Hello,

I plan to make an side-by-side migration from version 2008 to version 2012 on the same server-hardware.

Planned steps:

1. On the server with the running SQL 2008 (as a default instance) I install a named instance of SQL 2012

2. Then I migrate the databases and other objects to the new SQL 2012

3. When the migration works --> uninstall SQL 2008

Now comes my question: What´s the best way to make my named instance to the default instance?

Thanks for your help

Hubert

Script All MSDB based objects or restore MSDB._

$
0
0

Dear Gurus,

I have to migrate my sql server 2008 R2 from Old Box to new Box.

Source
OS: Windows 2008 R2
DB Version: SQL Server 2008 R2
SQL Server instance name and IP address will also remain the same.
At the moment we are a stand alone instance but now we are moving to a two node clustered server.


Destination:
Everything is same as source except this is new hardware.


I know I can script out all of the msdb based objects (All application jobs, maintenance jobs etc) and put them on the new box.
However since the SQL Server version is the same, If it doesnot cause any after effects, I would like to restore the complete msdb database instead of doing the things manually. This will also help me retain the history information.

1.    Do you guys see any downside to restoring msdb instead of doing things manually?
2.     There are some subscription jobs (reporting services based), would they work perfectly after restoring the msdb or they need some special treatment?


Thanks in advance.

Database grows rapidly

$
0
0
 i need clarification for one question regarding database.
In SQl Server 2005 our Content database was 90GB,

When we copy that 90GB content database  to SQL 2008 it has taken 235GB,space  what is the reason.

How to shrink the size of that content database

Any help will be appreciated

Reinstalling OS

$
0
0
I have a 2008 Standard server that Im needing to reinstall so I can get it to 64bit.  I have several SQL databases on it.  Can I just create .bak files of them, reinstall the OS, install the roles and SQL 2008 and restore them to the same instance? They are currently SQL 2005 databases.  Little nervous to start this process....

HOW CAN I MIGRATE DATA BASE FROM FOXPRO DBF TO SQL SERVER 2008

$
0
0

I WAS USE DBF VIEWER 2000 BUT THE GENERATED SCRIPTS ARE POORS. SOME ANOTHER FORM ?

THANS IN ADVANCE.

migration from 2000 to 2008 schema

$
0
0

I migrate SQL Server 2000 database to SQL 2008.

SQL 2000 databases do not have schema which is new for 2008.

I will have to change all my stored procedures and functions to add my schema if I add schema to my new SQL 2008 databases.

It looks like that it is almost impossible to add schema for a database migrate from 2000 to 2008.

Please let me know if I am wrong or any method can add schema to 2008 new databases.

Your information and help is great appreciated,

Regards,

Souris,

how to convert functions which include Oracle conditional compiling

$
0
0

Hi everybody,

is there a way to convert Functions, Triggers which contain oracle specific conditional compiling ( $if $else ) ?

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.

Exception while migrating simple procedures from Oracle to SQL server

$
0
0

The error is as follows-

Converting procedure POC.LIST_A_RATING ...

Conversion finished with 0 errors, 0 warnings, and 0 informational messages.

An unexpected error occurred. Please send the log file to product support. For more information, see "Getting SSMA Assistance" in the product documentation.

The type initializer for 'Microsoft.SSMA.Framework.Oracle.Parser.OracleParserCacheManager' threw an exception.

 

content from log-

Exception has been thrown by the target of an invocation.

site: System.Object _InvokeConstructor(System.Object[], System.SignatureStruct ByRef, IntPtr)

source: mscorlib

at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)

at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)

at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)

at System.Security.Cryptography.MD5.Create(String algName)

at System.Security.Cryptography.MD5.Create()

at Microsoft.SSMA.Framework.Generic.Parsers.DefaultParserCacheManager..cctor()

Migrating from SQL 2005 to SQL 2008 R2

$
0
0

Source server is SQL 2005 Enterprise Edition 64 bit on Windows Server 2003 64 bit

Target server is SQL 2008 R2 Enterprise Edition cluster on Windows Server 2008 R2

Is it necessary to migrate the system databases? What are the implications of not migrating the system databases?

Will backing up and restoring user databases restore the logins and there corresponding permissions or is it necessary to migrate the logins separatley?


Senior Technical Consultant, MDS Computers

SQL Migration which is the btter approach

$
0
0

Source server is SQL 2005 Enterprise Edition 64 bit on Windows Server 2003 64 bit

Target server is SQL 2008 R2 Enterprise Edition cluster on Windows Server 2008 R2

Which is the better approach

Migration using backup/restore method and then transferring logins and metadata one by one or

or

Migration using the copy database wizard?


Senior Technical Consultant, MDS Computers


Migrating from Oracle to SQL Server using SSMA

$
0
0

Hi all,

Hope you can help. I'm trying to connect to an Oracle database using SSMA for Oracle (v5.2.1259). I have tried connecting to the remote database (Oracle 10g) and to a local database database (Oracle 11g) but neither is working.

What I would ideally like to do is to connect to the remote database and migrate the schema over. I can connect to the remote database using Oracle SQL Developer but when I try with SSMA it doesn't work

In Oracle SQL Developer I am using Username SYS but I have to set the Role to SYSDBA and it lets me connect fine. When I'm using SSMA I am using the following settings:

Provide: Oracle Client Provider
Mode: Standard Mode
Servername: same IP address used in SQL Developer
Server Port:1521(same as SQL Developer)
Oracle SID: PROD (same as SQL Developer)User name: SYS (same as SQL Developer)
Password: same as SQL Developer

But when I try to connect from SSMA I get the error:

Conection to Oracle failed
ORA-01017: invalid username/password; logon denied

I tried setting up a local copy of the database and the same server as SSMA, again I can connect fine with SQL Developer but when I try to connect using SSMA I get the message

Connection to Oracle failed.
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER

And I don't know how to connect using SSMA to have SYS connect as SYSDBA.

If someone could help that would be great. Preferably to get me connected to the remote server but even connecting to the local one would do.

Thanks in advance.

Cheers

Alex

Test Database Configuration

$
0
0

Where I work, we currently have something that resembles a test/development "environment" (we have a dev server where our working directories are, and it theoretically has a test database for our main application).  As part of some upgrades we are doing, I am wanting to change this so we do local development (keep our working directories on our PC's instead of on the network, which is terribly slow and requires that we run our VisualStudio through Citrix).

Anyway, my question is, in a distributed environment (12 sites, each with their own database server), what is the best way to set up a test/dev environment?  Our WAN can't really handle the traffic, so if we put a test database on each production server (which is my initial suggestion to my perceived problem), I need to be able to convince my boss that we will be able to easily modify the databases to keep the schemas synced.  Additionally, by moving our working folders locally, I need to convince him that there will not be any untoward consequences (I happen to know that it can be done, since this is the first job I've had that was set up in this manner).

So, any personal advice you guys have, or links you can give me would be greatly appreciated.  If you need more information, let me know.

Generate scripts results in invalid column name error

$
0
0

I'm trying to use the Generate Scripts tool to export my database so I can move it to 2008 R2. It is currently on 2012 so backing up and restoring won't work. The database is and has been in 2008 compatibility mode.

I can export the schema with no problems but when I try to export the data I get something like this:

"Microsoft.SqlServer.Management.SqlScriptPublish.SqlScriptPublishException: An error occurred while scripting the objects. ---> System.Data.SqlClient.SqlException: Invalid column name 'ID'. Invalid column name 'Message'. Invalid column name 'DateSubmit'. ....................................... 

Here is the thing when I first ran it failed with this message on my Stats_UserCount table. So I decided to exclude that table from the export. It still fails with the EXACT same message but on a different table!!!

What is going on with this? I did notice on my "SysMessages" table I cannot seem to bring up the design. It causes the management studio to crash. I have verified that this is the only table doing this.

I'm going to try to just exclude this table

Connection to Oracle failed. OCIEnvCreate failed with return code -1 but error message text was not available.

$
0
0

Hi, All:

I am using the tool SQL Server Migration Assistant for Oracle to move an existing Oracle onto sql server. However, I can't connect to a source Oracle database from this tool, even though I can use PLSQL developer to do Oracle connection. I have googled Internet and follow suggestions to make security permission changes on Oracle client home page. Unfortunately, it is failed with the following error:

Connection to Oracle failed.
OCIEnvCreate failed with return code -1 but error message text was not available.

Please help me use SQL server instead of Oracle.

Oracle client home is: C:\app\oracle\product\11.2.0\client_1

Regards,

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>