Solved

eConnectMethods Constructor Hangs in eConnect SDK

Posted on 2011-09-23
6
615 Views
Last Modified: 2012-05-12
I have a block of code that makes several calls inside of a System.Transaction TransactionScope (see this post).  When deployed to a windows 2008 server, it sometimes hangs on the following:

      eConnectMethods eConCall = new eConnectMethods();

It does not always hang here, and the same code never seems to hang on my development machine (XP sp3).  This is a .net 4.0 project.
0
Comment
Question by:b_levitt
  • 4
  • 2
6 Comments
 
LVL 2

Expert Comment

by:sgray128
ID: 36590312
That sounds like a DCOM issue to me. GP version less than GP2010?

That line of code is where it first contacts the server. In my experience, though, if it works once it should be OK
0
 
LVL 11

Author Comment

by:b_levitt
ID: 36917020
Sorry for the delay.  It does actually appear that it was consistently failing.  At one point it threw a dtc security error and adjusting the dtc security configuration let it start working.  I'm not sure what made it suddenly throw a better error.  I have another desktop doing the same thing and changing the dtc config doesn't appear to be helping but that I need to investigate a little further.

I should also mention that I'm attepting to use the econnect dlls without actually installing the econnect install.  I may try installing econnect on the failing desktop and see if that is the issue there.

This is GP 10.
0
 
LVL 2

Assisted Solution

by:sgray128
sgray128 earned 200 total points
ID: 36917043
I'm pretty sure this is a DTC thing. It will hang at that point and not give you any error. The only way out is to crash the app. The Install PDF has a good guide for the install, if you follow it carefully you'll be OK
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 11

Author Comment

by:b_levitt
ID: 36931880
In the case of the xp machine, dropping in Application.Dynamics.dll fixed it but the weird thing is that this file is not on the windows 2008 server that previously had the problem.
0
 
LVL 11

Accepted Solution

by:
b_levitt earned 0 total points
ID: 37038517
So far we've been able to resolve this in most cases by making sure the DTC security configuration is set to allow network connections.
0
 
LVL 11

Author Closing Comment

by:b_levitt
ID: 37061229
Assuming the issue is the DTC.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

On Sep 22nd 2014 Microsoft released Update Rollup 1 for Microsoft Dynamics CRM 2013 Service Pack 1 and back in July Update Rollup 3 was released.  So we now have:   Update Rollup 1Update Rollup 2Update Rollup 3Service Pack 1Update Rollup 1 for S…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now