Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    eldred is offline Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Default asp.net membership control

    Hi,

    I made a website, locally, using the asp.net membership functionnality. I want a website where people can register, setup their password, etc.

    Problem is, now that I uploaded my website here, those functionnality do not work anymore. I'm hardly surprised, as I had suspicion that the DB containing those member info (an automatically created .mdf in my app folder) would probably not work on an online setting.

    But my question is... is there any way to use those very nice membership control, or I kinda have to use the app (the zipped user.xml and other aspx files ) which seem to me a very poor alternative to my current setup.

    I obviously know very little about membership feature on myhosting, if someone could explain to what's the current best way to implement this, I'd be very grateful.

    thanks,

    Eldred

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,080

    Default

    Hi Eldred,

    What membership providers do you use? ActiveDirectoryMembershipProvider or SqlMembershipProvider?
    Have you tried following MS tutorial? How To: Use Membership in ASP.NET 2.0
    You use the SQLMembershipProvider with forms authentication if your user information is stored in SQL Server. In most cases, this occurs when you have an intranet and user information is application-specific or when the application is Internet facing and the users do not have Active Directory accounts.

    When you install ASP.NET, the Machine.config file for your server includes configuration elements that specify SQL Server membership providers. By default, the SQL provider is configured to connect to the local instance of SQL Server.
    Cheers


 

Posting Permissions

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