call_de_amberlamps
call_de_amberlamps

Reputation: 419

IE9 throws the error: 'Error: An internal error occurred in the Microsoft Internet extensions' when running angular app

I'm getting the error in IE9 when loading my app: 

Error: An internal error occurred in the Microsoft Internet extensions Error: Access is denied.

When I debug in IE's dev tools, it points to code regarding localStorage.

if (localStorage) {
  // some code
} else {
  // some code
}

I'm not sure whether this is an angular-IE issue, or if it's just IE related. Thanks in advance!

Upvotes: 4

Views: 2434

Answers (1)

edwh
edwh

Reputation: 58

Are you running your app locally? IE9 doesn't support local storage for local files.

There's lots of further explanations from this question: local storage in IE9 fails when the website is accessed directly from the file system

Upvotes: 1

Related Questions