Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 03, 2013 06:08 AM by cleanpro
Feb 02, 2013 09:11 PM|LINK
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=126.96.36.199, Culture=neutral,
The webmatrix dll was not in the bin folder, so i pasted it there and I am still getting the error...
Feb 03, 2013 06:08 AM|LINK
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...