locked
Power BI in App-V RRS feed

  • Question

  • Hello,

    I sequenced Power BI version 2.42.4611.901 in App-V 5.1 and it works perfectly except for for Google Analytics that is available in the Online services. If I install it manually it works perfect. In the App-V package I receive the following error. "Unexpected error: Sequence contains no matching element.

    This is the detail:

    Feedback Type:
    Frown (Error)

    Timestamp:
    2017-02-13T09:59:48.1251858Z

    Local Time:
    2017-02-13T10:59:48.1251858+01:00

    Product Version:
    2.42.4611.901 (PBIDesktop) (x64)

    Release:
    January, 2017

    IE Version:
    11.0.9600.18537

    OS Version:
    Microsoft Windows NT 6.1.7601 Service Pack 1 (x64 en-US)

    CLR Version:
    4.6.1 or later [Release Number = 394271]

    Workbook Package Info:
    1* - nl-BE, fastCombine: Disabled.

    Peak Working Set:
    373 MB

    Private Memory:
    289 MB

    Peak Virtual Memory:
    4.49 GB

    Error Message:
    Sequence contains no matching element

    Stack Trace:
    Microsoft.Mashup.Host.Document.JavaScriptException: Sequence contains no matching element ---> System.InvalidOperationException: Sequence contains no matching element
       at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
       at Microsoft.Mashup.Client.ClientShared.Ux.FloatingDialog.SimpleDialog.ThirdPartyConnectorMessageDialog.GetDataSourceName(String formulaID)
       at Microsoft.Mashup.Client.ClientShared.Ux.FloatingDialog.SimpleDialog.ThirdPartyConnectorMessageDialog.CreateViewModel()
       at Microsoft.Mashup.Client.ClientShared.Ux.FloatingDialog.KoFloatingDialog.InternalCreateViewModel()
       at Microsoft.Mashup.Client.ClientShared.Ux.FloatingDialog.KoFloatingDialog.GetViewModel()
       --- End of inner exception stack trace ---
    Error: Sequence contains no matching element
       at KoFloatingDialog.initialize (ms-pbi://pbi.microsoft.com/ts/FloatingDialog/KoFloatingDialog.js:62:9)
       at initialize (ms-pbi://pbi.microsoft.com/ts/FloatingDialog/ThirdPartyConnectorMessageDialog.js:10:9)
       at Anonymous function (ms-pbi://pbi.microsoft.com/OpenSource/jquery/jquery-2.1.1.js:2:28218)
       at j (ms-pbi://pbi.microsoft.com/OpenSource/jquery/jquery-2.1.1.js:2:26852)
       at k.fireWith (ms-pbi://pbi.microsoft.com/OpenSource/jquery/jquery-2.1.1.js:2:27609)
       at e[] (ms-pbi://pbi.microsoft.com/OpenSource/jquery/jquery-2.1.1.js:2:28632)
       at Anonymous function (ms-pbi://pbi.microsoft.com/ts/FloatingDialog/KoFloatingDialog.js:156:5)
       at n.event.dispatch (ms-pbi://pbi.microsoft.com/OpenSource/jquery/jquery-2.1.1.js:3:6348)
       at r.handle (ms-pbi://pbi.microsoft.com/OpenSource/jquery/jquery-2.1.1.js:3:3114)

    Invocation Stack Trace:
       at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
       at Microsoft.Mashup.Client.ClientShared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace)
       at Microsoft.Mashup.Client.ClientShared.FeedbackErrorInfo..ctor(String message, Nullable`1 errorCode, String requestId, Exception exception)
       at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.<>c__DisplayClass1.<HandleException>b__0()
       at Microsoft.Mashup.Client.ClientShared.UnexpectedExceptionHandler.HandleException(Exception e)
       at Microsoft.Mashup.Client.ClientShared.Ux.FloatingDialog.FloatingDialog.OnError(String message, String stackTrace)
       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.Mashup.Client.ClientShared.JsExportWrapper.<>c__DisplayClass2.<InvokeMember>b__0()
       at Microsoft.Mashup.Client.ClientShared.JsErrorHandler.WrapInvokeHost(Func`1 invokeHost)
       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.ClientShared.WindowManager.ShowDialog[T](T form, IWin32Window owner)
       at Microsoft.Mashup.Client.ClientShared.Ux.FloatingDialog.SimpleDialog.ThirdPartyConnectorMessageDialog.Show(IWin32Window owner, WindowsHost windowsHost, String dataSourceFormulaID, ITelemetryService telemetryService)
       at Microsoft.Mashup.Client.ClientShared.DataImporter.ShowDataSourceWarning(String sourceID)
       at Microsoft.Mashup.Client.ClientShared.DataImporter.TryAddSource(String sourceID, Query& newQuery)
       at Microsoft.Mashup.Client.ClientShared.EditorDialogBase.Connect(String sourceId, Nullable`1 targetQueryGroupId, String[] additionalDefaultOptionalModules)
       at Microsoft.PowerBI.Client.Windows.MainWindow.<.ctor>b__0(String s, Nullable`1 g)
       at Microsoft.Mashup.Host.Document.DataSourceTemplateProvider.Connect(String formulaId, Nullable`1 targetQueryGroupId)
       at Microsoft.Mashup.Client.ClientShared.Ux.FloatingDialog.SimpleDialog.DataSourceGalleryDialog.<>c__DisplayClass2.<ConnectToDataSource>b__0()
       at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
       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.ClientShared.WindowManager.ShowDialog[T](T form, IWin32Window owner)
       at Microsoft.PowerBI.Client.Program.<>c__DisplayClassb.<Main>b__0()
       at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
       at Microsoft.PowerBI.Client.Program.Main(String[] args)


    User ID:
    043abb0a-d142-4c80-b3ca-89b65a5a0375

    Session ID:
    33d45bd5-bb8a-48fa-b8bb-2a68646f65b4

    Telemetry Enabled:
    True

    Model Default Mode:
    Import

    Snapshot Trace Logs:
    C:\Users\X69127\AppData\Local\Microsoft\Power BI Desktop\FrownSnapShot1274725181.zip

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

    Disabled Preview Features:
    PBI_RedShift
    PBI_Impala
    PBI_Snowflake
    PBI_shapeMapVisualEnabled
    PBI_allowBiDiCrossFilterInDirectQuery
    PBI_clusteringEnabled
    PBI_esriEnabled

    Disabled DirectQuery Options:
    DirectQuery_Unrestricted

    Cloud:
    GlobalCloud

    DPI Scale:
    100%

    Supported Services:
    Power BI

    Formulas:

    section Section1;

    Did someone received the same error and if yes could it be resolved in the App-V package.

    Thanks.

    Monday, February 13, 2017 10:01 AM

Answers

  • Did you try launching the google analytics while sequencing? Have you tried PVAD and COM settings?

    (Please click on Vote as Helpful and/or Mark as Answer, if it has helped you.)

    MVP - Windows and Devices for IT

    app2pack.blogspot.com: app2pack.blogspot.com

    Tuesday, February 14, 2017 1:20 PM

All replies

  • Did you try launching the google analytics while sequencing? Have you tried PVAD and COM settings?

    (Please click on Vote as Helpful and/or Mark as Answer, if it has helped you.)

    MVP - Windows and Devices for IT

    app2pack.blogspot.com: app2pack.blogspot.com

    Tuesday, February 14, 2017 1:20 PM
  • I just repackaged it in App-V with PVAD activated and now google Analytics works also. Thanks to help me with this.

    Regards,

    Yves

    Wednesday, February 15, 2017 8:53 AM