- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dataflow: Random Errors while trying to refresh NAV ODATA queries via enterprice gateway
Hello,
I am having problems with the refresh (scheduled and manuell) of dataflows.
The setup: In NAV 13 I published the needed tables as OData web services. The connection runs through a enterprise gateway (latest version). The Power Query editor is able to connect and show the preview. Also the validation is showing no errors.
But most of the time, refreshing the dataflow fails. The protocoll is pointing to different tables every time. Meaning what works in one refresh try, fails the next time.
How can the refresh / connection be that unstable?
I never experienced such things while getting the data via Power BI desktop.
KR Alex
Here are the error descriptions:
ERROR 1
Invalid date,NAV ODATA,Fehler,Leistungszeile Archiv,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: An internal error occurred... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0.Param1 = Received error payload from gateway service with ID 1952277: Async operation 61a19f31-2be4-4ab7-8bf4-a39b5f0fe73f is faulted with [0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.MashupDataAccessValueException: Mashup expression evaluation error. Reason: .
GatewayPipelineErrorCode=DM_GWPipeline_Gateway_MashupDataAccessError
GatewayVersion=3000.0.265
Reason= --->
[1]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.GatewayPipelineWrapperException: Substituted: MashupValueException:<pi>Microsoft.Data.Mashup.MashupValueException (0x80004005): OData: Fehler bei der Anforderung: Der Remoteserver hat einen Fehler zurückgegeben: (500) Interner Serverfehler. (An error occurred while processing this request.)
bei Microsoft.Data.Mashup.ProviderCommon.MashupResource.<>c__DisplayClass6`1.<StartEvaluationAndGetResultSource>b__4()
bei Microsoft.Mashup.Security.Impersonation.RunAsProcessUser[T](Func`1 func)
bei Microsoft.Data.Mashup.MashupCommand.EvaluateAndGetSource[T](String commandText CommandType commandType Int32 commandTimeout MashupParameterCollection parameters String resultTransform Boolean forColumnInfo Boolean executeAction)
bei Microsoft.Data.Mashup.MashupCommand.ExecuteReader(CommandBehavior commandBehavior MashupCommandBehavior mashupCommandBehavior)
bei Microsoft.PowerBI.DataMovement.Pipeline.MashupCommon.MashupUtils.ExecuteReaderAsync(DbCommand command ExecuteQueryRequest queryRequest)
bei Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessor.<>c__DisplayClass3_2.<<ExecuteAdoQuery>b__1>d.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.PowerBI.DataMovement.Pipeline.Common.Diagnostics.PipelineTelemetryService.<ExecuteInActivity>d__7`1.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort an dem die Ausnahme ausgelöst wurde ---
bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
bei Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessor.<>c__DisplayClass3_0.<<ExecuteAdoQuery>b__0>d.MoveNext()</pi>
GatewayPipelineErrorCode=DM_GWPipeline_UnknownError
GatewayVersion=
InnerType=MashupValueException
InnerMessage=<pi>OData: Fehler bei der Anforderung: Der Remoteserver hat einen Fehler zurückgegeben: (500) Interner Serverfehler. (An error occurred while processing this request.)</pi>
InnerToString=<pi>Microsoft.Data.Mashup.MashupValueException (0x80004005): OData: Fehler bei der Anforderung: Der Remoteserver hat einen Fehler zurückgegeben: (500) Interner Serverfehler. (An error occurred while processing this request.)
bei Microsoft.Data.Mashup.ProviderCommon.MashupResource.<>c__DisplayClass6`1.<StartEvaluationAndGetResultSource>b__4()
bei Microsoft.Mashup.Security.Impersonation.RunAsProcessUser[T](Func`1 func)
bei Microsoft.Data.Mashup.MashupCommand.EvaluateAndGetSource[T](String commandText CommandType commandType Int32 commandTimeout MashupParameterCollection parameters String resultTransform Boolean forColumnInfo Boolean executeAction)
bei Microsoft.Data.Mashup.MashupCommand.ExecuteReader(CommandBehavior commandBehavior MashupCommandBehavior mashupCommandBehavior)
bei Microsoft.PowerBI.DataMovement.Pipeline.MashupCommon.MashupUtils.ExecuteReaderAsync(DbCommand command ExecuteQueryRequest queryRequest)
bei Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessor.<>c__DisplayClass3_2.<<ExecuteAdoQuery>b__1>d.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort an dem die Ausnahme ausgelöst wurde ---
bei System.Ru
ERROR 2
Invalid date,NAV ODATA,Fehler,Kreditor,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: An internal error occurred... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0.Param1 = The operation failed due to an explicit cancellation. Exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass9_0`1.<<GetNextResponse>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass13_0.<<ExecuteBlockOperation>b__0>d.MoveNext() Request ID: b82a1126-4e5f-4714-b16f-b9b8a0f83deb.
Invalid date,NAV ODATA,Fehler,Kreditorenposten,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: The current operation was canceled because one or more operations failed... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0 Request ID: b82a1126-4e5f-4714-b16f-b9b8a0f83deb.
Invalid date,NAV ODATA,Fehler,Mitarbeiter,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: The current operation was canceled because one or more operations failed... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0 Request ID: b82a1126-4e5f-4714-b16f-b9b8a0f83deb.
Invalid date,NAV ODATA,Fehler,Rubrik,06/02/2019 04:00:01,06/02/2019 04:00:06,Fehler,Error: An internal error occurred... RootActivityId = 983c0371-5655-441f-b555-8c00016c96b0.Param1 = The operation failed due to an explicit cancellation. Exception: System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass9_0`1.<<GetNextResponse>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.Pipeline.Common.TDFHelpers.<>c__DisplayClass13_0.<<ExecuteBlockOperation>b__0>d.MoveNext() Request ID: b82a1126-4e5f-4714-b16f-b9b8a0f83deb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI @Alex_Rajkov,
I check your error messages and found they all mentioned Internet issue. Where is your datasource server host? Can you double check to confirm your network state?
Regards,
Xiaoxin Sheng
If this post helps, please consider accept as solution to help other members find it more quickly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Xiaoxin,
thank you. This is helpful.
We are now doublechecking the network state.
The datasource is hosted in an Azure Cloud and we have an VPN tunnel to our on prem domain, where the gateway is.
So the PBI service is connecting to the gateway then via VPN tunnel to the datasource in Azure.
KR
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Alex_Rajkov,
I think this issue should more related to the vpn networks mapping, when power bi to refresh operations with unstable vpn connection status , I think these processes will face the networks related issues.
Regards,
Xiaoxin Sheng
If this post helps, please consider accept as solution to help other members find it more quickly.
Helpful resources
Join us at the Microsoft Fabric Community Conference
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Microsoft Fabric Community Conference 2025
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
Subject | Author | Posted | |
---|---|---|---|
05-22-2024 06:47 PM | |||
04-03-2024 02:08 AM | |||
09-14-2024 03:10 PM | |||
08-20-2024 09:13 AM | |||
10-17-2016 08:06 AM |
User | Count |
---|---|
25 | |
24 | |
13 | |
10 | |
9 |
User | Count |
---|---|
48 | |
41 | |
24 | |
16 | |
15 |