Skip to main content

0x80070005 - JavaScript runtime error: Access is denied.

The error prompt looks like below pic.


Are you using HTML 5’s locaStorage or sessionStorage? If yes that is the reason for IE browser.

The solution is that go to,
                    I.            Internet Options
                  II.            Security and
                III.            Uncheck EnableProtectedMode
                IV.            Refresh your browser and try to run.

It is also happing when,

This is only in the debugger to warn you that there are problems in the script and run outside of the debugger. It is not critical and you don’t worry about this, everything is OK!.



I hope this is helpful to you! Thank you!