I am trying to use set up forms authentication using a existsing database, i trued using aspnet_resql but this sets up a the database with the tables like dbo.aspnet_user , but mvc 4 with vs 11 beta and ,net 4.5 looks for dbo.user
That page does not show how to set up a existsing database, I know who to use aspnet_regsql to do this, but with Visual Studio 11, the table stucture is different, as stated above.
ThatsIT
Participant
1026 Points
388 Posts
VS 11 and forms authentication
Apr 23, 2012 03:24 PM|LINK
I am trying to use set up forms authentication using a existsing database, i trued using aspnet_resql but this sets up a the database with the tables like dbo.aspnet_user , but mvc 4 with vs 11 beta and ,net 4.5 looks for dbo.user
How to create database?
sukumarraju
All-Star
16985 Points
3001 Posts
Re: VS 11 and forms authentication
Apr 23, 2012 03:48 PM|LINK
Check http://msdn.microsoft.com/en-us/library/ff398049%28VS.98%29.aspx
Seems your other thread has been resolved by now?
Application Architecture Guide 2.0
My Blog
Twitter
ThatsIT
Participant
1026 Points
388 Posts
Re: VS 11 and forms authentication
Apr 23, 2012 03:52 PM|LINK
That page does not show how to set up a existsing database, I know who to use aspnet_regsql to do this, but with Visual Studio 11, the table stucture is different, as stated above.
sukumarraju
All-Star
16985 Points
3001 Posts
Re: VS 11 and forms authentication
Apr 25, 2012 11:34 AM|LINK
Please go thorugh this article and get back with further questions
http://www.asp.net/mvc/tutorials/older-versions/security/authenticating-users-with-forms-authentication-cs
Application Architecture Guide 2.0
My Blog
Twitter
ThatsIT
Participant
1026 Points
388 Posts
Re: VS 11 and forms authentication
Apr 25, 2012 11:37 AM|LINK
I know who to use aspnet_regsql to do this, but with Visual Studio 11, the table stucture is different, as stated above.
Using aspnet_regsql creates tables like dbo.aspnet_users, but a mvc site credited in Visual Studio 11 beta looks for a table called dbo.users
Sonic Go - M...
Member
66 Points
13 Posts
Re: VS 11 and forms authentication
May 09, 2012 03:19 AM|LINK
Hi ThatsIT,
Here is a reference for you.
http://msdn.microsoft.com/en-us/data/gg685489