Move Citrix PS 4.5 DB from SQL 2000 server to SQL 2005 server

Posted on 2009-02-23
Last Modified: 2012-05-06
i have 2 citrix ps4.5 servers patched on 10/26/07 with pse450w2k3r01 patches. I have an old SQL 2000 server that is end of life and would like to move the metaframe db that resides in the SQL 2000 server to a new server with SQL 2005. I also have to change the password because the 2000 server had a user of sa and no password and now the sa user has a password in the 2005 environment. Both SQL servers are Windows 2003.  I realize i need to change server name in dsn, etc and have seen lots of varying descriptions on how to do this, has anyone done this and have specific steps they know have worked? or at least exact steps on how this should be done in my scenario, I am not a SQL guru by any streach of the word and just need steps to complete that are concise as possible.  thanks for your time!
Question by:korymolo
    LVL 7

    Accepted Solution

    The SQL 2005 server does not allow for empty password so you have to set a password.

    Here are some steps I used to migrated my SQL DB from SQL 2000 to SQL 2005.

    1)  Create a back up for old DB
    2)  Move the back up DB file from SQL 2000 server to SQL 2005 and restore it
    3)  Run these scripts in your query analyser (SQL 2005) to find any orphan left by the migration
         exec sp_change_users_login 'report'   --- This will display a list of the orphan

         exec sp_change_users_login 'auto_fix', 'sa',null,'password' -- sa is the user account and password must meet the requirement of new SQL 2005 so it will be something like this (exec sp_change_users_login 'auto_fix', 'sa',null,'IMig@#Sql2000ToSql2005')

    4) Change the username and password in your Citrix configuration file.

    hopefully you can get this to work!

    Author Closing Comment

    still not getting it but seems like my citrix stuff is in the master db on the original box, think i am going to have to get some pro help...

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
    Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
    Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
    Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now