Friday, September 19, 2014

SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied

Original Post

SCRIPT7002: XMLHttpRequest: Network Error 0x80070005, Access is denied.

Environment:
IIS-7
PHP

In our one of client site we are facing above issue. To encounter above issue we modify our web config file as mentioned below.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
 <system.webServer>
   <httpProtocol>
     <customHeaders>
       <add name="Access-Control-Allow-Origin" value="*" />
     </customHeaders>
   </httpProtocol>
 </system.webServer>
</configuration>



Download Web.Config File

Article Source

SEC7120: Origin not found in Access-Control-Allow-Origin header

Original Post

Error: SEC7120: Origin not found in Access-Control-Allow-Origin header

Environment:
IIS-7
PHP

In our one of client site we are facing above issue. To encounter above issue we modify our web config file as mentioned below.

<?xml version="1.0" encoding="utf-8"?>
<configuration>
 <system.webServer>
   <httpProtocol>
     <customHeaders>
       <add name="Access-Control-Allow-Origin" value="*" />
     </customHeaders>
   </httpProtocol>
 </system.webServer>
</configuration>


Download Web.config

Original Post