Cannot connect to the database RRS feed

  • Question

  • User-1301311212 posted

    Hi all,

    I am using SQL Server express edition 2008 with Visual Studio 2005.When I am trying to create a new connection,it gives me the following error "Database schema could not be retrieved for this connection.Please make sure the connection settings are correct and the database is online. This server version is not supported.You have to have Microsoft SQL Server 2005 Beta 2 or Later".

    Do I have to change any settings for this connection?

    I tried Installing the Service Pack too but it does not work!

    Please help as I am not able to go ahead without creating the database.



    Monday, August 10, 2009 5:43 PM


All replies

  • User-225949985 posted

    You'll have to install this update for VS2005:


    [EDIT] VS2005 doesn't have "out of the box" support for SQL Server 2008, so Microsoft has made an update to resolve that issue. There are still some limitations, so read carefully the notes on the download page.

    Monday, August 10, 2009 6:21 PM
  • User-1301311212 posted

    Hi hugonne,

    When I try to install the patch it gives me this error msg "The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing  or the upgrade patch may update a different version of the program.Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch." 

    I am using VS 2005 Professional Edition and SQL Server 2008 (management studio) express edition(the free download one).

    So I do not know if this works.

    Thank u

    Tuesday, August 11, 2009 11:25 AM
  • User-225949985 posted

    Are you sure you DO have VS2005 SP1 installed? It will only work on that version. To check it out, in VS, go to Help > About Microsoft Visual Studio

    [EDIT] Here are the complete system requirements:

    • Windows Server 2003 Service Pack 2, Windows Vista or Windows XP Service Pack 3
    • Visual Studio 2005 Service Pack 1
    • Access to a running instance of SQL Server 2008
    • Any language version of Visual Studio 2005 SP1 Professional Edition or Visual Studio 2005 SP1 Team System Edition

    Check this page for more info, and let me know if it works.


    Tuesday, August 11, 2009 12:02 PM
  • User-1301311212 posted

    I have the following in the Help->About Microsoft Visual Studio :

    Microsoft Visual studi0 2005 Professional Edition.

    Microsoft Visual Studio 2005

    Version 8.0.50727.42(RTM.050727-4200)

    2005 Microsoft Corporation

    All Rights Reserved

    Microsoft .NET Framework Version 2.0.50727 SP 2

    Microsoft Visual Web Developer 2005

    Microsoft Visual Studio 2005
    Version 8.0.50727.42  (RTM.050727-4200)
    Microsoft .NET Framework
    Version 2.0.50727 SP2
    Installed Edition: Professional
    Microsoft Visual Basic 2005   77626-009-1235325-41558
    Microsoft Visual Basic 2005
    Microsoft Visual C# 2005   77626-009-1235325-41558
    Microsoft Visual C# 2005
    Microsoft Visual C++ 2005   77626-009-1235325-41558
    Microsoft Visual C++ 2005
    Microsoft Visual J# 2005   77626-009-1235325-41558
    Microsoft Visual J# 2005
    Microsoft Visual Web Developer 2005   77626-009-1235325-41558
    Microsoft Visual Web Developer 2005
    Crystal Reports    AAC60-G0CSA4B-V7000AY
    Crystal Reports for Visual Studio 2005

    Tuesday, August 11, 2009 12:40 PM
  • User-225949985 posted

    Well, in fact it doesn't seem like you have SP for Visual Studio installed. You do have the SP for the .NET Framework 2.0, but that's a different thing. For instance, I have VS2008, and what I see is this:

    Microsoft Visual Studio 2008
    Version 9.0.30729.1 SP

    Get the SP from here:


    And if you have Windows Vista, you might need this as well:


    SP1 installation for VS2005 is a very long process, so you'll have to be patient.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, August 11, 2009 12:52 PM
  • User-1301311212 posted

    Finally it works!!!! Thanks a lot!!!!!!!

    Tuesday, August 11, 2009 5:37 PM
  • User-1301311212 posted


    Is there a bug fix for the bugs in the above service pack?

    I am not able to add tables or View the Table definitions in the "Server Explorer" tab in VS 2005.

    Is there a bug fix to resolve this issue?

    Thursday, August 13, 2009 12:59 PM