Setting up a SQL Membership Provider and attaching the MDF file in Visual Studio 2008
        Posted  
        
            by aubreyrhodes
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by aubreyrhodes
        
        
        
        Published on 2010-03-31T05:20:23Z
        Indexed on 
            2010/03/31
            5:23 UTC
        
        
        Read the original article
        Hit count: 406
        
I'm trying to set up a SQL Membership Provider for an ASP.NET MVC 1.0 and I'm having problems setting up the tables and stored procedures in the database. I've tried attaching both the applications current database and a blank database to my local SQLEXPRESS instance (using SSEUtil) and then running the aspnet_regsql wizard against them. When I detach the mdf file and try to load it in Visual Studio 2008, the data connection in the server explorer shows that the database has no tables or stored procedures.
Am I missing a step or something here? I've been having a heap of trouble with compatibility between Visual Studio and SQLEXPRESS.
© Stack Overflow or respective owner