newbie: simple login page
- From: sandhyanp@xxxxxxxxx
- Date: 9 Aug 2006 08:17:46 -0700
hi.
i'm trying to write a simple test login page which will provide login
for 2 users. my web.config file reads as follows:
<?xml version="1.0" ?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<system.web>
<authentication mode="Forms">
<forms name="mylogin" loginUrl="login.aspx">
<credentials passwordFormat = "clear"
<user name="user1" password="password1" />
<user name="user2" password="password2" />
</credentials>
</forms>
</authentication>
</system.web>
</configuration>
and in my content page, i'm simply calling the login control as:
<%@ page language="VB" masterpagefile="~/site.master" %>
<asp:content id="pagecontent" ContentPlaceHolderId="pagecontent"
runat="server">
<asp:login ID="Login1" runat="server"
destinationpageurl="success.aspx" />
</asp:Content>
i get the error message "The SSE Provider did not find the database
file specified in the connection string.".
i must be missing something very basic here. but all i could find on
the various tutorials on the net are about connecting to databases.
could somebody please tell me what else i need to do to get this login
page to work? i do not wish to have to create a database for just 2
users.
How do you make the login control use the info in the <credentials>
element?
thanks in advance,
sandhya.
.
- Follow-Ups:
- Re: newbie: simple login page
- From: PeterKellner
- Re: newbie: simple login page
- From: Matt
- Re: newbie: simple login page
- Prev by Date: Re: Delegation failure with XMLHTTP
- Next by Date: Roles - Access Rule Storage
- Previous by thread: Get List of Roles and Translate(typeof(NTAccount))
- Next by thread: Re: newbie: simple login page
- Index(es):
Relevant Pages
|
|