Sugu,
To work in IE, Just change ElevatedPermissions="Required" in
InBrowserSettings.xml
code
<InBrowserSettings>
<InBrowserSettings.SecuritySettings>
<SecuritySettings ElevatedPermissions="Required" />
<!--
</InBrowserSettings.SecuritySettings>
</InBrowserSettings>