Skip to main content
Solved

Business Central Online Connection Error

  • September 18, 2024
  • 8 replies
  • 90 views

I’m trying to connect to Business Central Online using the Time Xtender connector. I’m using a service principal which has an app registration in Azure and I’ve run through all the steps in the BC/TX tutorial.

I’m getting the following error message when I try to add the data source. Any ideas what might happen

 

Service request failed: Sequence contains no matching element (System.InvalidOperationException)

Details:

Service request failed: Sequence contains no matching element (System.InvalidOperationException)
Module: TimeXtender.ODX.Engine
TimeXtender.ODX.Engine.ODXFaultException
   at TimeXtender.ODX.Engine.ODXEngine.SendServiceRequest[C,T](WcfServerSettings serverSettings, Func`3 func)
   at TimeXtender.DataManager.AddODXDataSourceWizard_SelectConnectionStep.<>c__DisplayClass11_0.<Validate>b__0()
   at TimeXtender.DataManager.ConnectingThread.ExecuteConnectingThread(Object dummy)

Service request failed: Sequence contains no matching element (System.InvalidOperationException)
Module: timeXtender
TXModelInterface.ExceptionWrapperException
   at TimeXtender.DataManager.ConnectingThread.HandleError()
   at TimeXtender.DataManager.ConnectingThread.Execute(String title, Int32 progressSteps, List`1 actions)
   at TimeXtender.DataManager.ConnectingThread.ExecuteFastAction(String title, Action action, IWin32Window parentForm, CancelBehaviors cancelBehavior, ErrorBehaviors errorBehavior, String callerName)
   at TimeXtender.DataManager.AddODXDataSourceWizard_SelectConnectionStep.Validate()
   at TimeXtender.DataManager.TXWizardController.DoNext()
   at TimeXtender.DataManager.TXWizardDialog.ClickNext()

Best answer by Thomas Lind

Hi @JorisKamma 

OK the version might be the issue.

The way you add a data source have changed in the newer versions.

Which one of the Dynamics BC providers are you using.

The one called Dynamics 365 Business Central - Online is the newest one and the one that works the best.

However, that one was added when 6429 was released, so it may not work with 6284 you are currently on.

View original
Did this topic help you find an answer to your question?

8 replies

Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • September 18, 2024

Hi @JorisKamma 

You get this error when you click save on the data source to create it initially?

Can you create other data sources than this?


  • Author
  • Explorer
  • 5 replies
  • September 18, 2024

Hi Thomas, I get this error when I try to add a data source in Time Xtender. Other data sources have not been a problem.
 

 


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • September 18, 2024

Hi @JorisKamma 

What version of TimeXtender are you in?


  • Author
  • Explorer
  • 5 replies
  • September 18, 2024

6284.1


Thomas Lind
Community Manager
Forum|alt.badge.img+5
  • Community Manager
  • 1017 replies
  • Answer
  • September 18, 2024

Hi @JorisKamma 

OK the version might be the issue.

The way you add a data source have changed in the newer versions.

Which one of the Dynamics BC providers are you using.

The one called Dynamics 365 Business Central - Online is the newest one and the one that works the best.

However, that one was added when 6429 was released, so it may not work with 6284 you are currently on.


Christian Hauggaard
Community Manager
Forum|alt.badge.img+5

Hi @JorisKamma could you please provide an update on the above?


  • Author
  • Explorer
  • 5 replies
  • September 24, 2024

I haven’t tried it yet. Have to plan the upgrade first. 


  • Author
  • Explorer
  • 5 replies
  • October 14, 2024

We upgraded TX and the connector is now working properly. Thanks for your quick response.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings