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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

No se pueden actualizar datos en Power BI Desktop mediante el flujo de datos

Los datos se actualizaron correctamente durante algunos días, pero por algunas razones, el informe no se puede actualizar debido al error "La operación no es válida debido al estado actual del objeto."
Fuente de datos: Flujo de datos de Power BI
Modo de almacenamiento: Importación.
Aquí está el registro:
Tipo de comentarios: Frown (Error) Mensaje de error: La operación no es válida debido al estado actual del objeto. Seguimiento de pila: en Microsoft.Mashup.Evaluator.EvaluationHost.OnException(IEngineHost engineHost, IMessageChannel channel, ExceptionMessage message) en Microsoft.Mashup.Evaluator.MessageHandlers.TryDispatch(IMessageChannel channel, Message message) en Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageChannel channel, Mensaje de mensaje) en Microsoft.Mashup.Evaluator.ChannelMessenger.ChannelMessageHandlers.TryDispatch(IMessageChannel channel, Message message) en Microsoft.Mashup.Evaluator.MessageHandlers.Dispatch(IMessageChannel channel, Message message) en Microsoft.Mashup.Evaluator.. Interface.IMessageChannelExtensions.WaitFor[T](IMessageChannel channel) en Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunkAndCheckIfClosed() en Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunk() en Microsoft.Mashup.Evaluator.MessageBasedInputStream() en Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunk() en Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunk() en Microsoft.Mashup.Evaluator.MessageBasedInputStream.ReadNextChunk() en Microsoft.Mashup.Evaluator.MessageBasedInput() en Microsoft.Mashup.Evaluator.MessageBasedInput() en Microsoft.Mashup.Evaluator.MessageBasedInput.ReadNextChunk() en Microsoft.Mashup. Microsoft.Mashup.Common.ChunkedInputStream.Read(Byte[] buffer, Int32 offset, Int32 count) en Microsoft.OleDb.Serialization.PageReader.Read(Byte[] buffer, Int32 offset, Int32 count) en Microsoft.OleDb.Serialization.PageReader.Read(Void* dst, Int32 length) en Microsoft.OleDb.Serialization.PageReader.ReadArray(UInt64[], Int32 offset, Int32 count) en Microsoft.OleDb.Serialization.ColumnsPage.Deserialize(PageReader reader) en Microsoft.OleDb.Serialization.OleDbPage.ReadPage.ReadReader(ColumnsPage) en Microsoft.MashDb.MashPage.Deserialize(PageReader reader) en Microsoft.OleDb.Serialization.OleDbPage.ReadReader.ReadPage.Read.Engine.Interface.Tracing.TracingPageReader.Read(página IPage) en Microsoft.Mashup.OleDbProvider.DataHost.NonBufferingMashupEvaluator.MashupEvaluation.ExceptionResolverPageReader.Read(IPage page) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page) en Microsoft. Microsoft.Mashup.Engine.Interface.Tracing.TracingPageReader.Read(página IPage) en Microsoft.Mashup.Common.IPageReaderExtensions.NotifyingPageReader.Read(IPage page) en Microsoft.OleDb.Serialization.PageReaderRowset.Microsoft.OleDb.IRowset.GetNextRows(HCHAPTER hchapter, DBROWOFFSET lRowsOffset, DBROWCOUNT cRows, DBCOUNTITEM& countRowsObtained, HROW** pRows) en Microsoft.OleDb.Rowset.Microsoft.OleDb.IRowset.GetNextRows(HCHAPTER hReserved, DBROWOFFSET lRowsOffset, DBROWCOUNT cRows, DBCOUNTITEM& countRowsObtained, HROW** pRows) en Microsoft.Mashup.OleDbProvider.TracingRowset.Microsoft.OleDb.IRowset.GetNextRows(HCHAPTER hReserved, DBROWOFFSET lRowsOffset, DBROWCOUNT cRows, DBCOUNTITEM& countRowsObtained, HROW** pRows) Stack Message Trace: Operation is not valid due to the current state. Seguimiento de pila de invocación: en Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace() en Microsoft.Mashup.Client.UI.Shared.StackTraceInfo.. ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage) en Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e) en Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHostPackageInfoPackageInfoPackage, Exception e, Boolean useGDICapture) en Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.b__0() en Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass0_1..c__DisplayClass0_1.. b__0(Object null) en System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) en System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) en System.Delegate.DynamicInvokeImpl(Object[] args) en System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) en System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, Devolución de llamada ContextCallback, Estado de objeto, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Estado del objeto, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) en System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) en System.Windows.Forms.Control.InvokeMarshaledCallbacks() en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control.WndProc(Message& m) en System.Windows.Forms.Control System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pv reason, Int32 pv reasonLoopData) en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,Contexto ApplicationContext) en System.Windows.Forms.Form.ShowDialog(IWin32Window owner) en Microsoft.PowerBI.Client.Windows.Ux.CefHtmlForm.<>n__0(IWindowHandle windowHandle) en Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func'1 showModalFunction) en Microsoft.PowerBI.Client.Windows.FloatingDialog.KoLoadToReportDialog.TryShowDialog(Informe, IExceptionHandler exceptionHandler, IPowerBIWindowService windowService, IQueryServices queryServices, IUIHost uiHost, LocalizedString title, LoadToReportPrepareResult loadToReportPrepareResult, IEventAggregationService eventAggregationService) en Microsoft.PowerBI.Client.Windows.Commands.ApplicationCommands.DataImportCommands.RefreshAllQueries(IPowerBIWindowService windowService, IExceptionHandler exceptionHandler, RefreshAllQueriesParameterss parámetros) en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Acción) en Microsoft.Practices.Prism.Commands.DelegateCommandBase.<>c__DisplayClass4_0.<.ctor>b__0(Object arg) en Microsoft.Practices.Prism.Commands.DelegateCommandBase.d__10.MoveNext() en System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine& TStateMachine& stateMachine) en Microsoft.Practices.Prism.Commands.DelegateCommandBase.Execute(Object parameter) en Microsoft.Practices.Prism.Commands.DelegateCommand'1.d__5.MoveNext() en System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine) en Microsoft.Practices.Prism.Commands.DelegateCommand'1.Execute(T parameter) en Microsoft.Practices.Prism.Commands.DelegateCommand'1.Execute(T parameter) en Microsoft.Practices.Prism.Commands.DelegateCommand(T parameter) Microsoft.PowerBI.Client.Windows.Commands.CompositeCommand'1.Execute(ICommand command, Parámetro Object) en Microsoft.Practices.Prism.Commands.CompositeCommand.Execute(Object parameter) en Microsoft.PowerBI.Client.Windows.Commands.CompositeCommand'1.Execute(T parameter) en Microsoft.Mashup.Client.UI.Windows.Ribbon.RibbonCommandHandler.Execute(UInt32 commandId, CommandExecutionVerb verb, PropertyKeyRef keyRef, PropVariantRef currentValue, IUISimplePropertySet commandExecutionProperties) en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) en System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) en System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) en Int32 pvLoopData) en Int32 pvLoopData) en Int32 pvLoopData) en System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) en System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, Contexto ApplicationContext) en System.Windows.Forms.Form.ShowDialog(IWin32Window owner) en Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner) en Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func'1 showModalFunction) en Microsoft.PowerBI.Client.Program.<>c__DisplayClass2_0.b__1() en Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.b__0() en Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action) en Microsoft.PowerBI.Client.Program.Main(String[] args)
¿Alguna idea?

5 REPLIES 5
tex628
Community Champion
Community Champion

¿Se está ejecutando el flujo de datos sin problemas?

/ J


Connect on LinkedIn
Anonymous
Not applicable

El flujo de datos se está ejecutando como debe ser, sin errores durante la actualización o la validación de consultas.

tex628
Community Champion
Community Champion

Sólo desde el mensaje de error es casi imposible determinar dónde se encuentra el problema. Mi consejo para empezar por confirmar si el problema está en el informe o el flujo de datos. He tenido varios flujos de datos donde la consulta se ejecuta incluso a través de allí hay errores.

Si crea un informe en blanco y se conecta a los mismos flujos, ¿persiste el problema?

Si lo hace, cree un nuevo flujo de datos, asegúrese de que funciona. A continuación, comience a volver a crear el flujo antiguo agregando consultas una por una. Puede copiar el código desde el editor avanzado para que vaya bastante rápido.

Si no lo hace, lo más probable es que haya algo en la transformación del informe que esté causando esto.

/ J


Connect on LinkedIn
Anonymous
Not applicable

El informe en blanco tiene el mismo error.

Ya he intentado actualizar con el flujo de datos reproducido, pero no hay ninguna posibilidad.

Además, tengo flujo de datos adicional (algunas entidades diferentes), que se conecta al mismo servidor y tiene el mismo error también, pero no se ha cambiado durante mucho tiempo.

Hola @pzverev ,

Lo sentimos por eso, No podemos reproducir el problema aquí y tampoco encontramos una solución eficaz. Le sugerimos que abra un ticket aquí para obtener ayuda si es un usuario profesional:https://powerbi.microsoft.com/en-us/support/

Support Ticket.gif

Saludos

Dedmon Dai

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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