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:
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.
- In Internet Explorer 8, go to Tools and select Internet Options.
- In the Internet Options screen, click the Tabs button on the General section. g
- In the Tabbed Browsing Settings screen, under the When a pop-up is encountered section, select Always open pop-up in a new tab.
- 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.
Best Solution:
- GO to Run prompt.
- Type in dcomcnfg and hit enter. The Component Services window will open.
- In the Component Services window, expand the Component Services.
- Expand Computers. You will see My Computers.
- Right click My Computers and select Properties.
- In the properties window, go to Default Properties tab.
- Change the default authentication to Connect.
- make sure the default impersonation level is Identify.
- Click Ok.
- Click Yes in the confirmation message box.
- Restart the internet explorer and load the web page again.
Simple solution worked for me.
Thank You
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!