Can I use SQL server 2000 or other database's?

Last post 03-11-2006 6:59 AM by Codescribler. 4 replies.

Sort Posts:

  • Can I use SQL server 2000 or other database's?

    03-10-2006, 1:30 PM
    • Member
      226 point Member
    • Codescribler
    • Member since 03-10-2006, 6:07 PM
    • Wales UK
    • Posts 98

    Hi All,

    I have just downloaded the visual web developer 2005 express edition. Is this product tied to the equivalent SQL server exoress edition? If not how do I configure the VS to work with 2000 or even a different DB altogether?

    Danny

  • Re: Can I use SQL server 2000 or other database's?

    03-10-2006, 2:17 PM
    • All-Star
      45,563 point All-Star
    • haidar_bilal
    • Member since 07-14-2003, 1:43 AM
    • Lebanon - Beirut
    • Posts 8,726
    • TrustedFriends-MVPs

    This requires two steps:

    1- Install the Application Services Database on SQL Server 200, how? you can check m post here:

    Install Application Services Database on Microsoft Sql Server 2000

    2- You need also to inform all the new features of ASP.NET 2.0, like Profile, Membership, etc ... of the new database to use. I found a good always to use, is to add this into your web.config file:

    <connectionStrings>
    <!-- Don't change the name of this ConnectionString -->
            <remove name="LocalSqlServer"/>
            <add name="LocalSqlServer" connectionString="server=..." providerName="System.Data.SqlClient"/>
    </connectionStrings>

    By default all the new features in ASP.NET 2.0, uses the LocalSqlServer connectionstring name, so since you are overriding it here, no need to configure each provider for each feature.

    Hope this helps,

    Regards

    Bilal Hadiar, MCP, MCTS, MCPD, MCT
    Microsoft MVP - Telerik MVP
  • Re: Can I use SQL server 2000 or other database's?

    03-11-2006, 5:41 AM
    • Member
      226 point Member
    • Codescribler
    • Member since 03-10-2006, 6:07 PM
    • Wales UK
    • Posts 98

    Thanks for the reply but the link doesnt seem to link to a working page.

    I assume it is therefore possible to connect to MySql as a backen database. I am just trying MySql out out the moment and I dont yet know what to make of it.

  • Re: Can I use SQL server 2000 or other database's?

    03-11-2006, 6:59 AM
    • Member
      226 point Member
    • Codescribler
    • Member since 03-10-2006, 6:07 PM
    • Wales UK
    • Posts 98
    Sorry about that - it seems to be working now. It was however very slow.
  • Re: Can I use SQL server 2000 or other database's?

    03-11-2006, 7:47 AM
    • All-Star
      45,563 point All-Star
    • haidar_bilal
    • Member since 07-14-2003, 1:43 AM
    • Lebanon - Beirut
    • Posts 8,726
    • TrustedFriends-MVPs

    The link is working fine, try it please again.

    Regards

    Bilal Hadiar, MCP, MCTS, MCPD, MCT
    Microsoft MVP - Telerik MVP
Page 1 of 1 (5 items)