ProfileService
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 > ProfileService




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

    ProfileService  
Maria Jensen


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


 
10-25-04 12:48 PM

Hi there,

I'm currently running Commerce Server 2000 (hope someone's out there who
still remembers this version).

I have a test environment and a production environment who are exactly
alike, except that their databases is placed on different servers. My
production environment works as it should but whenever I try to use use the
ProfileService on the test environment I get an error.

GetProfile(myEmailAddress, "UserObject") returns the following error: Object
Required. I can call GetProfile(myEmailAddress, "UserObject", False) and
then I don't get an error. But the userobject is nothing even though I know
my user is in the database.

Any help is appreciated.

:-) Maria







[ Post a follow-up to this message ]



    RE: ProfileService  
David Hargis [MSFT]


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


 
11-16-04 10:47 PM

Hi Maria,

There isn't enough information here to know what is going on.  When and how
is the ProfileService being initialized?  Is GetProfile being called
directly on the ProfileService, or is this a wrapper method that you've
implemented?  Have you verified that your connection strings for the
profiles resource are correct in the production environment?  Do you have
any call stack of the exception that is occuring?

Withouat any additional information, I'd only be guessing at the problem.
But the two behaviors you are describing below are expected.  If you call
with 'false' as the 3rd parameter, the method will return NULL.  If you
call with 'true' (the default), you will get an exception.

Thanks,
David
--------------------
From: "Maria Jensen" <nesnejairam@hotmail.com>
Subject: ProfileService
Date: Mon, 25 Oct 2004 14:44:38 +0200
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.3790.181
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Message-ID: <eeatlBpuEHA.684@TK2MSFTNGP10.phx.gbl>
Newsgroups: microsoft.public.commerceserver.userprofilemgt
NNTP-Posting-Host: cpe.atm2-0-1071164.0x50a08bb2.albnxx12.customer.tele.dk
80.160.139.178
Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP10.phx.gbl
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.userprofilemgt:3172
X-Tomcat-NG: microsoft.public.commerceserver.userprofilemgt

Hi there,

I'm currently running Commerce Server 2000 (hope someone's out there who
still remembers this version).

I have a test environment and a production environment who are exactly
alike, except that their databases is placed on different servers. My
production environment works as it should but whenever I try to use use the
ProfileService on the test environment I get an error.

GetProfile(myEmailAddress, "UserObject") returns the following error: Object
Required. I can call GetProfile(myEmailAddress, "UserObject", False) and
then I don't get an error. But the userobject is nothing even though I know
my user is in the database.

Any help is appreciated.

:-) Maria




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 12:55 PM.      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