473,657 Members | 2,805 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Move asp.net profile/membership tables to sql server

Hello,

I have a problem that I need some help on.

I am creating a website that utilizes the builtin membership functionality
in Asp.net 2.0. By default, the "AspNetSqlProvi der" is used and the
membership data is stored in "AspNetDB.m df". However, instead of using this
mdf file, I would like to store the membership data in Sql Server, using the
"SqlMembershipP rovider". I have already run the "regsql.exe " file, but I'm
not sure of what I need to do next. Do I delete the AspNetDB.mdf data file
that is in my web project? Do I need to manually specify the membership
provider in the web.config file? Any suggestions would certainly be
appreciated.

Thanks.

May 18 '07 #1
2 5900

Check here:

http://weblogs.asp.net/scottgu/archi...25/423703.aspx

and

http://www.aspcode.net/articles/l_en...ticle_279.aspx
You'll find most of your answers there.

My last name is Holliday too.

That's crazy!
http://sholliday.spaces.live.com/blog/

"Brandon Holliday" <br******@nospa m.transech.comw rote in message
news:DA******** *************** ***********@mic rosoft.com...
Hello,

I have a problem that I need some help on.

I am creating a website that utilizes the builtin membership functionality
in Asp.net 2.0. By default, the "AspNetSqlProvi der" is used and the
membership data is stored in "AspNetDB.m df". However, instead of using
this
mdf file, I would like to store the membership data in Sql Server, using
the
"SqlMembershipP rovider". I have already run the "regsql.exe " file, but
I'm
not sure of what I need to do next. Do I delete the AspNetDB.mdf data
file
that is in my web project? Do I need to manually specify the membership
provider in the web.config file? Any suggestions would certainly be
appreciated.

Thanks.

May 18 '07 #2
Hey Sloan,

Thanks for the quick reply. I took a look at Scott Gu's blog, and it helped
me.

And it's not everyday you find a Holliday. That's crazy!

Thanks again.
"sloan" <sl***@ipass.ne twrote in message
news:Ov******** ******@TK2MSFTN GP04.phx.gbl...
>
Check here:

http://weblogs.asp.net/scottgu/archi...25/423703.aspx

and

http://www.aspcode.net/articles/l_en...ticle_279.aspx
You'll find most of your answers there.

My last name is Holliday too.

That's crazy!
http://sholliday.spaces.live.com/blog/

"Brandon Holliday" <br******@nospa m.transech.comw rote in message
news:DA******** *************** ***********@mic rosoft.com...
>Hello,

I have a problem that I need some help on.

I am creating a website that utilizes the builtin membership
functionalit y
in Asp.net 2.0. By default, the "AspNetSqlProvi der" is used and the
membership data is stored in "AspNetDB.m df". However, instead of using
this
>mdf file, I would like to store the membership data in Sql Server, using
the
>"SqlMembership Provider". I have already run the "regsql.exe " file, but
I'm
>not sure of what I need to do next. Do I delete the AspNetDB.mdf data
file
>that is in my web project? Do I need to manually specify the membership
provider in the web.config file? Any suggestions would certainly be
appreciated.

Thanks.

May 18 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2308
by: VB Programmer | last post by:
I am using personalization/profile to store info for the user that is not contained in the aspnet_Users or aspnet_Membership tables. This info includes, firstname, lastname, and phonenumber. On my "signup" page I ask for all their info at one time, including username, password, firstname, lastname, etc.... After I do a Membership.CreateUser and Roles.AddUserToRole I want to store the profile information. But, the code still thinks...
8
2253
by: VB Programmer | last post by:
I would appreciate your assistance on this ASP.NET 2.0 site.... This is the wierd problem: While accessing the built in .NET functions for 'profiling' or 'membership' an error is generated (see following 2 examples): ---- EXAMPLE 1 -------- OK --> Dim p As New ProfileCommon OK --> p = Profile.GetProfile(Me.ddlRacer.SelectedItem.Text) FAILS --> Me.lblDebug.Text = p.FirstName.ToString
2
1580
by: RedHair | last post by:
How to create Profile,Membership and Role provider with SQL2000/2005 thanks.
2
1392
by: jdp | last post by:
I've created a custom login control with values that are not used in the Membership table. I created these other fields through the <profiletag in the web config. I'm able to get a new member created my calling membership.create user and get the other fields saved by creating an instance of ProfileBase, calling SetPropertyValue("property",value) mulitple times for each property, and finally calling the Save method. My first question is:...
2
1306
by: JoeFusion | last post by:
Hi folks, I am trying to use the new User Profile functionality in ASP.Net 2, and on initial impression, it looked simple enough to use. But I seem to be getting in a bit of a mess as to what is going on internally, making it difficult for me to trace the SQL connectivity errors I seem to be getting suddenly. I have my own SQL Express database, on which I've run aspNet_regsql utility
2
6347
by: Peter Afonin | last post by:
Hello, I'm using CreateUserWizard control in ASP.NET 2.0. I'm storing the data in SQL Server 2005. The first and last steps run smoothly without any problems. But I added one middle step to collect some other information from the user. I've added this to Web.config: <profile>
2
2753
by: Annie | last post by:
Hello guys, I have set the MEMBERSHIP, ROLEMANAGER and PROFILE in my config file as below. I just want to use my own sql server 2000 table instead of MSDB.
1
2001
by: kpg* | last post by:
Hi all, Trying to use the ASP.NET 2.0 membeship API to manage users and user profiles, and of course, to provide role based security to my web app. I have several attributes I want to users, companyID for example, so I'm using the profile feature to do this and it works great. Now the problem:
4
2493
by: Scott M. | last post by:
When profile data is stored in ASP .NET, where is the user data persisted? For how long is it persisted: is it session persisted or permanent (like a cookie)?
0
8403
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8316
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8737
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8509
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7345
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6174
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4168
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.