cancel
Showing results for 
Search instead for 
Did you mean: 

[Power BI Server] Custom visuals not showing

Hello,

I'm having some troubles rendering not-default Power BI controls.

 

The symptoms are, in some PCs, some custom/downloaded controls (like Timeline or Horizontal Bar Char) doesn't show. It gap is empty.

 

Searching in the RSPowerBI log i see the following exception:

2018-04-10 12:50:26.2266|ERROR|40|INDRA\cncolomer 10.22.241.253: GET /api/explore/customvisuals/4c948b30-4030-4e78-891b-a29fd62c857a/Timeline1447991079100.Timeline1447991079100.pbiviz.json - 0:00:09,9382406 System.Net.HttpListenerException: The I/O operation has been aborted because of either a thread exit or an application request

 

The full stack trace:

Spoiler
2018-04-10 12:50:16.2889|INFO|401|CFG : EnableCustomVisuals = [True] (env) 2018-04-10 12:50:26.1798|ERROR|338|INDRA\cncolomer 10.22.241.253: GET /api/explore/customvisuals/4c948b30-4030-4e78-891b-a29fd62c857a/BarChartF5983CEA542C47889C9DE852B430DE5F.BarChartF5983CEA542C47889C9DE852B430DE5F.pbiviz.json - 0:00:09,9639737 Exception: System.IO.IOException ---> System.Net.HttpListenerException: The I/O operation has been aborted because of either a thread exit or an application request at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult) at System.IO.Stream.b__17(Stream stream, IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.d__6.MoveNext() --- End of inner exception stack trace --- at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Owin.Common.Middleware.ResponseCompressionMiddleware.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Owin.Common.Middleware.RequestLoggingMiddleWare.d__2.MoveNext()| RequestID = 7bf910b5-d64e-cfff-97a9-ca04e3f24e69 ClientSessionID = 50bf229f-7217-0efd-4d50-9daf8b664cab 2018-04-10 12:50:26.1798|ERROR|338|Unhandled Exception in the owin pipeline ExceptionSystem.IO.IOException ---> System.Net.HttpListenerException: The I/O operation has been aborted because of either a thread exit or an application request at System.Net.HttpResponseStream.EndWrite(IAsyncResult asyncResult) at System.IO.Stream.b__17(Stream stream, IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncTrimPromise`1.Complete(TInstance thisRef, Func`3 endMethod, IAsyncResult asyncResult, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.d__6.MoveNext() --- End of inner exception stack trace --- at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Owin.Common.Middleware.ResponseCompressionMiddleware.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Owin.Common.Middleware.RequestLoggingMiddleWare.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Owin.Common.Middleware.RequestThrottlingMiddleware.d__6.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Owin.Common.Middleware.RequestThrottlingMiddleware.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Telemetry.Services.TelemetryService.d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Telemetry.Helpers.TelemetryMiddleware.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Microsoft.BIServer.Owin.Common.Middleware.GlobalExceptionHandlerMiddleware.d__0.MoveNext()

 

Thanks you

Status: Needs Info
Comments
Community Support

Hi @mgsalinero,

 

>>"The symptoms are, in some PCs, some custom/downloaded controls (like Timeline or Horizontal Bar Char) doesn't show."

 

Do you mean the same works fine on some machine? Please check if there is any difference between these machines or browsers. 

 

I have tested on my side with the latest Power BI report server version, the custom visuals Timeline slicer and Horizontal bar chart display fine on web portal. Please try to upgrade your Power BI report server if possible.  

 

q3.PNG

 

 

Best Regards,
Qiuyun Yu 

 

 

Impactful Individual
Status changed to: Needs Info
 
Regular Visitor

Hi,

first of all, thanks for your answer.

 

Do you mean the same works fine on some machine? Please check if there is any difference between these machines or browsers. 

Yes, for example, in my machine the custom visuals works fine. Some machines it works and some it doesn't. 

The browser version is the same (Chrome and IE).

 

In my machine, when the report is loading, the spinner is showing above the control. However, in the "bad" machines, the spinner is not showing.

 

I have tried to deleting browser chaches and reuploading the report. This last (reuploading) sometimes works. For example, in a machine that a report doesn't show this controls, after reuploading, now it works.

 

Restarting the server does not works. I was thinking about that was a permissions problem, but another user has administrator premissions like me and it doesn't works for him.

 

I cheked if some JavaScript errors was thrown in the report, but the console doesn't show anything. 

A browser version could throw a server exception?

 

I have the las versión of PowerBI server (15.0.2.389).

 

Chrome version: 65.0.3325.181

IE version: 11.0.9600.18920

 

I will check if the liked data of the report could cause the exception. May be the data managed by the control could cause an exception?

 

Thanks you

Best regards

Regular Visitor

Hi, 

I have more information. If I enable the browser console in debug mode, I can see the following lines:

XHR failed loading: GET "https://pbitgp.indra.es/powerbi/api/explore/customvisuals/93d584c7-c4cd-405b-ad82-abf0bdfbda2d/BarCh...".

 

I thing that this line is the problem, because is referring to "BarChart" custom control (that is not showing), and de URL isn't right.

 

 

Could be a network problem to "pbitgp.indra.es/powerbi" path?

 

Thanks, regards

Regular Visitor

Full console trace:

Spoiler
XHR failed loading: GET "https://pbitgp.indra.es/powerbi/api/explore/customvisuals/93d584c7-c4cd-405b-ad82-abf0bdfbda2d/BarCh...".
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:114
n @ powerbiportal.dependencies.externals.bundle.js:110
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:107
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:142
$eval @ powerbiportal.dependencies.externals.bundle.js:156
$digest @ powerbiportal.dependencies.externals.bundle.js:153
$apply @ powerbiportal.dependencies.externals.bundle.js:157
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:170
e @ powerbiportal.dependencies.externals.bundle.js:55
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:58
setTimeout (async)
k.defer @ powerbiportal.dependencies.externals.bundle.js:58
f @ powerbiportal.dependencies.externals.bundle.js:170
t.loadExploration @ powerbireportserverhost.bundle.js:70
(anonymous) @ powerbireportserverhost.bundle.js:70
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:142
$eval @ powerbiportal.dependencies.externals.bundle.js:156
$digest @ powerbiportal.dependencies.externals.bundle.js:153
$apply @ powerbiportal.dependencies.externals.bundle.js:157
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:149
e @ powerbiportal.dependencies.externals.bundle.js:55
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:58
setTimeout (async)
k.defer @ powerbiportal.dependencies.externals.bundle.js:58
s @ powerbiportal.dependencies.externals.bundle.js:149
$applyAsync @ powerbiportal.dependencies.externals.bundle.js:157
l @ powerbiportal.dependencies.externals.bundle.js:108
D @ powerbiportal.dependencies.externals.bundle.js:113
w.onload @ powerbiportal.dependencies.externals.bundle.js:114
load (async)
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:113
n @ powerbiportal.dependencies.externals.bundle.js:110
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:107
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:142
$eval @ powerbiportal.dependencies.externals.bundle.js:156
$digest @ powerbiportal.dependencies.externals.bundle.js:153
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:156
e @ powerbiportal.dependencies.externals.bundle.js:55
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:58
setTimeout (async)
k.defer @ powerbiportal.dependencies.externals.bundle.js:58
$evalAsync @ powerbiportal.dependencies.externals.bundle.js:156
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:141
e @ powerbiportal.dependencies.externals.bundle.js:141
$$resolve @ powerbiportal.dependencies.externals.bundle.js:144
resolve @ powerbiportal.dependencies.externals.bundle.js:143
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:141
(anonymous) @ powerbiportal.dependencies.bundle.js:16
(anonymous) @ powerbiportal.dependencies.bundle.js:16
execCb @ powerbiportal.dependencies.externals.bundle.js:1238
check @ powerbiportal.dependencies.externals.bundle.js:1238
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:1238
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:1238
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:1238
each @ powerbiportal.dependencies.externals.bundle.js:1238
emit @ powerbiportal.dependencies.externals.bundle.js:1238
check @ powerbiportal.dependencies.externals.bundle.js:1238
enable @ powerbiportal.dependencies.externals.bundle.js:1238
init @ powerbiportal.dependencies.externals.bundle.js:1238
h @ powerbiportal.dependencies.externals.bundle.js:1238
completeLoad @ powerbiportal.dependencies.externals.bundle.js:1238
onScriptLoad @ powerbiportal.dependencies.externals.bundle.js:1238
load (async)
req.load @ powerbiportal.dependencies.externals.bundle.js:1238
load @ powerbiportal.dependencies.externals.bundle.js:1238
load @ powerbiportal.dependencies.externals.bundle.js:1238
fetch @ powerbiportal.dependencies.externals.bundle.js:1238
check @ powerbiportal.dependencies.externals.bundle.js:1238
enable @ powerbiportal.dependencies.externals.bundle.js:1238
enable @ powerbiportal.dependencies.externals.bundle.js:1238
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:1238
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:1238
each @ powerbiportal.dependencies.externals.bundle.js:1238
enable @ powerbiportal.dependencies.externals.bundle.js:1238
init @ powerbiportal.dependencies.externals.bundle.js:1238
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:1238
setTimeout (async)
req.nextTick @ powerbiportal.dependencies.externals.bundle.js:1238
o @ powerbiportal.dependencies.externals.bundle.js:1238
requirejs @ powerbiportal.dependencies.externals.bundle.js:1238
r @ powerbiportal.dependencies.bundle.js:16
l @ powerbiportal.dependencies.bundle.js:16
e.require @ powerbiportal.dependencies.bundle.js:16
loadModule @ powerbiportal.common.bundle.js:17
invoke @ powerbiportal.dependencies.externals.bundle.js:52
k @ powerbiportal.dependencies.externals.bundle.js:885
j @ powerbiportal.dependencies.externals.bundle.js:885
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:885
resolve @ powerbiportal.dependencies.externals.bundle.js:885
v @ powerbiportal.dependencies.externals.bundle.js:885
z.transitionTo @ powerbiportal.dependencies.externals.bundle.js:885
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:885
invoke @ powerbiportal.dependencies.externals.bundle.js:52
g @ powerbiportal.dependencies.externals.bundle.js:885
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:885
b @ powerbiportal.dependencies.externals.bundle.js:885
n @ powerbiportal.dependencies.externals.bundle.js:885
$broadcast @ powerbiportal.dependencies.externals.bundle.js:159
k @ powerbiportal.dependencies.externals.bundle.js:125
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:128
$eval @ powerbiportal.dependencies.externals.bundle.js:156
$digest @ powerbiportal.dependencies.externals.bundle.js:153
$apply @ powerbiportal.dependencies.externals.bundle.js:157
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:31
invoke @ powerbiportal.dependencies.externals.bundle.js:52
c @ powerbiportal.dependencies.externals.bundle.js:31
Ic @ powerbiportal.dependencies.externals.bundle.js:31
ue @ powerbiportal.dependencies.externals.bundle.js:30
(anonymous) @ powerbiportal.dependencies.externals.bundle.js:332
i @ powerbiportal.dependencies.externals.bundle.js:8
fireWith @ powerbiportal.dependencies.externals.bundle.js:8
ready @ powerbiportal.dependencies.externals.bundle.js:8
J @ powerbiportal.dependencies.externals.bundle.js:8
Regular Visitor

I will post some more information. The Power BI Portal is downloading all time the same "customvisuals" information, but allways give "XHR failed loading". This is very strange because this only happen in a slow connection (WiFi). However, the "customvisuals" jsons are downloading correctly.

 

Im attaching the secuence:

Captura.PNGCaptura2.PNG

Community Support

Hi @mgsalinero,

 

Thanks for your detail information. Does the issue disappear if these issued machine connect to the fast network? 

 

Best Regards,
Qiuyun Yu 

Regular Visitor

Hi @v-qiuyu-msft

 

Thanks for your help. 

In my PC and building, when I'am connected throught LAN cable it works. But it doesn thought WiFi. However, in other buildings (with other network), doesnt matter if they are connected throught  WiFi or LAN cable, it doesnt works.

 

I think yes, when the network connection is pretty slow, the customvisuals gave XHR Failed loading. 

 

Another thing, some times, when the customvisuals give "XHR Failed loading" but, after some tryes, it finally load the customvisuals json. But its very strange, because, all the times, the JSONs give HTTP code 200. Its like the ajax that loads the json has a tinny timeout and when it pass the timeout, the JSON isnt loaded anymore.

 

Thanks for all ^^

Best regards,

Mario García