Monday, August 13, 2018

Realtime service application pool goes down with error "ValueFactory attempted to access the Value property of this instance" in AX 2012 R3 Retail Online Channel

ISSUE:-
We are setting up new servers for our client and they are using AX 2012 R3 Retail Online store front. here we have issue with Realtime service where Realtime service pool automatically going down or not reachable. when ever you make Realtime service call from store front then it will not return any results and below error will be recorded in Realtime Service Server.
- <System>
<Provider Name="Microsoft Dynamics AX Retail : Real time Service RealTimeServices" />
<EventID Qualifiers="0">1</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2018-08-01T07:44:30.000000000Z" />
<EventRecordID>45284</EventRecordID>
<Channel>Application</Channel>
<Computer>dtxprodax03.int.deltaco.se</Computer>
<Security />
</System>
- <EventData>
<Data>Exception occured: [8/1/2018 7:44:30 AM][5246da1c-92ce-409e-9ab5-78ebbe96769a] ValueFactory attempted to access the Value property of this instance.</Data>
</EventData>
</Event>

I don’t see any issues with Realtime service and when you go and check Realtime service then it will be up and running. Again if you recycle or restart Realtime service then again it will start working.

Looking at the error message I don’t see any clue what is causing the issue and when it does down as the error logs only when you call Realtime service from storefront. Till that time no error will be logged in event viewer.
In a day it will go down once or twice remaining all the time it will just working fine.
Resolution:- 
After verifying all the settings, done following changes in RealTime service application pool then its working fine.
1. Idle timeout i have changed it to zero it was 20 min by default for RealTime service application pool 
2. Recycling I have unchecked , just to make sure it should not recycle anytime.

Hope this helps!


No comments:

Post a Comment