Results 1 to 4 of 4

Thread: .NET Role/Membership - SQL Server/Express

  1. #1
    Join Date
    Aug 2005
    Location
    Dénia, Spain
    Posts
    34
    Thanks
    1
    Thanked 4 Times in 2 Posts

    Default .NET Role/Membership - SQL Server/Express

    Can't find a definitive answer in this forum...

    Does anyone know whether RFH provide support the default .NET Role/Membership database and providers that uses SQL Server 2005 Express?

    I've developed a website locally with Role/Membership functionality using VWD2008E. By default a SQL 2005 Express database is created in the app_data folder.

    I then used VWD2008E Copy Website to publish the site (including app_data folder) to my RFH hosting (SQL Server 2005 enabled on site, although possibly not relevant?).

    I get an error whenever Membership functionality is accessed (e.g. Login)...

    System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Do I need to upscale .NET Membership settings to full-blown SQL Server 2005 instead of Express? If so, how do I migrate from the local SQL Server 2005 Express database?

    Thanks in advance.

    Alan

  2. #2
    Join Date
    Feb 2004
    Posts
    4,903
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Hello Alan,
    Yes, you will need to connect your application to a full SQL Server 2005 database, since we dont run SQL Server 2005 Express on each web server.

    There are a number of tools you can use to transfer the database, check the "Online Management" link of the database once created in the control panel.
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  3. #3
    Join Date
    Jul 2006
    Posts
    53
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default

    As Warren says you will need to migrate to using a full-blown database.

    You can configure a database for .Net membership using aspnet_regsql. If you run the command-line version you can configure the RedFox hosted database from your desktop machine with no problems.

  4. #4
    Join Date
    Aug 2005
    Location
    Dénia, Spain
    Posts
    34
    Thanks
    1
    Thanked 4 Times in 2 Posts

    Default

    Thanks guys. Sorted.

    I used Microsoft's "*NEW* Database Publishing Wizard" listed in the RFH Database Management Utilites web page. Took me a while to spot the required settings at the bottom of the web page!

    Cheers,
    Alan

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 9
    Last Post: 20th February 2007, 08:17 PM
  2. Replies: 10
    Last Post: 6th December 2006, 01:48 PM
  3. Replies: 2
    Last Post: 2nd August 2006, 03:04 PM
  4. .Net 2 User and role management - SQL Server 2005
    By jordan in forum Technical Support
    Replies: 8
    Last Post: 17th May 2006, 05:18 PM
  5. SQL 2005 Express
    By DavidJenkins in forum MSSQL
    Replies: 2
    Last Post: 5th January 2006, 06:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •