CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: NewsGroup Date Entered: 2/14/2007 1:43:43 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 11 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
red60man
Asp.Net User
Profile properties cannot be retrieved eventhough they are being saved to database2/14/2007 1:43:43 AM

0/0

Hi,
i have a createUserwizard control in which i also collect some Personalisation information stored using Profile.

Profile.FirstName = Firstname.Text;
        Profile.LastName = Lastname.Text;
        Profile.Age = Age.Text;
        Profile.Save();

then later in my profile page after user has been authenticated i  am trying to show the profile properties

        FN.Text = Profile.FirstName;
        LN.Text = Profile.LastName;
        ageIs.Text = Profile.Age;

Now the problem is the profile properties are being stored in database(which i can see in sqlserver2005)
but when i try to diplay profile properties  in  my Profile page  data is not being retrieved from the database .

I can not understand why??



yojimbo
offwhite
Asp.Net User
Re: Profile properties cannot be retrieved eventhough they are being saved to database2/14/2007 7:20:54 AM

0/0

When the user logs into the website are you migrating the profile properties to the authenticated profile?

http://msdn2.microsoft.com/en-us/library/system.web.profile.profilemodule.migrateanonymous.aspx 

You may also be able to move where you assign the properties to the profile with the CreateUserControl to make sure it is done after the user has been authenticated by the control. There is a UserCreated event where it would be best to add your code above. 


Brennan Stehling
http://www.smallsharptools.com/
http://www.linkmindr.com/
red60man
Asp.Net User
Re: Profile properties cannot be retrieved eventhough they are being saved to database2/14/2007 7:07:06 PM

0/0

These profile properties  are not for anonymous users. and the code for storing the profile properties is placed in ContinueButtonClick where the user has been created and a message confirmation is also given.

More over this data is being stored in the database. The only problem comes when i retrieve the values.

Say i have created the user "ABC"  with some profile properties. [Note all these info is being stored in the database without any problem]

Now after sometime i start the application and enter the login Info for user "ABC" he is authenticated and then i try to see his profile properties ..........strangely they are all Null 

yojimbo 

3 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
ClientScriptManager.RegisterForEventValidation (extensive answer ... problems with compiling using visual studio 2005 · profile properties cannot be retrieved eventhough they are being saved to database ...
Microsoft ASP.NET 2.0 Member/Role Management with IIS, Part 4 ... CreateUser being called, the Profile properties must be saved also with the Profile. .... It is OK to have multiple groups, they just cannot be nested. ...
Abstracting Membership and Profile Components Jun 21, 2006 ... Profile properties cannot be defined on a per portal basis ..... the roles are fetched from the Database and subsequently saved to ...
Adding Personalization via Profiles to the ObjectDataSource in ASP ... Mar 13, 2006 ... CreateUser being called, the Profile properties must be saves also ..... the first time i run the page Exception is “Cannot open database ...
User Authentication, Authorization,and Management Note that this means passwords cannot be retrieved; instead they ...... prevents . Profile. from using a database transaction to save the data. ...
Remember Me Checkbox causes Login Failure - ng.asp-net-forum ... profile properties cannot be retrieved eventhough they are being saved to database · how can i do it in ie7? bug when trying to add a child portal ...
Castle Project :: View topic - Mapping only Foreign Key value with ... Is it possible to use BelongsTo on a property that represents a foreign key, ... not updated even though the correct values are being saved into database. ...
README file for Patch b304 C O M P U W A R E E U R O P E B.V. ... BUG 24400: Object properties cannot be set via the COM interface from Uniface ..... appear as empty even though they are correctly stored in the database. ...
InterSystems Caché Technology Guide At run time, the application directly accesses properties and methods of the POJOs in the usual way. To save and retrieve database objects, the application ...
Atmospheric Environment : Using the optical properties of aerosols ... When the TUV default aerosol properties and the Elterman's profile for the ... Accuracy assessments of aerosol optical properties retrieved from AERONET sun ...




Search This Site:










login web control tp pass querystring?

treeview onadaptedselectednodechanged

can't find user control

master page problem

how to create database driven menu and submenu , sql database

all solpart menus rendering only in top left corner of screen

users prompted for login with integrated windows authentication

dotnetnuke 3.1 build errors

upgrading users with short passwords

not enough place on to put my javascript on page header

licence protection tool

dnn 3.0.12 instalation problem

best way to keep track of users last visit.

how to recitify system.configuration.configurationexception

css not displaying on nested menu control

calculating streaming video network costs

custom admin/role management

authentication

login control + remote desktop web

problem accessing help file of enterprise library - january 2006

treeview, populateondemand, and callbacks

craeting custom validator and adding dynamically

create user wizard

why this code is not working?

treeview display image on node click

crosspagepostback

is the profile class cached?

is there a utility to generate {get/set} properties statement? many thanks!

floor plan module - anyone got some ideas.

frames control

 
All Times Are GMT