Solved

using Member Profile Builder and cannot save profile info

Posted on 2009-07-05
2
231 Views
Last Modified: 2013-11-08
I have a very basic login web application that I am try to use profiles with.  I am using the Web Profile Builder since it is a Web Application rather than a Web Site.   I can retrieve and use the profile information but can't update or save any changes to the profile data.  

According to the documentation assigning to the Profile member such as
Profile.ClientNumber = TextBox1.Text

Should make the assignment,  but it is not saving any information.

What am I missing ?
0
Comment
Question by:dandnet
2 Comments
 
LVL 4

Accepted Solution

by:
mysteriousguy earned 50 total points
ID: 24783103
did you call the Save-Method?
var user = new WebProfile().GetProfile("User");

user.City = "New city";

user.Save();

Open in new window

0
 

Author Closing Comment

by:dandnet
ID: 31600014
Thanks that got me going in the right direction.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with distributing .NET Framework with Clickonce technology 2 30
Runtime Error 2 28
SSL https .net web site force redirect 3 34
SQL Login 17 38
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

912 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now