Back to list
Views:   4.6K
Replies:  0

Silverlight Patterns 4.0 Membership/login issue


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:


    <add name="ActionEntities"connectionString="metadata=res://*/ActionModel.csdl|res://*/ActionModel.ssdl|res://*/ActionModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=MYDEVSERVER;Initial Catalog=Action;Integrated Security=True&quot;" providerName="System.Data.EntityClient" />

    <add name="Aspnetdb" connectionString="Data Source=MYDEVSERVER;Initial Catalog=Aspnetdb;Integrated Security=True" providerName="System.Data.EntityClient"/>


and under web.config....

<!--<authentication mode="Forms">

      <forms name=".Silverlight_Patterns_in_Action_ASPXAUTH" />


<authentication mode="None"/>

<membership defaultProvider="MembershipProvider">



        <add name="MembershipProvider"

             description="ASP.NET Membership database services."















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)

Does anybody have any ideas what I may have wrong?

Thanks all.


John Scudder, Feb 02, 2012
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.