newbie: simple login page



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.

.



Relevant Pages

  • Re: Persisting user login credentials across pages
    ... The application we are writing is a database application in which each user ... must have a unique SQL Server login to allow for auditing of certain ... Can I just ask about connection pooling, if each user has a different ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: PDO: Switch database user without reopening connection
    ... At the bare minimum there will be a login user who only has ... modifications to the database as well (editors get update permission, ... As database connections are expensive to ... a certain visitor in the Session, and use that value to start the right ...
    (comp.lang.php)
  • Re: Login Failed Error: Frontpage 2000 to SQL Server 2000
    ... I am reconstructing a web site for a remote customer and have a login ... failure with an FP2000 database results page. ... FP via the Web Settings option--there is no other connection string. ... to SQL Server, which is configured for Mixed Authentication. ...
    (microsoft.public.frontpage.programming)
  • Re: User not associated with trusted SQL Server connection
    ... Actually when I execute the sp_grantdbaccess command for ... I performed a sp_mshasaccess which displays the same login ... >> associated with a trusted SQL Server connection. ... >> database or is it just for that instance. ...
    (microsoft.public.sqlserver.security)
  • Re: PDO: Switch database user without reopening connection
    ... At the bare minimum there will be a login user who only has ... the postgres user they are logged in as to one that can make ... modifications to the database as well (editors get update permission, ... As database connections are expensive to ...
    (comp.lang.php)