Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
PBest97
Regular Visitor

Something went wrong: An error occured while rendering the report

Hi all,

Since I started working with a new datamodel, the 'format painter' option does not seem to work properly.

Every time I try to use this feature, as it makes formatting way easier, I get an error message saying:

PBest97_0-1644568634845.png

After getting this message, it is not possible to save my pbix file anymore. For this reason, I have to do all the formating manually which takes a lot more time. Does anyone have an idea what could be the reason this happens? 

Kind Regards,

Paulus

8 REPLIES 8
96anme
Regular Visitor

Hi all, 
PBI error.png
I'm facing the same issue as above, format painter crashes the PowerBI desktop application.

Also, the dialog box with the error (see snip attached), keeps on popping up irrespective of clicking either of the buttons. Goes into something like an infinite loop and finally have to force end the application from Task Manager. Please share if anyone has found a solution to this. Thanks

Anonymous
Not applicable

Hello ,

I'm still encountering the issue. Can someone help on this ? The details are as follow:

s2005lg_0-1701659310464.png

 

PBI Version:  2.123.684.0 64-bit 

 

Error details:

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
Javascript:TypeError
at LayoutAuthoringService.visualsInLayout (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:414278:45)
at MapSubscriber.project (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:390774:76)
at MapSubscriber._next (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:138248:47)
at _proto.next (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:136704:44)
at _proto2._next (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:139258:82)
at _proto.next (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:136704:44)
at _proto2.notifyNext (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:138358:38)
at _proto._next (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:136916:33)
at _proto.next (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:136704:44)
at _proto._subscribe (https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js:136304:79)

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.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)
at Microsoft.PowerBI.Client.Windows.Utilities.PowerBIFormUnexpectedExceptionHandler.HandleException(Exception e)
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.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.PowerBI.Client.Windows.WebView2.WebView2Interop.InvokeCs(InteropCall call)
at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
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.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
at Microsoft.PowerBI.Client.Program.<>c__DisplayClass6_0.<RunApplication>b__0()
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.RunApplication(String[] args)
at Microsoft.PowerBI.Client.Program.Main(String[] args)


JS Error Message:
Cannot read properties of null (reading 'visualContainers')

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.123.684.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/desktop.js","Component":"LayoutAuthoringService","Error":"TypeError","MethodDef":"visualsInLayout","ErrorOffset":"414278:45","ErrorCode":""}

Snapshot Trace Logs:
C:\Users\william.su\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShotd0cd01c6-cef5-46ed-b792-9e74605a2256.zip

Model Default Mode:
Empty

Model Version:
PowerBI_V1

Performance Trace Logs:
C:\Users\william.su\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip

Enabled Preview Features:
PBI_sparklines
PBI_scorecardVisual
PBI_NlToDax
PBI_fieldParametersSuperSwitch
PBI_angularRls
PBI_setLabelOnExportPdf
PBI_dynamicFormatString
PBI_oneDriveSave
PBI_oneDriveShare
PBI_newCard
PBI_buttonSlicerAuthoring

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_b2bExternalDatasetSharing
PBI_enhancedTooltips
PBI_onObject
PBI_backstageUI
PBI_gitIntegration
PBI_modelExplorer
PBI_daxQueryView
PBI_aiNarrativesVisual
PBI_qnaImproveLsdlCopilot

Enabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

PowerBIUserFeedbackServices_IsReported:
True

Formulas:


section Section1;

MDIS_AL
Frequent Visitor

Did you find out, what the problem was?

I am currently encountering the same issue.

 

Honestly, in my situation, I could never figure out what caused the issue, but magically it resolved itself over time. Sorry that I can't be of much help. What I did do back then was open a ticket with Microsoft Power BI support and had a meeting. But when it came time to show them the error, it pulled a classic hide-and-seek on me and didn’t show up...typical, right? haha

johnciampi
Regular Visitor

Hi, I am getting the "an error ocurred while rendering the report". Is there a workaround?

Anonymous
Not applicable

