Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Add eConnect 2010 WCF from Dev machine failed

(0) ShareShare
ReportReport
Posted on by 100

Hi All: 

I have a GP server which installed GP 2010, eConnect 2010. I have a .NET integration website whose functionalities are importing GL, AR, AP transactions into GP by using eConnect method. When I tried to add the eConnect WCF service which resides on the GP server into the website, it failed. The address I use is net.pipe://servername/Microsoft/Dynamics/GP/eConnect/. (The servername here is the GP server name)

Then I tried to create the same integration website from the GP server directly and add eConnect WCF service directly from the localhost, it works fine. The address I use is net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/.

Then my question is: How can we add the eConnect WCF service from the dev machine rather than directly from the server which eConnect 2010 installed? I know for my own WCF service, I can modify the endpoint address but seems eConnect WCF service does not allow me to do that.

Furthermore, let's image a real world deployment scenario, we have a GP server which install the GP 2010 and eConnect 2010, we have another IIS server which install the integration website and typically the website will have a service reference to the GP server. But in this case, seems it has problems.

 Any comments or suggeations welcome here.

Thanks,

*This post is locked for comments

  • David Ayala Profile Picture
    David Ayala 5 on at
    Re: Add eConnect 2010 WCF from Dev machine failed

    Aaron,

    I'm interested too in the walk through to configure the TCP binding for the eConnect Windows Service. Are this ready yet?

    Best regards,

    David Ayala

  • Sarbland Profile Picture
    Sarbland 40 on at
    Re: Add eConnect 2010 WCF from Dev machine failed

    Aaron,

    Can you please share the document you were working on? I need a solution for same scenario where the client application needs to connect GP through eConnect WCF.

    What should be the preferred method among these two: -

    1. Edit the service.config to change the binding to use TCP or HTTP. ( I tried to do it but no luck so far)

    2. Create a WCF with httpBinding which will be a wrapper to eConnect WCF and both will be installed on the same server. Then I can use the service reference to my wrapper WCF in my application.

    Kindly suggest the best approach and any example if possible.

    Thanks in advance.

    Sarbland

  • Suggested answer
    Aaron Donat Profile Picture
    Aaron Donat on at
    Re: Add eConnect 2010 WCF from Dev machine failed

    Winson,

    The issue you are running into is related to the type of WCF Binding we implement with eConnect 2010. We are using a NamedPipe binding which inherently, does not allow for any WCF communication outside of the machine the service is running on. So at this time, there is no way for you to create a service reference from your development machine to the machine where eConnect is instaled.  The only method of making this happen is to edit the service.config file and change the binding information to use TCP or HTTP.

    We are currently working on an article that walks you through how to do that and also addresses the security issues that come with making that change.

    Thanks!

    Aaron Donat

    Sr. Escalation Engineer

    Dynamics GP

  • Beat Bucher  GP Geek  GPUG All Star Profile Picture
    Beat Bucher GP Gee... 28,058 Moderator on at
    Re: Add eConnect 2010 WCF from Dev machine failed

    Hi Sandip and Winson,

    I'm trying to achieve a similar situation on my GP2010 with eConnect 2010 installed on a Web Application server (which is a different system then my GP database server).

    Now the Web app server is running Win2k8R2 / 64-bit with IIS7 whereas my GP2010 server is based on W2k3 32-bit and SQL 2005 SP5...

    When trying to start the eConnect service I keep getting errors like this :

    The program or feature "\??\C:\Program Files\Microsoft Dynamics\eConnect 11.0\Service\Microsoft.Dynamics.GP.eConnect.Service.exe" cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.

    Any ideas what's wrong ?

    thanks,

    Beat

  • sandipdjadhav Profile Picture
    sandipdjadhav 18,267 on at
    Re: Add eConnect 2010 WCF from Dev machine failed

    Winson,

    I have created WebService using eConnect same like what you did for your GL,AR and AP import where my GP DB server and eConnect is installed (eConnect as well as SQL object) and in IIS server +eConnnect .Net objects and it work fine for us

    Can you please check your event viewer ? Did you installed eConnect .Net objects on your IIS server ?

     

    Thanks
    Sandip

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.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans