Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
DotNet
acad.assignment.mngr
academic
adonet
aspnet
aspnet.announcements
aspnet.build.controls
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
clr
compactframework
component_services
datatools
distributed_apps
drawing
faqs
framework
framework.wmi
general
internationalization
interop
languages.csharp
languages.jscript
languages.vb
languages.vb.controls
languages.vb.data
languages.vb.upgrade
languages.vc
languages.vc.libraries
myservices
odbcnet
performance
remoting
scripting
sdk
security
setup
vjsharp
vsa
webservi.enhancements
webservices
windowsforms
windowsforms.controls
winforms.databinding
winforms.designtime
xml
  
 
date: Thu, 21 Aug 2008 13:18:38 +0100,    group: microsoft.public.dotnet.framework.aspnet        back       


Profile Save not working   
Hi there,

I have a web site, with a web service in folder within the website. 
Everything works as I would expect it to.  I have just added some 
functionality to the web service that accesses a user profile and then 
updates one of the settings then saves the profile.  No exceptions occur 
during this process and as far as I can see it all completes as expected. 
Unfortunately the setting remains at its previous value.

I'm use an almost identical piece of code within the website itself which 
does update the value.  At the time the update is made the user is already 
logged into the system but the web service is invoked externally via a 
client based application.  Any ideas why the profile won't update?

Many thanks in advance for your time and advice.

Nick.
date: Thu, 21 Aug 2008 13:18:38 +0100   author:   Nick

Re: Profile Save not working   
Aaaahhh on further investigation, it does save the value.  It just doesn't 
update unless I reset IIS for some reason...

"Nick"  wrote in message 
news:Ob8dKg4AJHA.1396@TK2MSFTNGP05.phx.gbl...
> Hi there,
>
> I have a web site, with a web service in folder within the website. 
> Everything works as I would expect it to.  I have just added some 
> functionality to the web service that accesses a user profile and then 
> updates one of the settings then saves the profile.  No exceptions occur 
> during this process and as far as I can see it all completes as expected. 
> Unfortunately the setting remains at its previous value.
>
> I'm use an almost identical piece of code within the website itself which 
> does update the value.  At the time the update is made the user is already 
> logged into the system but the web service is invoked externally via a 
> client based application.  Any ideas why the profile won't update?
>
> Many thanks in advance for your time and advice.
>
> Nick.
>
date: Thu, 21 Aug 2008 14:08:28 +0100   author:   Nick

Re: Profile Save not working   
Okay doh! The problem was caused by caching of the profile to save time from 
repeat reloading.

"Nick"  wrote in message 
news:%23imUA84AJHA.4040@TK2MSFTNGP06.phx.gbl...
> Aaaahhh on further investigation, it does save the value.  It just doesn't 
> update unless I reset IIS for some reason...
>
> "Nick"  wrote in message 
> news:Ob8dKg4AJHA.1396@TK2MSFTNGP05.phx.gbl...
>> Hi there,
>>
>> I have a web site, with a web service in folder within the website. 
>> Everything works as I would expect it to.  I have just added some 
>> functionality to the web service that accesses a user profile and then 
>> updates one of the settings then saves the profile.  No exceptions occur 
>> during this process and as far as I can see it all completes as expected. 
>> Unfortunately the setting remains at its previous value.
>>
>> I'm use an almost identical piece of code within the website itself which 
>> does update the value.  At the time the update is made the user is 
>> already logged into the system but the web service is invoked externally 
>> via a client based application.  Any ideas why the profile won't update?
>>
>> Many thanks in advance for your time and advice.
>>
>> Nick.
>>
>
>
date: Thu, 21 Aug 2008 14:18:23 +0100   author:   Nick

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us