Null current.UserProfile object
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Commerce Server > User Profile Management > Null current.UserProfile object




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Null current.UserProfile object  
DanielT


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-09-04 01:47 AM

Hello, I am using CS2002 with SP3 and FP1 on Win2003 Server.  I recently
added encryption keys to my web.config file, but all of a sudden, anonymous
user profiles can no longer be loaded.  CommerceContext.Current.UserID is
initialized correctly, but CommerceContext.Current.UserProfile is null.  If 
I
try to load the Profile explicity using the UserID, I get null as well.  But
if I try to create a new UserObject profile using UserID, it says it already
exists. This only came up after I added the keys; it's been working fine for
weeks.  I need to use the Anonymous UserProfile for the Targeting Framework
(i.e. discounts).

Any suggestions would be much appreciated...

Thanks,
--DanielT





[ Post a follow-up to this message ]



    RE: Null current.UserProfile object  
David Hargis [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-23-04 02:48 AM

Hi Daniel,

This could be happening if a null property is trying to be decrypted.  The
recommended practice is to create a new property that is encrypted, and
copy the existing property into the new encrypted property.  Problems can
arise if you enable encryption on an existing property.

Hope this helps,
David

--------------------
Thread-Topic: Null current.UserProfile object
thread-index: AcSWFI/lhj8sENJhQ2Wl8H+AW6/ldg==
X-WBNR-Posting-Host: 162.84.196.175
From: "examnotes" <DanielT@discussions.microsoft.com>
Subject: Null current.UserProfile object
Date: Wed, 8 Sep 2004 19:27:33 -0700
Lines: 14
Message-ID: <3556C389-2684-475C-B9CB-E6ACC10CB577@microsoft.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.commerceserver.userprofilemgt
NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.userprofilemgt:3129
X-Tomcat-NG: microsoft.public.commerceserver.userprofilemgt

Hello, I am using CS2002 with SP3 and FP1 on Win2003 Server.  I recently
added encryption keys to my web.config file, but all of a sudden, anonymous
user profiles can no longer be loaded.  CommerceContext.Current.UserID is
initialized correctly, but CommerceContext.Current.UserProfile is null.  If
I
try to load the Profile explicity using the UserID, I get null as well.
But
if I try to create a new UserObject profile using UserID, it says it
already
exists. This only came up after I added the keys; it's been working fine
for
weeks.  I need to use the Anonymous UserProfile for the Targeting Framework
(i.e. discounts).

Any suggestions would be much appreciated...

Thanks,
--DanielT


This posting is provided "AS IS" with no warranties, and confers no
rights.

EBusiness Server Team





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:03 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register