We are just starting a project that will see the merger of our currently live, IE8 asp classic site and new pieces of asp.net IE11. My current project is embedding an asp.net page into the IE8 site that loads an embedded power BI report.
Power BI requires IE11 and up to function properly. This page works fine with no issues when running on an IE 11 server. When I load this asp.net page in a frame of the asp classic site, we are getting "was blocked due to mime type mismatch" errors on a few scripts and style sheets from power bi.
The asp classic site is running in enterprise compatibility mode.
Is there a way to load the asp.net page in the frame and run it as IE11?
I have tried to add the following code to my web.config file.
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="X-Content-Type-Options" value="nosniff" />
</customHeaders>
</httpProtocol>
<modules runAllManagedModulesForAllRequests="true">
<remove name="TelemetryCorrelationHttpModule" />
<add name="TelemetryCorrelationHttpModule" type="Microsoft.AspNet.TelemetryCorrelation.TelemetryCorrelationHttpModule, Microsoft.AspNet.TelemetryCorrelation" preCondition="integratedMode,managedHandler" />
</modules>
</system.webServer>
as well as
<add name="X-UA-Compatible" value="IE=edge" />
I have also tried adding <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
to the top of my .cshtml view page.