Error: Cannot create a stable subkey under a volatile parent key

Hi,

I am getting below error in javascript in IE 11 on Windows 7.

Error: Cannot create a stable subkey under a volatile parent key.

        if (window.localStorage.getItem('toCurrencyCode') == null || window.localStorage.getItem('toCurrencyCode') == 'undefined' || window.localStorage.getItem('toCurrencyCode') == '') {
            dataLayer.push({ 'chosenCurrencyCode': defaultCurrencyConversionCode });


My understanding is coming that javascript is not able to read window.localStorage.getItem on IE 11 on windows 7.

The script is working on chrome, firefox, IE11 on windows 10

Also, script is working on chrome on windows 7.

It is only giving issue in IE11 on windows 7.

Please advise.
Dinesh BaliAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul NeralichBusiness OwnerCommented:
If you compare the IE11 settings in both environments (Win7 and Win10), is there a difference with regard to the security zones? Is Protected Mode enabled on both?
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ste5anSenior DeveloperCommented:
The error message itself is caused by the Windows registry. Is your Windows 7 and IE11 properly patched?

Imho the error is caused in dataLayer.push(), which seems to be a custom method.
0
Dinesh BaliAuthor Commented:
Thanks.
 Restoring IE to default setting helped.

Regards
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.