Fix No Access-Control-Allow-Origin header is present on the requested resource

Miscellaneous questions and troubleshooting
The browser is blocking a cross-domain request as it usually allows a request in the same origin for security reasons. 
You can simply add the following code in your web.config file of remote site when you want to do a cross-domain request.
 
<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <system.webServer>
        <httpProtocol>
            <customHeaders>
                <add name="Access-Control-Allow-Origin" value="*" />
            </customHeaders>
        </httpProtocol>
    </system.webServer>
</configuration>