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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Alex_Rajkov
Advocate III
Advocate III

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
v-shex-msft
Community Support
Community Support

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
If this post helps, please consider accept as solution to help other members find it more quickly.

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

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
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors