Skip to Content
0

SAP UI5 Error: No Access Control-Allow-Orgin

Jan 23 at 06:21 AM

33

avatar image

Hi Friends,

We have UI5 Application as FIORI Tile, UI5 contains OData Service Calls through Model Object. when we run the application, getting error "No Access Control - Allow - Orgin".

Please check the attached error and suggest on this issue.

Thanks,

Prasad.control-allow-orgin-error.png

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Irfan Gokak Jan 23 at 08:18 AM
0

Hi,

Open the Chrome in security disabled mode. run the below command in cmd. It'll work

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="D:\chrome"
Share
10 |10000 characters needed characters left characters exceeded
Lakshmi Prasad Jan 23 at 09:56 AM
0

Hi,

I have done the above step, now I am not getting "Control-allow-Origin" Error.

But now different error "Failed to load resource: the server responded with a status of 404" as attachedfailed-to-load-resouce-error.jpg

Thanks,

Prasad.


Share
10 |10000 characters needed characters left characters exceeded