Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using SQL database with the default web site login page

Status
Not open for further replies.

PPettit

IS-IT--Management
Sep 13, 2003
511
US
I'm using Visual Studio 2010 and have created a new "ASP.Net Web Site". Instead of using the built-in user database, I want to use a different database and table where I've got some existing login credentials stored. Is it possible to use the pre-existing pages in the "Account" subfolder or do I need to code completely new pages? Perhaps I'm overlooking something, but I can't see how to specify my particular table in the database or how I can specify my column names.

Since it was relatively easy to use Active Directory with just a few changes to the web.config file, I had hoped that using a SQL database would be somewhat easy to implement as well.
 
I believe you have to create a custom provider to do so. Do some googleing, you will find examples. I did this many years ago and don't have the code to send you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top