For some reason, my website based on the Personal Web Site starter kit has two databases; The Personal.mdf and ASPNETDB.mdf. My web config file refers to both of them. Is it supposed to ? I'm not sure if I some how added that as I downloaded this project
years ago. I don't see the original project any longer and I had tinkered with my original download.
You should have One database for a project. ASPNET.mdf must be having Membership table only and your Presonal.mdf must be having other table. You can merge both databases and update your connection string.
I hope that helps.
If this post was useful to you, please Mark it as Answer.
Thanks. Can you tell me how to do that? I am in the SQL Server Management studio. I am looking at the ASPNET database and it has, as you say, membership tables, Usersinroles, etc.
Hi RaeKC if you are in need of one of the better personal original ver. make a reply and I'll send it. Also there are a lot of a variables concerning .NET any framework 2.0 3.0 etc. so your question opens a lot of windows. What I mean is that there are many
answers. I'll try to explain in brief, you can find a aspnet_regsql file in the Windows (c:\WINDOWS\Microsoft.NET\Framework\your version of .net) If you'd like I have a few web pages that have tutorials on them if you'd like.
Thank you. I would like it. I am not sure which framework I have. I can't remember. I just looked in the windows folder and there are several listed there.
RaeKC
Member
101 Points
366 Posts
Are you supposed to have two databases?
Dec 08, 2011 04:14 PM|LINK
For some reason, my website based on the Personal Web Site starter kit has two databases; The Personal.mdf and ASPNETDB.mdf. My web config file refers to both of them. Is it supposed to ? I'm not sure if I some how added that as I downloaded this project years ago. I don't see the original project any longer and I had tinkered with my original download.
nobdy
Contributor
5744 Points
1036 Posts
Re: Are you supposed to have two databases?
Dec 08, 2011 04:17 PM|LINK
You should have One database for a project. ASPNET.mdf must be having Membership table only and your Presonal.mdf must be having other table. You can merge both databases and update your connection string.
I hope that helps.
My Blog | My Website
RaeKC
Member
101 Points
366 Posts
Re: Are you supposed to have two databases?
Dec 08, 2011 04:52 PM|LINK
Thanks. Can you tell me how to do that? I am in the SQL Server Management studio. I am looking at the ASPNET database and it has, as you say, membership tables, Usersinroles, etc.
DKB
Member
201 Points
263 Posts
Re: Are you supposed to have two databases?
Dec 14, 2011 09:50 PM|LINK
Hi RaeKC if you are in need of one of the better personal original ver. make a reply and I'll send it. Also there are a lot of a variables concerning .NET any framework 2.0 3.0 etc. so your question opens a lot of windows. What I mean is that there are many answers. I'll try to explain in brief, you can find a aspnet_regsql file in the Windows (c:\WINDOWS\Microsoft.NET\Framework\your version of .net) If you'd like I have a few web pages that have tutorials on them if you'd like.
RaeKC
Member
101 Points
366 Posts
Re: Are you supposed to have two databases?
Dec 16, 2011 02:56 PM|LINK
Hello -
Thank you. I would like it. I am not sure which framework I have. I can't remember. I just looked in the windows folder and there are several listed there.