Hello, Welcome to my blog. If you like feel free to refer others

Thursday, 28 February 2013

Getting Access Denied error when using XMLHttpRequest in javascript on IE

This error could happen due to cross domain issue, use relative path in Server Url if using absolute, also you may try changing Internet Explorer Trusted Site Zones settings (Internet Explorer Options->Security-> Trusted Sites (if your Url added into Trusted Sites, if added into Local intranet then choose Local Intranet) -> Custom Level) , scroll down and change Access data sources across domains value to Enable

If the above does not solve problem then you may deploy clientaccesspolicy and crossdomainpolict xml to resolve the issue:http://msdn.microsoft.com/en-us/library/cc197955(v=vs.95).aspx

 Happy Learning.....