[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

eConnectMethods Constructor Hangs in eConnect SDK

Posted on 2011-09-23
6
Medium Priority
?
639 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 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 Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

 
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

873 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