Results 1 to 2 of 2

Thread: [2005] Membership on a Remote Server

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2007
    Posts
    523

    [2005] Membership on a Remote Server

    I am trying to move a simple ASP.Net web application from my local machine to a remote server. I am using .net 2.0. On the local machine, Membership (usernames, roles and rules) are all stored in the ASPNETDB.MDF database. I want to move this to the remote server and use the SQL Server with a name of HRSMSQLSharePoint

    The existing authorization portion of the web.config for the local version is given below.

    Code:
      </authorization>
      <roleManager enabled="true" />
    
    
    <membership defaultProvider="MyMembershipProvider" userIsOnlineTimeWindow="30">
    	<providers>
    		<clear/>
    
    		<add name="MyMembershipProvider"
      connectionStringName="LocalSqlServer"
      applicationName="MyApplication"
      enablePasswordRetrieval="false"
      enablePasswordReset="false"
      requiresQuestionAndAnswer="false"
      requiresUniqueEmail="true"
      passwordFormat="Clear"
      maxInvalidPasswordAttempts="5"
      passwordAttemptWindow="10"
      minRequiredPasswordLength="3"
      minRequiredNonalphanumericCharacters="0"
      type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
      />
    	</providers>
    </membership>
    		
      <authentication mode="Forms" />
    I can't seem to get the membership to you the remote server. Any help would be greatly appreciated.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [2005] Membership on a Remote Server

    Did you change your connection string to point to the new database?

Posting Permissions

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



Click Here to Expand Forum to Full Width