Mobile App Simplemembership error... RRS feed

  • Question

  • User-118371376 posted

    Hello all, i am creating my first asp.net mobile app using vb.net (Visual Studio 2010) and I am having issues setting up SimpleMembership.  I have read several articles / tutorials on setting this up and I can't seem to get it to work.  For one, the tables aren't being setup in my existing sql server database after i changed the connection string.

     WebSecurity.InitializeDatabaseConnection(connectionStringName: "ProTeamEntities", userTableName: "v2_Users", userIdColumn: "User_ID", userNameColumn: "User_name", autoCreateTables: true);

    Below is the error that i get when i build and run the app locally...

    Parser Error Message: Could not load file or assembly 'WebMatrix.Data, Version=, Culture=neutral,

    The webmatrix dll was not in the bin folder, so i pasted it there and I am still getting the error...

    Saturday, February 2, 2013 5:11 PM


  • User-118371376 posted

    I figured it out, I just needed to copy the 2 webmatrix dll's to the bin folder and correct the version number of 1 of them.  That fixed it.  I also had to remove the metadata info from a connection string...

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, February 3, 2013 2:08 AM