Hi All,
We have a NSQL Web Service is being called from SharePoint html page using XMLHttpRequest.
It is working fine in the Internet Explorer but while accessing in Chrome we are getting below error:
Error:
Access to XMLHttpRequest at 'https://ClarityURL/' from origin 'https://SharePointURL' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource
on Clarity box..
We have included SharePoint url in CORS_ALLOW_ORIGIN and CORS_ALLOW_SUBDOMAINS is true.
Could you please suggest how can I resolve this..
Thanks
Giri