Click here to Skip to main content
15,885,876 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created a web application which has given Account folder by default consisting of Login.aspx,Register.aspx,ChangePassword.aspx,etc. It uses Membership class in code behind but I cannot understand that where the data is stored. It gives error as it needs Sql Express edition to be installed. Is it not possible to use Membership class in Sql Server Enterprise edition ?

Thank u in advance.
Posted
Comments
CHill60 29-Jan-15 3:06am    
It depends on your connection string - if you are telling the system you want to connect to Express then it will say it needs to be installed. Post your database connection string
Sinisa Hajnal 29-Jan-15 3:29am    
By default, it tries for local sql express instance. It creates the database in one of the application folders...if you want custom database you have to write your own custom membership provider. Try this: http://theintegrity.co.uk/2010/11/asp-net-mvc-2-custom-membership-provider-tutorial-part-1/

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900