cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Alex_Rajkov Regular Visitor
Regular Visitor

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. 

 

3 REPLIES 3
Community Support Team
Community Support Team

Re: Dataflow: Random Errors while trying to refresh NAV ODATA queries via enterprice gateway

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

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |
Highlighted
Alex_Rajkov Regular Visitor
Regular Visitor

Re: Dataflow: Random Errors while trying to refresh NAV ODATA queries via enterprice gateway

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

Community Support Team
Community Support Team

Re: Dataflow: Random Errors while trying to refresh NAV ODATA queries via enterprice gateway

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

Community Support Team _ Xiaoxin Sheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.



For learning resources/Release notes, please visit: | |

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 126 members 1,567 guests
Please welcome our newest community members: