Ask a questionAsk a question
 

QuestionCo-exist of SQL 2000 and 2005

  • Friday, May 12, 2006 3:38 AMPeter Peter Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Dear all,

    I have SQL 2000 Enterprise mgr and Query Analyzer in my desktop, and I install SQL2005 Express Edition + Mgm Studio today, however, my SQL 2000 Enterprise mgr disappear and all my registered servers disappear too when I open up the SQL 2005 Mgm Studio. Is it mean that I no longer able to use SQL 2000?? How can I rollback the installation of SQL 2005 because I still have to use Enterprise mgr to manage my existing database and clients. (Yes, I give up SQL 2005 now)

    Thanks,

All Replies

  • Friday, May 12, 2006 6:21 AMEuan GardenMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    The 2 should work side by side just fine, there is no need to uninstall. What do you mean Enterprise Manager disapears? Did you do a sidebyside install or an upgrade?
  • Tuesday, May 16, 2006 2:24 PMKeWinModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    You say 'when I open up 2005 Management Studio..'

    If you did a sidebyside install, all your 2000 stuff is till there, but you still use 2000 EM for them, they aren't in Management Studio. Your old EM should still be available from the programs menu, and 2005 have it's own start menu.

    /Kenneth

  • Tuesday, May 16, 2006 2:39 PMPeter Peter Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Ken,

    Thanks for your advice, Maybe I select "upgrade" SQL 2000 to SQL 2005 in the installation process (is there an option like this?)... so everything gone and I can't see my SQL 2000 Enterprice Manaager and Query Analyzer (you know, these 2 tools are the best friend of DBA ;)

    I tried to uninstall SQL 2005 and select "side by side" installation (is there a option like this?) but it create another problem: here.

    My original database in SQL 2000 disappear even I re-install SQL 2000 EM, but the MDF and LDF are still in my machine, so I want to "attach" these database immediately, but I can't do so.. do you know why?

    (Installation of SQL 2005 is quite problematic... and bring some other problems as well in my opinion.. I can use my EM and QA smoothly over the last few years)

    Thanks!
  • Tuesday, May 16, 2006 5:54 PMEuan GardenMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    So it sounds like you did an upgrade to SQL 2005. For the tools you can uninstall 2005 and then re-install 2000 and it should work, HOWEVER for your data this is a problem. Once a database has been touched by a 2005 server it can not be attached or restored on a 2000 machine. Your only choice is to export the data from a 2005 running copy of the database, out to csv/text etc and then load that on on the other side.
  • Saturday, May 20, 2006 11:30 AMPeter Peter Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Oh my god... I just un-install the SQL 2005 and re-install SQL 2000, that's fine. I want to make everything back to normal first.

    Next, I install a lite version of SQL 2005 Express instead (Yes, I'm afraid the SQL 2005 now), and I specifically choose NOT upgrade my existing database (Well, the upgrade option is disabled by default due to the limitation of SQL 2005 Express anyway, so I'm pretty sure it WON'T affect my existing SQL 2000 DBs and Enterprise Mgr, alright?)

    However, the result is - It break all of my databases AGAIN. And an error message come out when I try to open my SQL 2000 Ent. Mgr:

    ---------------------------
    Microsoft Management Console
    ---------------------------
    Snap-in failed to initialize.
        Name:<unknown>
        CLSID:{00100100-1816-11D0-8EF5-00AA0062C58F}

    I'm pretty sure the co-existence of SQL 2000 and SQL 2005 (any edition) is very poor.. I can't do any project against my SQL 2000 nor SQL 20005 db now. :(

    Thanks,

  • Saturday, May 20, 2006 11:56 PMEuan GardenMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Sorry but you are wrong, SQL 2000 and 2005 work just fine together, it is unfortunate that you are having problems, btu I run 4 machiens with this config and they all work fine, as do 10,000s of others.

    What do you mean the databases are broken, is there an error message?

    To fix the mmc problem try and run regsvr32 on sqlmmc.dll

  • Sunday, May 21, 2006 7:45 PMeralper Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'm also running a few servers running both SQL2k and 2005 without problems. Servers did not upgrade the existing sql2k 's. I installed the 2005's as new instances.

    Eralper

    http://www.kodyaz.com

     

  • Monday, May 22, 2006 1:49 AMPeter Peter Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
     Euan Garden wrote:

    To fix the mmc problem try and run regsvr32 on sqlmmc.dll

    I have more than 1 machine with SQL 2005 installed, and nearly 50% of them are facing various problem. I understand that there're 10000s installation successed, but you should be aware that there're also have another 10000s installation failed and looking for help here or other NGs everyday. This is a pain. Even 1 installation failed, this product is buggy.

    The databases can't be attached or re-used anymore if SQL 2005 "touch" the db from SQL 2000, that's a famous bug since beta age.

    The regsvr32 sqlmmc.dll and sqldmo.dll are no good...

    Thanks,

  • Monday, May 22, 2006 2:05 AMEuan GardenMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Sorry peter but there are not 1000's of installations which are failed.

    Correct once a DB is touched by 2005 it can not be moved back, this is not a bug this is by design, we have to upgrade the format to be able to use the new features of SQL 2000, this has been this way for the last 4 versions of SQL Server and I believe is also true for other DB vendors.

    When you say that sqlmmc and sqldmo are no good are you saying that you tried to re-reg and ti did not work?

  • Monday, May 22, 2006 2:32 AMPeter Peter Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We have to buy all license and upgrade to SQL 2005 immmediately and we don't have any backward compatiability if we're using SQL 2000? Compatiability and stability are two of the key factors for any DB system.

    re-reg doesn't help, SQL 2000 Enterprise Manager still messed up.

    (Please see this MSDN blog for more info about this bug)

    Thanks,

  • Monday, May 22, 2006 7:57 AMEuan GardenMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    First of all you don't have to buy new licenses and upgrade, SQL 2000 is a fine product and will be support for several years to come. However if you want to upgrade and get the new version you can.

    Your definition of Back Compat differs from mine (and that of the SQL Server Team), apps that work against SQL2000/7 should work against SQL 2005 without changes, thats significant. SQL 2005 can used SQL 2000 as a linked server, it can consume backups, database files and data via OLE DB and ADO.Net. All of that is pretty impressive.

    Your issue is that you have taken a SQL Server 2000 DB, and attached it to SQL 2005, obviously wanting to leverage the new features of SQL 2005, to do that means changes to the file format, making it impossible to use the file on 2000(but you can script out) just as if you had used one of the new T-SQL commands in your app, that would not run against a 2000 server. Just like a Winforms 2.0 app will not run against .Net 1.1, just as a etc etc. I'm sorry you disagree with the principle, but this decision/position does not imply anything related to the stability of the system, which is just fine.

    I am very familiar with the "bug" and the blog entry you reference(hint take a look at the author of the entry), this is not the same bug. Re-registering DMO fixes the CTP bug you reference.

    Now back to the original problem of EM not working. When you re-reg  sqlmmc and sqldmo to they both register correctly or is there an error message? If they register correctly has the error message you get when trying to start EM the same or has it changed from the original post? Have you tried applying SP4 of SQL 2000 again?

  • Monday, May 22, 2006 2:16 PMPeter Peter Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Sorry to post this bug here, but this is the problem after my installation of SQL 2005. I don't want to upgrade my SQL 2000 database to SQL 2005 in fact, if you read my posts above.

    The wizard drive me to this stage and now, the database can't be rollbacked to its original state, which is a backward process. Sorry that you have another definition of backward compatibility, but please be considerate when you reading post here, even you have your own definition in your own mind. You can't force others to follow your own definion and you don't have problem in the installation doesn't mean other 10000 people are as lucky as you.

    The problem and error messages and all service pack installed. Please read the posts but don't just focus on what you like to see but ignore others' opinion.

    Thanks,
  • Wednesday, July 26, 2006 12:41 PMProJester Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    If you are playing around with

    various versions or instances of MS SQL Server

    you may hit the problem of

    ---------------------------
    Microsoft Management Console
    ---------------------------
    Snap-in failed to initialize.
        Name:<unknown>
        CLSID:{00100100-1816-11D0-8EF5-00AA0062C58F}

    To fix the problem,

    1. Click Start, click Run, type regedit, and then click OK.
    2. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\80\Tools\ClientSetup
    3. Right-click the ClientSetup registry subkey, point to New, and then click String Value.
    4. Rename the registry subkey that you just created SqlPath, and then press ENTER.
    5. Double-click the SqlPath registry subkey, and then type C:\Program Files\Microsoft SQL Server\80\Tools in the Value data box.
    6. Click OK, and then close Registry Editor.
    7. Click Start, click Run, type regsvr32 "C:\Program Files\Microsoft SQL Server\80\Tools\Binn\sqlmmc.dll", and then click OK.

    Good Luck,

    Alfred.

     

  • Wednesday, September 06, 2006 6:41 PMBlair Allen Stark Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    well. . . unfortunately we have the same problem as well.

    after having both SQL 2000 and 2005 we tried to uninstall 2005.

    buggered the sql 2000 as noted

    running the fix outlined above (as well as the othere method outlined in the kb article the above was copied from) we get:

    DllRegisterServer in C:\Program Files\Microsoft SQL Server\80\Tools\Binn\sqlmmc.dll failed.

    Return code was: 0x8011041a

    We need to get back to a totally clean state so we can do an install of just SQL 2000.

    And dont just copy that other kb article 290991 as that didnt work either

  • Wednesday, September 27, 2006 3:27 PMLoKiN FoReVeR Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thanks everyone, I did have the same problem and apparently with Alfred's post I have no longer the error message.

    Now I have fully working and running SQL-2000 & 2005.

     

    Regards,

     

    LoKiN.

     

  • Wednesday, October 25, 2006 8:10 AMMike Kollen Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Alfred,

    Step #7 worked like a charm.  Thank  you very much for posting

    your message.

     

    Best Regards,

    Mike Kollen

     

     

  • Monday, December 04, 2006 7:13 PMJake Burkey Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Alfred - Thank you for posting the registry fix!

    I had installed the Nov. 2006 SQL Server 2005 Feature Pack CTP, and later when I tried to use the SQL Server 2000 Enterprise Manager it resulted in "the snap-in failed to initialize" message.  I had tried unregistering and re-registering the dlls, etc., and nothing had helped, but your fix solved the problem. 

    jake

  • Tuesday, December 05, 2006 7:16 PMProJester Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Hello, Mike, I've just got the Windows Live Alerts from Microsoft Forums with your respond.

    Thank you very much for such praise.

     

    With my best regards,

    Alfred.

     

  • Tuesday, December 05, 2006 7:39 PMProJester Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi, Jake, thank you very much for your commend,

    It was my pleasure to assist.

     

    Alfred.

  • Thursday, December 07, 2006 10:45 PMNash Kato Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Sorry to resurrect this thread, but I've run into a problem with this solution. I do not have an "80" folder in my registry editor under:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server

    However, do have a "90". I tried the above solution under ClientSetup in that "90" folder, and the re-registration of the sqlmmc.dll apparently DID succeed, but the Snap-in error message is still appearing.

    I am extremely appreciatibe of any ideas at all.

    Thanks,

    Nash

  • Friday, June 08, 2007 5:08 PMKeithInSac Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Thank you ProJester.  That gave me other items to check.  The file that I seem to be missing for whatever reason is C:\Program Files\Microsoft SQL Server\80\Tools\Binn\Resources\1033\sqlmmc.RLL.  I verified that this file existed prior to running the installer, but in the process of SQL 2k5 upgrade it was removed.  This file seemed to be required when you register the sqlmmc.dll.  I copied the sqlmmc.rll from an existing installation and retried.  The registration succeeded which was exciting, but when I opened up Computer Management again and expanded the Services and Applications node I receive the following:

     

    ---------------------------
      SQL Server Enterprise Manager
      ---------------------------
      126 - (The specified module could not be found)
      ---------------------------

    ---------------------------
      SQL Server Enterprise Manager
      ---------------------------
      Connection to application object failed. Ensure that no program modules have been deleted.
      ---------------------------

    After the first (126) message, I get the second message over and over until I close out Computer Management between message boxes.

     

    By chance do you have any ideas?  I'm not trying to run a side-by-side SQL 2k and 2k5, I'm just trying to get all the post installation errors out.  Thanks very much in advance.

     

    Anyone who has any ideas, please feel free to contribute, much appreciated, Keith

  • Wednesday, April 02, 2008 2:32 PMjhernandezmaestre Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I do not used various versions or instances of MS SQL SERVER, I used Microsoft SQL Server 7.0, but system look this same error CLSID:{00100100-1816-11D0-8EF5-00AA0062C58F}.

    I am work Operating System windows vista bussines.

    I had, the procediment and continuos what same problem.

    What other solutions.

    Excuse for me English.

    Thank you.

    JORGE EDUARDO.

  • Thursday, October 09, 2008 8:12 PMMannanamyp Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Alfred,

     

    I had the same problem . Now it is solved thanks to you. I have one more question  if you can help me

     

    I have SQL2005 dev edition on my machine  .While installing Analysis seevices  2000 on this .Giving me  a  error message .

     

    " REMOVE the previous version to install current version "

     

     

    Thanks

  • Thursday, October 09, 2008 9:40 PMSQLUSA Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
     MannanAmyp wrote:

     

    I have SQL2005 dev edition on my machine  .While installing Analysis seevices  2000 on this .Giving me  a  error message .

     

     

    You can install as many instances of 2000 and 2005 as your computer can take.

     

    There can only be 1 default instance: either 2000 or 2005.

     

    Let us know if helpful.