In my asp.net application I have an iframe in which a web service is called to show some output. This is working fine in older versions of IE. But in IE11, I am getting the below error. This error is thrown in a dynamically generated file (scriptResource.axd)
Unhandled exception at line 11, column 1 in http://MyWebSite/ScriptResource.axd?d=ady7qaEs8uAFEbfp0trXZEbSkDTvXg_aXdCGa5_XOfV9_S56bbhcxaC44rfOLxuWxFA5K2TFSW3kfWFFPkhcokvYP6IVcSf0DtbAgaGnNY2UaYXFwCN1ILl-o8bi68jiXU3IrsC9abjlyPbMC0uLUxigPu4qiobiiLuuEgEb0YBfZ3DD0&t=5f9d5645
0x800a138f - JavaScript runtime error: Unable to set property '__typeName' of undefined or null reference
This works fine when the compatibility mode is set in IE11 browser. But if I remove this compatibility mode, I am getting this error.