service needs a restart to get new object?

wakestar
Member Posts: 207
Hi there
We are developing in nav 2009 r2 classic. Sometimes it happens that we have to restart the nav server because it's still using the old (.net) objects. That means that the changes made are not available in RTC ... but in Classic Client it works... so you never know ... is it because the RTC has an old object... or did we code something which is not working correctly with RTC.
Any experience?
We are developing in nav 2009 r2 classic. Sometimes it happens that we have to restart the nav server because it's still using the old (.net) objects. That means that the changes made are not available in RTC ... but in Classic Client it works... so you never know ... is it because the RTC has an old object... or did we code something which is not working correctly with RTC.
Any experience?
0
Comments
-
I can't test it in the moment but have you tried to set the MetadataProviderCacheSize to 0 ?
You can find it in your CustomSettings.config from the service tier.
<!--
Sets the Metadata Provider cache size (in number in objects cached).
Set to 0 to disable cache.
-->
<add key="MetadataProviderCacheSize" value="150"></add>
At the moment I can't confirm if it works. When you can test it please let us know if it works.
Regards,
egnaz0 -
Yes it works but what's the reason for this?
Setting the cache size to 0 causes bad performance0 -
To set the cache to 0 is only useful in development phase. It's the same like the old "Object Cache" in C/Side Client. Without cache the client is forced to get the object right from the server and not from local cache. So performance is bad but you can be sure that the object is the latest version from the server.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions