TechKnowledge Content

TechKnowledge Content

ปัญหา ข้อผิดพลาด - 'QueryInterface for interface Microsoft.eConnect.ieConnect_API failed. ' จะถูกส่งกลับในแอปพลิเคชัน C# ซึ่งเรียกใช้เมธอด eConnect_EntryPoint ของeConnect_APIในแอสเซมบลี การแก้ปัญหา ข้อผิดพลาดนี้มักระบุปัญหาเกี่ยวกับการอ้างอิงeConnect_API.dllในโครงการ C# ของคุณ ใช้ขั้นตอนต่อไปนี้ 1. แทรกeConnect_API.dllอยู่ในไดเรกทอรี "C:\Program Files\Microsoft Great Plains\eConnect7\MBS eConnect EAI Incoming Service 7.0" ของคุณลงในแคช Global Assembly (GAC) ซึ่งสามารถเสร็จสิ้นได้โดยใช้โปรแกรมอรรถประโยชน์ GACUTIL.exeที่มีใน Visual Studio .NET For more information on using this utility refer to the Help documentation in the Visual Studio .NET IDE.2. เอาการอ้างอิงไปยังeConnect_API.dllในโครงการ C# ของคุณออก แล้วเพิ่มกลับเข้าใหม่ เมื่อเพิ่มกลับลงในโครงการ อย่าลืมเรียกดูไฟล์ eConnect_API.dll ที่อยู่ในไดเรกทอรี "C:\Program Files\Microsoft Great Plains\eConnect7\MBS eConnect EAI Incoming Service 7.0" ของคุณ3. ไปที่บริการคอมโพเนนต์บนเวิร์กสเตชันและลบแอปพลิเคชัน Microsoft Business Solutions eConnectAPI COM+ คุณจะได้รับการสร้างใหม่เมื่อแอปพลิเคชันของคุณโทรหาในครั้งถัดไปบทความนี้คือ TechKnowledge Document ID: 29309

ปรับใช้กับ

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

ต้องการความช่วยเหลือเพิ่มเติมหรือไม่

ต้องการตัวเลือกเพิ่มเติมหรือไม่

สํารวจสิทธิประโยชน์ของการสมัครใช้งาน เรียกดูหลักสูตรการฝึกอบรม เรียนรู้วิธีการรักษาความปลอดภัยอุปกรณ์ของคุณ และอื่นๆ