www.webdeveloper.com
Results 1 to 2 of 2

Thread: PLease help to connect Login control to MSaccess database

  1. #1
    Join Date
    Oct 2006
    Posts
    12

    PLease help to connect Login control to MSaccess database

    Hi friends,
    all the user data i kept in an mdb file.to login to my site , i have to use it.I am trying to use login server control.Can some body advise me how to connect mdb file to it please.I am using asp.net 2.0

  2. #2
    Join Date
    Apr 2005
    Posts
    634
    the .net 20 membership provider needs to run on its own database schema. You won't be able to use your login control to authenticate against your own custom schema without some major hack.

    however, it shouldn't be too hard to integrate membership provider schema into your existing db.

    1)you'll need to run aspnet_regsql.exe to setup the schema into your db
    2)you'll need to do a little T-SQL to map your fields into (or use .net pro grammatically done if password is going to be hashed) ASPNET_(whatever)table
    3)Maybe (although most likely not) you'll need to fill out some bogus data because membership provider schema may have fields you never had.
    4)modify your web.config and you are ready to use .net20 membership provider controls

    references here
    "Java is great, PHP sucks and .NET can't scale" - Shaun Connoly, JBoss's vice president of product development. April 5, 2006

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles