How to resolve this issue. Earlier my code was working, but IE settings were reseted by someone. Now I am getting this exception.
Started InternetExplorerDri
This can work out of the box without the desired capability settings. Go to internet options>>Security, click on:'Reset all zones to default level and after that, ensure that the 'Enable protected mode' checkbox is ticked for all the four zones.