cors postmessage accesscontrolalloworigin
1 TopicCORS issue postMessage target origin does not match
I have a web application currently in development built in JavaScript ES6 modules using webpack (in VS Code) I am getting... Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('http://localhost:4015') does not match the recipient window's origin ('http://localhost:4010'). I have the report server as 4015 and the lite-server of dev mode is running at 4010 I have connected SQ management Studio to ReportServer and set AccessControlAllowOrigin to each of http://localhost:4010, http://localhost:4015, http://localhost and *, restarted the service but the error persists. The web application embeds an iframe element with the src attribute set to the url of the report. The report is rendered bu I interpret this as meaning the report has tried to fire some notification messages (loaded, perhaps) and failed with this message. Any ideas or help would be appreciated as I have exhausted the internet searching for a solution!8.7KViews0likes4Comments