Views: 4.6K
Replies: 0
Archived
|
Silverlight Patterns 4.0 Membership/login issueHello,
I have created the Action and Aspnetdb databases under my SQL Server 2008 R2 instance. I ran the scripts as prescribed in the setup pdf to load all tables and data. I added the following to my web.config: <connectionStrings> <add name="ActionEntities"connectionString="metadata=res://*/ActionModel.csdl|res://*/ActionModel.ssdl|res://*/ActionModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=MYDEVSERVER;Initial Catalog=Action;Integrated Security=True"" providerName="System.Data.EntityClient" /> <add name="Aspnetdb" connectionString="Data Source=MYDEVSERVER;Initial Catalog=Aspnetdb;Integrated Security=True" providerName="System.Data.EntityClient"/> </connectionStrings>
<!--<authentication mode="Forms"> <forms name=".Silverlight_Patterns_in_Action_ASPXAUTH" /> </authentication>--> <authentication mode="None"/> <membership defaultProvider="MembershipProvider"> <providers> <clear/> <add name="MembershipProvider" description="ASP.NET Membership database services." type="System.Web.Security.SqlMembershipProvider" connectionStringName="Aspnetdb" applicationName="/" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="500" passwordAttemptWindow="500" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="0"/> </providers> </membership> I can connect to the application just fine and view Shopping categories and items. However, when I try to login with debbie, secret123 I receive the Invalid Username or Password prompt followed by a runtime exception (code 4004 System.ServiceModel.DomainServices.Client.DomainOperationException)
John Scudder, Feb 02, 2012
|