IE8: Simple Solution for: Cannot open an anonymous level security token.

I got an error (Cannot open an anonymous level security token) in In Internet Explorer 8 when the web page was trying to open a new window with the windows.open java script code. To see the real error message, I have to enable the option Display a notification about every script error in the Internet Options screen under Advanced tab. The error looks like this:

IE8-Error-Cannot-Open-Anonymus-Security-Token-01
IE8 Error: Cannot open an anonymous level security token.

On searching the web for solution, I found several forums recommending to change  the DCOM Default Authentication Level to Connect. For a computer savvy person, this solution will be good. But for a common person, changing the settings on DCOM will be difficult and sometimes risky.

On investigating further, I found a simple solution. I’m providing both the simple and the best solution you.

Simple Solution:

The simple solution for this error is to set the IE8 to open the pop-up window, always in a new tab. Follow the below steps to do the settings.

  1. In Internet Explorer 8, go to Tools and select Internet Options.
  2. In the Internet Options screen, click the Tabs button on the General section. g 
  3. In the Tabbed Browsing Settings screen, under the  When a pop-up is encountered section, select Always open pop-up in a new tab.
  4. If you have multiple logins in the computer, then the above step has to be repeated in each login. If you want to avoid doing this on each log in, then try the other solution given below.

IE8-Error-Cannot-Open-Anonymus-Security-Token-04

Best Solution:

  1. GO to Run prompt.
  2. Type in dcomcnfg and hit enter. The Component Services window will open.
  3. In the Component Services window, expand the Component Services.
  4. Expand Computers. You will see My Computers.
  5. Right click My Computers and select Properties.
  6. In the properties window, go to Default Properties tab.
  7. Change the default authentication to Connect.
  8. make sure the default impersonation level is Identify.
  9. Click Ok.
  10. Click Yes in the confirmation message box.
  11. Restart the internet explorer and load the web page again.

IE8-Error-Cannot-Open-Anonymus-Security-Token-03

 


2 thoughts on “IE8: Simple Solution for: Cannot open an anonymous level security token.”

  1. The ‘Best Solution’ worked great for my client. The Simple did not work at all. If you are unsuccessful with the simple, use the other method.

    Thank you for posting this!

    Reply

Leave your thoughts...

This site uses Akismet to reduce spam. Learn how your comment data is processed.