Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, June 28, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: 7.5.4 and the new Cache Server
Shawn Lawsure
Posts: 18
 
7.5.4 and the new Cache ServerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Oct 11 7:23 AM
fiogf49gjkf0d

We are in the process of upgrading the web client from 7.5.3 to 7.5.4.  At the same time we are implementing our own, custom-made account/contact merge functionality.  I am noticing that any field values that are brought over from the source account to the target account still show the target account values even though the database has been updated correctly.  The web client doesn't get updated until I reset IIS on the server.  I am guessing that this has something to do with caching (either with NHibernate or the new Cache Server) and the fact that I am not using the SalesLogix entities or NHibernate for the actual merge.  Anyone run into this or have any ideas on how I can resolve this?  Thanks. 

[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: 7.5.4 and the new Cache ServerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 23 Oct 11 3:02 PM
fiogf49gjkf0d

We're having trouble with the Cache Server and customizations in the new SLX Mobile portal.......had to turn off the Caching Service (and it specifically is caching NHibernate stuff). Customizations work fine.....Jeff H. looking into this....


 


We're not having trouble with 7.5.4 withOUT the caching service installed/on.


 


Bottom line (while we wait for SLX to come up with an exact reason why Caching service is 'gumming up' the works).....turn it off......

[Reply][Quote]
Nick Hollis
Posts: 549
Top 10 forum poster: 549 posts
 
Re: 7.5.4 and the new Cache ServerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Oct 11 4:58 AM
fiogf49gjkf0d

Quote:
Originally posted by Shawn Lawsure


We are in the process of upgrading the web client from 7.5.3 to 7.5.4.  At the same time we are implementing our own, custom-made account/contact merge functionality.  I am noticing that any field values that are brought over from the source account to the target account still show the target account values even though the database has been updated correctly.  The web client doesn't get updated until I reset IIS on the server.  I am guessing that this has something to do with caching (either with NHibernate or the new Cache Server) and the fact that I am not using the SalesLogix entities or NHibernate for the actual merge.  Anyone run into this or have any ideas on how I can resolve this?  Thanks. 



If you are not using Nhibernate/Entity Model you will get this problem regardless of the Cache Server. Nhibernate has caching mechanisms built in and you neded to to tell it if you update values it is looking at. I have had problems going to back to version 7.2 (i.e. before cache server) which have been a problem. You should only use direct SQL (I assume you using direct SQL in your customisations) to 'read' from the database, although Nhibernate should be used even for read operations as you can benefit from those mentioned cahcing mechanisms.


Thanks,


Nick


 

[Reply][Quote]
Shawn Lawsure
Posts: 18
 
Re: 7.5.4 and the new Cache ServerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Oct 11 6:58 AM
fiogf49gjkf0d

Thanks Nick.  I implemented an easy (albeit with a slight performance hit) workaround whereby, after perfomining the merge, I load the entity (Account or Contact), update one of the fields (modified date), and save it using the IPersistentEntity interface.  This, obviously, updates the cache.

[Reply][Quote]
Mike LaSpina
Posts: 116
 
Re: 7.5.4 and the new Cache ServerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Oct 11 3:16 PM
fiogf49gjkf0d

An easier way to re-set cached entities is to issue an evict.  For example:


   Sage.Entity.Interfaces.IAccount a = this.BindingSource.Current as Sage.Entity.Interfaces.IAccount;
   Sage.Platform.EntityFactory.Evict<Sage.Entity.Interfaces.IAccount>(a.Id);


This will invalidate the cache and force the given entity to be re-loaded from the db the next time it is accessed.

[Reply][Quote]
Shawn Lawsure
Posts: 18
 
Re: 7.5.4 and the new Cache ServerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 May 12 7:27 AM
fiogf49gjkf0d

Can someone tell me how to turn off memcache? When I remove the pertinent lines from the web.config I get an error when trying to log in.

[Reply][Quote]
Mike LaSpina
Posts: 116
 
Re: 7.5.4 and the new Cache ServerYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 May 12 11:06 AM
fiogf49gjkf0d

You can simply stop the service.  If not founf, SLX reverts to caching nHibernate data in the session.  You will see a lot of noise in the event log when you stop this service, but everythign should work just fine.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 6/28/2025 12:24:48 AM