I am attempting to build a simple Silverlight application that integrates DevForce with ASP.NET Security. I have a simple login page with two text boxes and a "Login" button. I want to authenticate the username and password entered by the user against my SQL Server database. I have run aspnet_regsql.exe against the database and used the ASP.NET Configuration website to create a couple users and roles in the database.
In separate assemblies I have created an entity framework model of my database (excluding the asp.net authentication table) and the dev force model of my database using the DevForce object mapper. I have modified the web.config of the web application by setting the authentication mode to "Forms" and I have set aspNetCompatibilityEnabled = true. I have also added the connect string to my database:
<connectionStrings>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data Source=UDSSRV1\UDSLAB1;Initial Catalog=DevForceTest;Persist Security Info=True;User ID=sa;Password=sa" providerName="System.Data.SqlClient"/>
</connectionStrings>
Is there anything I'm missing here? I run my application and I am able to "login" regardless of what i enter in the username and password textboxes. I get no errors. What do I need to do to at least see my login fail when I run my application in the development environment?