MS SQL Server
  Home arrow MS SQL Server arrow Page 6 - Transferring a Database Using the SSIS Des...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Transferring a Database Using the SSIS Designer
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 9
    2006-10-17

    Table of Contents:
  • Transferring a Database Using the SSIS Designer
  • The Source and Destination Servers and Databases
  • Creating a Business Intelligence Project
  • Creating a New Package
  • Configuring Connections
  • Configuring the Source Database
  • Troubleshooting

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Transferring a Database Using the SSIS Designer - Configuring the Source Database


    (Page 6 of 7 )

    The Action that will be taken is to Copy a database. It can be changed to Move if needed. The default method is DatabaseOffline. Change this to DatabaseOnline. The source database name is TestBase.

    Once the connection to the server is established, the handle which will appear when you click on an empty area by the side of the SourceDatabaseName should allow you browse and pick up the database you want to transfer as shown. Since it is online, the source file area gets filled with the location of the source files and is grayed out.

    SSIS Designer Behaving Badly

    As you might have observed, by configuring the source, the destination gets automatically configured. Let's assume that this is okay (this needs to be assumed because this did not work as implemented). We do not have a destination database as yet, so there is no question of overwriting a file. We may take the default option. This completes the configuration of the task.

    Proceed and Execute

    Let's execute this package by right clicking the package and clicking on the Execute shortcut in the drop-down. The Transfer Database Task control turns yellow and the Progress tab shows up. When you click on the Progress tab it shows your progress as shown in the next picture. Finally the package failed to execute.

    When you look at the output window, which shows the output from the debug process, you will see the following detail. It's not a very helpful message, I'm sure you'll agree. It looks like the SSIS Package finished successfully, but the task failed. This reminds me of the old joke about how "the operation was a success, but the patient died."

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


       · SSIS is well integrated with the Visual Studio 2005. In SQL 2000 server it was a...
       · Good tutorial. However, what do you do when you get the error below because one or...
     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT