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,
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
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.
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?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156