function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
business Identitybusiness Identity 

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://c.ap1.visual.force.com' is therefore not allowed access.

Hello People,

No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://c.ap1.visual.force.com' is therefore not allowed access.

I am getting this above message in the debug console when I click on a link that redirects to another VF page. A little help here..

Thanks.
BalajiRanganathanBalajiRanganathan
Try using relative url. The error is due to Cross Domain Request.

If you are alredy using relative url then the following post might help

http://salesforce.stackexchange.com/questions/51193/xmlhttprequest-cannot-load-no-access-control-allow-origin-is-present