Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Cross-Origin Request Blocked on OlapXmlaDataSource
posted

Hello.

I am having issues with Cross-Origin Request.  msmdpump.dll/IIS7  works great with excel or SSMS.   SSAS server resides in different server

but getting "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost/olap/msmdpump.dll. This can be fixed by moving the resource to the same domain or enabling CORS."  with FireFox.

I have performed CORS http://help.infragistics.com/Help/Doc/jQuery/2013.1/CLR4.0/html/igOlapXmlaDataSource_Configuring_IIS_for_Cross_Domain_OLAP_Data.html

Also, if I want to let user choose cube, rows, columns, measure, I can leave them blank ?

Here are my code.   Thanks


<script>
$.support.cors = true;

$(function () {
var dataSource = new $.ig.OlapXmlaDataSource({
serverUrl: 'http://localhost/olap/msmdpump.dll',
catalog: 'OLAP_OrbitzLeisure',
});

$('#dataSelector').igPivotDataSelector({
dataSource: dataSource,
height: "650px",
width: "240px"
});
$("#pivotGrid").igPivotGrid({
dataSource: dataSource,
height: "650px",
width: "670px"
});
});
</script>


Parents Reply Children
No Data