?
Solved

eConnectMethods Constructor Hangs in eConnect SDK

Posted on 2011-09-23
6
Medium Priority
?
633 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 800 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

770 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