# 20020011: Cannot load erx.dll

**URL:** <https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [February 10, 2015, 10:31pm UTC](https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503 "2015-02-10T22:31:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurbeer\_Singh](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Gurbeer\_Singh](https://techcommunity.softwareag.com/u/Gurbeer_Singh)\
**Post date:** [February 10, 2015, 10:31pm UTC](https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503/1 "2015-02-10T22:31:42Z")

</div>

Hi,

We are facing one issue 20020011: Cannot load erx.dll while initializing the Broker object.

This we are facing while connecting to entirex, through unit-test project [C#]

Same is working fine while connecting through web project [C#]. Both are under same solution, but strange one is working and one not, both refereeing to same DLL.  
SoftwareAG.EntireX.dll  
SoftwareAG.EntireX.NETWrapper.Runtime.dll

We are using below configuration  
VS2010, Frame work 4.0  
Software AG 8.2.2.0

FYI, we also found similar issue in the forum[below link] without any workaround, could you please assist what need to done to fix this issue.

[url][Web Service using EntireX erx.dll error - webMethods - Software AG Tech Community & Forums](http://tech.forums.softwareag.com/techjforum/posts/list/25722.page)

~Gurbeer

---

<div class="post-metadata">

**Author:** ![Gurbeer\_Singh](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Gurbeer\_Singh](https://techcommunity.softwareag.com/u/Gurbeer_Singh)\
**Post date:** [February 10, 2015, 11:19pm UTC](https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503/2 "2015-02-10T23:19:26Z")

</div>

Just FYI, if you its because of 32-64 bit parts mixing …  
We have installed 32 bit mode SAG using exx\_dev\_822.zip under Advanced Options – Image --User Installation Image --Install from image. It asked for a confirmation for 32 bit mode.

System type is 64 bit operating system , windows server 2008

entirexminiruntime\_x32.exe is also installed

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [February 11, 2015, 1:05pm UTC](https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503/3 "2015-02-11T13:05:24Z")

</div>

If your .NET application runs in 64-bit mode you need the 64-bit miniruntime.

Please be aware that 8.2.2 is an unsupported version.

---

<div class="post-metadata">

**Author:** ![Gurbeer\_Singh](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@Gurbeer\_Singh](https://techcommunity.softwareag.com/u/Gurbeer_Singh)\
**Post date:** [February 11, 2015, 2:56pm UTC](https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503/4 "2015-02-11T14:56:26Z")

</div>

I tried this. I didn’t find entirexminiruntime\_x64.exe under my C:\SoftwareAG\EntireX\etc

So I installed entirex in D rive using Image “exx\_dev64\_822.zip” then i was able to see entirexminiruntime\_x64.exe & entirexminiruntime\_x32.exe under new installation folder D:\SoftwareAG\EntireX\etc

I uninstalled entirexminiruntime\_x32.exe from control panel and re installed entirexminiruntime\_x64.exe

But no success ☹

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [February 11, 2015, 3:39pm UTC](https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503/5 "2015-02-11T15:39:16Z")

</div>

I suggest you contact support regarding this issue.

---

<div class="post-metadata">

**Author:** ![jmr](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jmr](https://techcommunity.softwareag.com/u/jmr)\
**Post date:** [February 11, 2015, 4:43pm UTC](https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503/6 "2015-02-11T16:43:37Z")

</div>

Please note: after Installation of the new Miniruntime you have to rebuild your application with our SoftwareAG.EntireX.NETWrapper.Runtime.dll from the new installation. There is a file SoftwareAG.EntireX.NETWrapper.Runtime.xml which has to be in the same Folder as the corresponding DLL. Otherwise loading the appropriate version of erx.dll (64/32-bit) might fail.

With Kind regards  
jmr

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:32pm UTC](https://techcommunity.softwareag.com/t/20020011-cannot-load-erx-dll/180503/7 "2021-04-02T15:32:51Z")

</div>


