Solution for Embedded web page not working on iis server
is Given Below:
In my webpage, I am doing something like this,
<object type="text/html" data="/media/examples/webpage" width="250" height="200"> </object>
It works ok in Visual Studio but when deployed on an iis server the page is not loaded and I don’t know why?
You need to add a suffix to the webpage.
If I use
data="/media/examples/webpage" , it cannot loaded.
However, it worked after set
I found out what’s wrong, I had the change the X-Frame-Options on my IIS server
Allow others to iframe my site