User71929859 posted
Yes, I own both sites. I need to call another site(xyz.com) from iframe of first site(abc.com).
Then you can set the X-Frame-Options in your xyz.com site.
Go to the web.config in your xyz.com web application and add the below
<httpProtocol>
<customHeaders>
<add name="X-Frame-Options" value="allow-from http://abc.com" />
</customHeaders>
</httpProtocol>
Insert the above code in between <system.webServer> tags.