Hi  @PBest97 ,

You can try to click File -- Options and settings --Options -- Preview features -- turn off "Power BI Desktop infrastructure update"

vyangliumsft_0-1644909417690.png

This is the related document, you can view this content:

https://community.powerbi.com/t5/Desktop/an-error-occurred-while-rendering-the-report/m-p/126506

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@PBest97 , Can you use copy details to clipboard and share it here

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi, yes of course I can do that @amitchandak . However, the error exceeds the maximum length of the message. So I only do the first  part:

Feedback Type:

Frown (Error)

 

Error Message:

An error occurred while rendering the report.

 

Stack Trace:

Javascript&colon; TypeError

at serializePropertyStructuralType (https://ms-pbi.pbi.microsoft.com/minerva/scripts/data.js:11703:86)

    at serializeObjectProperty (https://ms-pbi.pbi.microsoft.com/minerva/scripts/data.js:11674:93)

    at serializeObjectProperties (https://ms-pbi.pbi.microsoft.com/minerva/scripts/data.js:11660:53)

    at serializeObject (https://ms-pbi.pbi.microsoft.com/minerva/scripts/data.js:11523:42)

    at Object.serializeObjects (https://ms-pbi.pbi.microsoft.com/minerva/scripts/data.js:11516:245)

    at Serializer.serializeObjects (https://ms-pbi.pbi.microsoft.com/minerva/scripts/explore.js:16833:70)

    at Serializer.serializeVisualContainerConfig (https://ms-pbi.pbi.microsoft.com/minerva/scripts/explore.js:16818:66)

    at Serializer.serializeVisualContainer (https://ms-pbi.pbi.microsoft.com/minerva/scripts/explore.js:16672:53)

    at Serializer.serializeVisualContainerTreeToList (https://ms-pbi.pbi.microsoft.com/minerva/scripts/explore.js:16610:148)

    at Serializer.serializePage (https://ms-pbi.pbi.microsoft.com/minerva/scripts/explore.js:16600:90)

 

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__DisplayClass15_0.<HandleException>b__0()

   at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.HandleException(Exception e)

   at Microsoft.PowerBI.Client.PowerBIUnexpectedExceptionHandler.HandleException(Exception e)

   at Microsoft.PowerBI.Client.Windows.Utilities.UIBlockingAwareExceptionHandler.HandleException(Exception e)

   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.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at Microsoft.PowerBI.Client.Windows.WebView2.WebView2Interop.InvokeCs(InteropCall call)

   at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)

   at System.EventHandler`1.Invoke(Object sender, TEventArgs e)

   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.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)

   at Microsoft.PowerBI.Client.Program.<>c__DisplayClass4_1.<Main>b__2()

   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 properties of undefined (reading 'color')

 

PowerBINonFatalError:

{"AppName":"PBIDesktop","AppVersion":"2.100.1401.0","ModuleName":"https://ms-pbi.pbi.microsoft.com/minerva/scripts/data.js","Component":"","Error":"TypeError","MethodDef":"serializePropertyStructuralType","ErrorOffset":"11703:86"}

 

Snapshot Trace Logs:

C:\Users\Paulu_8xeulpv\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot8bbbbb5f-1904-466c-ace4-d247f3a55813.zip

 

Model Default Mode:

Import

 

Model Version:

PowerBI_V3

 

Performance Trace Logs:

C:\Users\Paulu_8xeulpv\AppData\Local\Microsoft\Power BI Desktop\PerformanceTraces.zip

 

Enabled Preview Features:

PBI_enableWebView2

PBI_sparklines

 

Disabled Preview Features:

PBI_shapeMapVisualEnabled

PBI_SpanishLinguisticsEnabled

PBI_qnaLiveConnect

PBI_azureMapVisual

PBI_dataPointLassoSelect

PBI_compositeModelsOverAS

PBI_dynamicParameters

PBI_enhancedTooltips

PQ_WebView2Connector

PBI_useModernFormatPane

PBI_scorecardVisual

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.