Skip to main content What is Dynamics 365? Guided tours Customer stories Try our products CRM ERP Sales Service Sales Customer Insights Customer Service Contact Center Field Service Supply Chain Management Commerce Finance Project Operations Human Resources Business Central Pricing Business application topics Training & certifications Migrate to the cloud Documentation Events Dynamics 365 Blog Product updates Onboarding and implementation Community Find a partner Software Development Companies Partner resources Microsoft Marketplace Product documentation Technical support On-premises product support Contact us Try for free Sign in
  • 1 min read

"No Device" error message on client start


Recently I wanted to avoid that the infolog pops-up with several

error messages when opening the AX client with ConfigKey Telephony Integration enabled.

This error message is caused by the ActiveX component for the phone integration on form smmPhone which returns an error for each phone device which is offline.

I did the following code changes to prevent the error message:

\Forms\smmPhone\Designs\Design\ActiveX:axPhone\Methods\onEvent_TapiError 
void onEvent_TapiError(int errorCode) 
{; 
if(errorCode != -2147483582) // Avoid 'No Device' Error error(this.errorMsg(errorCode)); 
}

Get started with Dynamics 365

Drive more efficiency, reduce costs, and create a hyperconnected business that links people, data, and processes across your organization—enabling every team to quickly adapt and innovate.