How to disable cache in Business Connector Dynamics AX 2009 - axapta

When I try to get data from PriceDiscTable I get old data.
In this case I need to reconnect or disable cache in table properties (CacheLookup).
How can I get correct data without disabling CacheLookup property?
I tried
priceDiscTable.disableCache(true);
but problem still exist.

Try priceDiscTable.reread(). This will query the database to reread the record.

I changed code to
priceDiscTable.disableCache(true);
priceDiscTable.reread();
I restarted AOS clear all caches and *.auc files
Now it works fine

Related

Can not save transformation changes in Kentico Portal engine - errors in the console

I have a running Kentico 11 portal engine site and need to update the transformations in my navigation menu control. Something I have done many times before.
Today I went through all of the steps and the save button does not update the code. It never displays the change were saved messaging.
When I open the browser dev tools I see several errors on the page:
errors
A couple of things to check.
Is this happening in different browsers, also?
Can you save other transformations?
On this particular web part, if you select a different transformation, will that save successfully?
And, is the event log registering any errors?
Sounds like it may be a caching issue. What I'd suggest is the following:
restarting IIS
Open a private browser window and log in
attempt to make an edit to the code in question
If this does not resolve the issue, have you made any changes recently to the web.config, in particular the CMSHashstringsalt value? If so, this will cause your macros to become invalidated. You'll need to go to System > Macros > Signatures and check both boxes and resign the macros. It may take some time depending on your site but this could also help resolve your issue.

Experiencing problems with Firebase Database Console

I started a brand new project. There is no data yet.
But i'm not able to insert anything because this default: project-name= null record is missing. You can see in this video:
I'm not sure what to do:
I tried to set data using JavaScript SDK but the default permissions for read and write require authentication. SO i need to change the rules. But i can't access the rules either.
Any ideas how to solve this? Thanks:)
This is the browser's problem.
You can try to clear your browser's cache or disable browser's extensions/plugins that have access to modify all the data on the websites you visit.
Hope this helps :)

CacheLookup property in Ax 2012

I created some elements in an already existing base enum, when I open the form to enter some records and to select the values in lookup, I can't see my elements until and unless I clear the cache.
Every time I want to create a record, I have to clear the cache first.
I tried restarting client, Restarting AOS, but nothing helps.
I checked the tables Cache lookup property and its selected to Entire table. Please help in resolving the issue, do I have to change the Cache Lookup property or it can be handled through some other way???
Try to clear user cache - .auc files located on the client machine.

vTiger doesn't recognize any user

I having a problem using vTiger.
Actually i had no problems but we had to format one of our servers and as the SQL has been backup'ed i had no worries about vTiger.
Just got vTiger folder backup'ed too, but when i had my server back and put the folder of vTiger into www and restored the database i had a few errors, mostly resolved by re-configuring config.inc.php because paths had changes. But after all the configuration is done again i can't login to my vTiger. He reachs the database but does not recognize any of the users. I alway get username or password is wrong. Have anyone experienced this? Is there any possible solution?
Had a similar problem a few days ago, it turns out my cookies were corrupt (Firefox). I cleared all related cookies, problem solved. Try first using some other browser to confirm. hth.
First I would check if the db is reached and populated with your data. Try connecting from the command line.
If you are working on Windows and have changed Vtiger's path, and you are using the bundled version, MySql path changes as well, but the Windows service can still be alive on the old path: in this case you must manually cancel the service and afterwards use the "Start Vtiger" button in order to create the new service.
Second, I would turn on the php debugging as explained here. In most cases, these steps should help you.
Have you checked user_privileges folder? in that you must have 2 files for particular user. eg. your user admin having id 1 in database then you must have user_privileges/sharing_privileges_1.php and user_privileges/user_privileges_1.php file
and open user_privileges_1.php file and check username/password in that file, if it's not same with your DB then change it manually.
Try this solution and let me know if it works.

Why SOME users cannot update record through the browser?

We have a simple SQL Server database with an ASP.NET front end.
I can easily update a record from my browser.
Another person cannot: he edits the field and hits the "update" button, but the change is not propagated to the database. The old value remains. He is using Internet Explorer. I checked the database, and his change is not propagated. There is no error thrown.
He WAS able to edit in May. Today he can't. but I can.
I can even update it with the Google Chrome browser.
Any ideas why his browser can't update, but I can?
Thanks!
Check thoroughly your stored procedures and application structure, it might not be a browser issue at all. There must be some permission or user level problem in application.

Resources