0x800a138f - JavaScript runtime error: Unable to get property 'getRandomValues' of undefined or null reference in powerbi.js and powerbi.min.js

0

I am embedding a PowerBI report in IE using ExtJS .Net, but I am receiving the following console error:

"Unhandled exception at line 6, column 1859 in http://localhost:55020/scripts/powerbi.min.js 0x800a138f - JavaScript runtime error: Unable to get property 'getRandomValues' of undefined or null reference"

function getRandomValue() {
    // window.msCrypto for IE
    var cryptoObj = window.crypto || window.msCrypto;
    var randomValueArray = new Uint32Array(1);
    cryptoObj.getRandomValues(randomValueArray);
    return randomValueArray[0];
}

powerbi-client version 2.10.3

powerbi-embedded
asked on Stack Overflow Apr 7, 2020 by ammulu • edited Apr 7, 2020 by ammulu

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0