Notifications
Announcements
No record found.
Hi,
I'm calling an AX static function from Powershell and getting the error "External component has throwed an exception".
Please help me with resolving it.
Regards,
Pradeep
Hi Pradeep,
I can't see the entire script. Have you provided the path for Business connector dll in the Program Files like this?
Add-Type -Path "C:\Program Files\Microsoft Dynamics AX\60\BusinessConnector\Bin\Microsoft.Dynamics.BusinessConnectorNet.dll"
Also, have you tried to refresh the client configuration?
It seems tat sync() threw an exception. Look at details of the exception in Powershell or debug the method in AX, because you can't address an error unless you find out what it is.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 592 Most Valuable Professional
André Arnaud de Cal... 478 Super User 2025 Season 2
BillurSamdancioglu 305 Most Valuable Professional