View Poll Results: What server-side scripting support do you currently use?

Voters
5. You may not vote on this poll
  • ASP.NET

    3 60.00%
  • PHP

    2 40.00%
  • Perl

    1 20.00%
  • Other

    1 20.00%
Multiple Choice Poll.
+ Reply to Thread
Results 1 to 5 of 5

Thread: MySql Membership Provider for ASP.NET Configuration

  1. #1
    haysoft is offline x10Hosting Member haysoft is an unknown quantity at this point
    Join Date
    Nov 2009
    Location
    Montana, the Big Sky State
    Posts
    8

    Exclamation MySql Membership Provider for ASP.NET Configuration

    I have been using ASP.NET successfully with x10, and I am trying to use ASP.NET's Membership System with MySql.

    I downloaded and installed a local instance of MySql Community Server and read a tutorial on how to configure the MySql/NET Connector for use with the ASP.NET membership system. Everything worked fine on my local machine, but I am having trouble getting it to work on x10. I am starting to think that the Mono installation on x10 is simply not configured to use MySql for a membership provider.

    What am I missing? Is ASP.NET Membership authentication possible at all with Mono and MySql?

    I would greatly appreciate any help on this topic.

    Thanks in advance.

    David Haymond

  2. #2
    Gouri's Avatar
    Gouri is offline Community Paragon Gouri has a brilliant futureGouri has a brilliant futureGouri has a brilliant future
    Join Date
    Oct 2007
    Location
    India
    Posts
    4,502

    Re: MySql Membership Provider for ASP.NET Configuration

    What are errors you are getting?
    If you feel my post is useful then click to give Reputation (bottom left corner of this post)

    X10 Hosting | News and Announcements | Premium Hosting | VPS Hosting | Prime Membership

    Tech Community | Gouri

  3. #3
    haysoft is offline x10Hosting Member haysoft is an unknown quantity at this point
    Join Date
    Nov 2009
    Location
    Montana, the Big Sky State
    Posts
    8

    Re: MySql Membership Provider for ASP.NET Configuration

    Here is the error I get when I programmatically attempt to validate a username and password:





    Server Error in '/' Application

    Object reference not set to an instance of an object

    Description: HTTP 500. Error processing request.
    Stack Trace:
    System.NullReferenceException: Object reference not set to an instance of an object
    at System.Web.Security.Membership.ValidateUser (System.String username, System.String password) [0x00000]
    at HaymondSoftware.login.Button_Click (System.Object sender, System.EventArgs e) [0x00000]
    at System.Web.UI.WebControls.Button.OnClick (System.EventArgs e) [0x00000]
    at System.Web.UI.WebControls.Button.RaisePostBackEven t (System.String eventArgument) [0x00000]
    at System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent (System.String eventArgument) [0x00000]
    at System.Web.UI.Page.RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument) [0x00000]
    at System.Web.UI.Page.RaisePostBackEvents () [0x00000]
    at System.Web.UI.Page.ProcessRaiseEvents () [0x00000]
    at System.Web.UI.Page.InternalProcessRequest () [0x00000]
    at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000] Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433

  4. #4
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,438

    Re: MySql Membership Provider for ASP.NET Configuration

    I don't know if the Mono supports the membership authentification, but testing your project with http://www.mono-project.com/MoMA will tell you if it is supported under mono.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  5. #5
    haysoft is offline x10Hosting Member haysoft is an unknown quantity at this point
    Join Date
    Nov 2009
    Location
    Montana, the Big Sky State
    Posts
    8

    Re: MySql Membership Provider for ASP.NET Configuration

    MoMA didn't find any problems with it. Do you have any more suggestions?

    By the way, thank you for responding so quickly.

+ Reply to Thread

Similar Threads

  1. [PHP] MySQL and PHP
    By Bryon in forum Tutorials
    Replies: 43
    Last Post: 03-24-2011, 07:27 AM
  2. Replies: 14
    Last Post: 09-29-2008, 07:07 PM
  3. New Site-Suggestions?
    By mnoutside in forum Review My Site
    Replies: 9
    Last Post: 08-27-2008, 07:01 AM
  4. Website is down
    By JeffreyWalters in forum Free Hosting
    Replies: 17
    Last Post: 11-28-2007, 12:16 PM
  5. Have a problem with my forum
    By tikloos in forum Scripts & 3rd Party Apps
    Replies: 43
    Last Post: 01-19-2006, 01:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers