Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error 'QueryInterface for interface Microsoft.eConnect.ieConnect_API failed.'


TechKnowledge Content

TechKnowledge Content

Issue

Error - 'QueryInterface for interface Microsoft.eConnect.ieConnect_API failed.' is being returned in a C# application which is calling the eConnect_EntryPoint method of the eConnect_API assembly.

Resolution

This error typically indicates a problem with the reference to the eConnect_API.dll in your C# project. Use the following steps:

1. Insert the eConnect_API.dll located in your "C:\Program Files\Microsoft Great Plains\eConnect7\MBS eConnect EAI Incoming Service 7.0" directory into the Global Assembly Cache (GAC). This can be done by using the GACUTIL.exe utility provided with Visual Studio .NET. For more information on using this utility refer to the Help documentation in the Visual Studio .NET IDE.

2. Remove the reference to the eConnect_API.dll in your C# project and then add it back in. When adding it back to the project, be sure to browse to the eConnect_API.dll located in your "C:\Program Files\Microsoft Great Plains\eConnect7\MBS eConnect EAI Incoming Service 7.0" directory.

3. Go into Component Services on the workstation and delete the Microsoft Business Solutions eConnectAPI COM+ application. This will get recreated when your application calls it the next time.

This article was TechKnowledge Document ID: 29309

↑ Back to the top


APPLIES TO

Microsoft Dynamics GP 9.0
Microsoft Business Solutions–Great Plains 8.0
Microsoft Business Solutions–Great Plains 7.5
Microsoft Great Plains Dynamics 7.0
Microsoft Great Plains eEnterprise 7.0
Great Plains Dynamics 6.0
Great Plains eEnterprise 6.0
eConnect

↑ Back to the top


Keywords: kb, kberrmsg, kbprb, kbtshoot, kbMBSPartner, kbMBSMigrate, BemisKB858716

↑ Back to the top

Article Info
Article ID : 858716
Revision : 1
Created on : 3/7/2017
Published on : 3/7/2017
Exists online : False
Views : 91