cancel
Showing results for 
Search instead for 
Did you mean: 

XMLHttpRequest cannot load

Former Member
0 Kudos

Hi all iam new to sap ui5

when iam checking output the page goes blank and checked in chrome it shows this errors please help out with me

XMLHttpRequest cannot load file:///C:/Nwds/Epalika/WebContent/epalika/header.view.js. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.

NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'file:///C:/Nwds/smp/WebContent/smp/header.view.js'.

Accepted Solutions (0)

Answers (1)

Answers (1)

jamie_cawley
Advisor
Advisor
0 Kudos

It looks like you are trying to test your pages with windows explorer.  When you are testing the pages you will need to load them with a web server "http://localhost" and all paths of you app should respect this.

Regards,

Jamie

SAP - Technology RIG