Running SQL Monitor in an iframe

If you are using the built in webserver and want to run SQL Monitor within an iframe you will need to edit the web.config at (by default) C:\Program Files\Red Gate\SQL Monitor\WebSite\Website\Web.config.

Note: Running SQL Monitor within an iframe can be a security risk and so we do not recommend it.

This configuration change will only apply on versions of SQL Monitor 8.0.22 or greater. Older version of Monitor will always disallow running in an iframe.

You will need to add the following making sure it is between the <system.webServer> delimiters:

<system.webServer>
... <httpProtocol> <customHeaders> <add name="X-Frame-Options" value="allow-from http://urlofyourwebserver:8080/" /> </customHeaders> </httpProtocol> ... </system.webServer>

If you are using IIS you will need to edit custom headers as per Microsoft's recommendations here: https://docs.microsoft.com/en-us/iis/configuration/system.webserver/httpprotocol/customheaders/.

Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request