2017-05-04 91 views
0

兩天回頁面導航工作正常,但突然頁面導航不是嵌入式報表發生。頁面導航在雙向電力沒有發生嵌入式報表

,當我瀏覽「Datapackage摘要」到「訂閱詳細信息」頁面沒有加載,但「訂閱詳細信息」按鈕(或鏈接)得到了highlated如下圖所示捕獲。

sample image

,並檢查了以下error..Status代碼所示IE瀏覽器的網絡選項卡:401 /未經授權

錯誤是: -

Request URL: https://df-msit-scus.analysis.windows.net/explore/explorations/1528262/cache 
Request Method: POST 
Status Code: 401/Unauthorized 
Request Headers 
Accept: application/json, text/plain,/
Accept-Encoding: gzip, deflate 
Accept-Language: en-US, en; q=0.5 
ActivityId: 0e8c0b1d-92e9-4ceb-b7e4-9f58b1b99350 
Authorization: Bearer eyJ0eXAiOiJKV.......................... 
Connection: Keep-Alive 
Content-Length: 28330 
Content-Type: application/json; charset=utf-8 
Host: df-msit-scus.analysis.windows.net 
Origin: https://msit.powerbi.com 
Referer: https://msit.powerbi.com/reportEmbed?reportId=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 
RequestId: d8021d51-7e12-4823-117c-f69004614707 
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729) 

Response Headers 
Access-Control-Allow-Credentials: true 
Access-Control-Allow-Origin: https://msit.powerbi.com 
Cache-Control: no-store, must-revalidate, no-cache 
Content-Type: application/octet-stream 
Date: Wed, 03 May 2017 11:24:40 GMT 
RequestId: d8021d51-7e12-4823-117c-f69004614707 
Server: Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0 
Strict-Transport-Security: max-age=31536000; includeSubDomains 
Transfer-Encoding: chunked 
X-Content-Type-Options: nosniff 
X-Frame-Options: deny 

請幫幫忙,如果你有任何想法。當我用

回答

0

問題得到了解決

來源:https://app.powerbi.com

instaed的

來源:https://msit.powerbi.com

需要的代碼如下

var embedUrl = "https://app.powerbi.com/reportEmbed?reportId=" + reportObj.ReportID 
var config = { 
type: 'report', 
accessToken: accessToken, 
embedUrl: embedUrl, 
id: reportObj.ReportID, 
settings: { 
filterPaneEnabled: false, 
navContentPaneEnabled: true 
} 
}; 

==== ===========================

出看跌期權:

Request URL: https://df-msit-scus-redirect.analysis.windows.net/explore/reports/xxxxxx-xxxxxx-xxxxx-xxxxxxx-xxxxx... 
Request Method: OPTIONS 
Status Code: 200/OK 
- Request Headers 
Accept: */* 
Accept-Encoding: gzip, deflate 
Access-Control-Request-Headers: activityid, requestid, authorization, accept 
Access-Control-Request-Method: GET 
Cache-Control: no-cache 
Connection: Keep-Alive 
Content-Length: 0 
Host: df-msit-scus-redirect.analysis.windows.net 
Origin: https://app.powerbi.com 
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 10.0; WOW64; Trident/7.0; .NET4.0C; .NET4.0E; .NET CLR 2.0.50727; .NET CLR 3.0.30729; .NET CLR 3.5.30729) 

- Response Headers 
Access-Control-Allow-Credentials: true 
Access-Control-Allow-Headers: activityid,requestid,authorization 
Access-Control-Allow-Origin: https://app.powerbi.com 
Access-Control-Max-Age: 300 
Content-Length: 0 
Date: Mon, 08 May 2017 10:06:37 GMT 
Server: Microsoft-HTTPAPI/2.0