1
Vote

CreatingSqlCEAspNetdb.sdf database

description

My apologies if this is a simple question. When I run Nuget with the SQL Compact ASP.NET Membership, Role and Profile. I do not get the sdf database file. I notice I have a sqlCeMembershipUtils.cs file in the App_Code folder as well as the provider.cs files. Presumably this creates the database but how do I run this ???. To amplify there is no SqlCeAspnetdb.sdf in the App_Data directory.
Your help would be appreciated
Thanks
Terry

comments

TerryLynn wrote Feb 24, 2013 at 8:12 AM

Help would be appreciated

ErikEJ wrote Feb 24, 2013 at 9:07 AM

The first time you use the api, the database will automatically be created

TerryLynn wrote Feb 24, 2013 at 2:56 PM

Thanks for your quick reply. Could you please explain in a little more depth what you mean. How do I use the API ???. Have tried aspnet_regsql without success. Sorry to be a pain
Best wishes
Terry

ErikEJ wrote Feb 24, 2013 at 3:30 PM

Just start creating users, roles etc in Code or via the ASP.NET Web Admin site