custom visualization
3 TopicsError with custom visualization
Hello, I have an error when I try to open a report containing a custom visualization. The visualisation comes from AppSource (It is the sankey chart from MS) : Using it on PowerBI Desktop works well, but when I upload this to my inhouse Power BI report server, I'm getting following error : Une erreur inattendue s'est produite Une erreur inattendue s'est produite. Réessayez plus tard. Réessayez plus tard ou contactez le support. Si vous contactez le support, fournissez ces informations. Nous n'avons pas pu nous connecter au serveur Analysis Services. Vérifiez que vous avez entré correctement la chaîne de connexion.: ID de demande: fb4bf40a-3fbc-b2d6-e84c-f08ea82f8e0a Heure: Mon Apr 14 2025 12:17:39 GMT+0200 (heure d’été d’Europe centrale) Version du service: /powerbi/libs Any idea what could be wrong. Do I need to add the visual to the server? Thank youSolved1.7KViews0likes6CommentsPower BI On Premise Report Server X-Frame-Options
Hi, We are trying to access parent HTML elements using Custom Visualization but cannot access them because X-Frame-Options security. We tried to add Content-Security-Policy in the web config file available at the following location, but it is not working any suggestion. C:\Program Files\Microsoft Power BI Report Server\PBIRS\ReportServer2.8KViews0likes2CommentsError ehile rndering the report. Cannot read property 'accept' of undefined
Hi, We are struggling with the below power BI error (An error occurred while rendering the report.Cannot read property 'accept' of undefined) There is a custom visual being used in the report. But we are not sure if this is reason. Power BI doesnt allow to save / do any changes in the report now. We have tried: Removing the custiom visualization , Deleting particular page in the report, clearing cache. It didnt help. Can anyone help? Feedback Type: Frown (Error) Error Message: An error occurred while rendering the report. Stack Trace: (at TypeError: Cannot read property 'accept' of undefined at Function.QueryExpressionBuilder.createNamed (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:2584:56) at Object.serializeQuery (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:2309:227) at Serializer.serializeVisualContainerConfig (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13481:77) at Serializer.serializeVisualContainer (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13408:53) at Serializer.serializeVisualContainerTreeToList (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13352:148) at Serializer.serializePage (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13343:90) at ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13193:38 at arrayMap (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:21339:23) at Function.map (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:30254:14) at Serializer.serializeExploration (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13192:68):line:null:) TypeError: Cannot read property 'accept' of undefined at Function.QueryExpressionBuilder.createNamed (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:2584:56) at Object.serializeQuery (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:2309:227) at Serializer.serializeVisualContainerConfig (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13481:77) at Serializer.serializeVisualContainer (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13408:53) at Serializer.serializeVisualContainerTreeToList (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13352:148) at Serializer.serializePage (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13343:90) at ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13193:38 at arrayMap (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:21339:23) at Function.map (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:30254:14) at Serializer.serializeExploration (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13192:68) Stack Trace Message: An error occurred while rendering the report. Invocation Stack Trace: at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace() at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage) at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e) at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture) at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0() at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass0_1.<SendAndMarshalExceptions>b__0(Object null) at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks() at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at System.Windows.Forms.Form.ShowDialog(IWin32Window owner) at Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner) at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction) at Microsoft.PowerBI.Client.Program.<>c__DisplayClass2_0.<Main>b__1() at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0() at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action) at Microsoft.PowerBI.Client.Program.Main(String[] args) JS Error Message: Cannot read property 'accept' of undefined PowerBINonFatalError: {"AppName":"PBIDesktop","AppVersion":"2.81.5831.941","ModuleName":"ms-pbi://pbi.microsoft.com/minerva/scripts/data.js","Component":"Function","Error":"TypeError","MethodDef":"QueryExpressionBuilder.createNamed","ErrorOffset":"2584:56"} Snapshot Trace Logs: C:\Users\kkammary\AppData\Local\Microsoft\Power BI Desktop SSRS\FrownSnapShot2121172532.zip Model Default Mode: Import Model Version: PowerBI_V1 Is Report V3 Models Enabled: False Performance Trace Logs: C:\Users\kkammary\AppData\Local\Microsoft\Power BI Desktop SSRS\PerformanceTraces.zip Enabled Preview Features: PBI_NewWebTableInference PBI_hierarchicalSlicerCreation Disabled Preview Features: PBI_shapeMapVisualEnabled PBI_SpanishLinguisticsEnabled PBI_qnaLiveConnect PBI_inlineExplore PBI_realTimeRefresh PBI_showMinervaRibbon PBI_showMinervaViewNavigator PBI_v3ModelsPreview PBI_relativeTimeSlicer PBI_dataSearchCuration Disabled DirectQuery Options: TreatHanaAsRelationalSource Cloud: GlobalCloud Formulas:1KViews0likes2Comments