# EntireX .Net Wrapper Error

**URL:** <https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Mainframe-Integration, EntireX\
**Created:** [September 17, 2020, 8:50am UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813 "2020-09-17T08:50:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![darrylchetty](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/darrylchetty/32/7685_2.png) [@darrylchetty](https://techcommunity.softwareag.com/u/darrylchetty)\
**Post date:** [September 17, 2020, 8:50am UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/1 "2020-09-17T08:50:11Z")

</div>

Hi all

I’ve created a .Net Web API project which then calls a class library project which makes the connection and communicates with the Natural programmes on the Mainframe.

I’ve tested this initially with a console application and it works perfectly. When I did the same with the Web API project, I get the “20020040 SoftwareAG.EntireX.NETWrapper.Runtime.xml is missing” error. I triple checked, removed and re-added dll references and the xml file is definitely in the bin folder but I keep getting this exception thrown.

I created the .Net Client classes from the IDL. Why am I getting this error in the Web API project but not in the console project?

Thanks!

Xml In folder

 ![image](https://global.discourse-cdn.com/techcommunity/original/2X/1/1f35f0e987e4c9cf1235687d18667de909f26926.png)

Exception (Using PostMan)

 ![image](https://global.discourse-cdn.com/techcommunity/original/2X/0/02afeaf4ff29de0ed606a8399d5e4163b671863a.png)

---

<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:** [September 17, 2020, 1:36pm UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/2 "2020-09-17T13:36:49Z")

</div>

Hi Darryl,  
the configuration of an [ASP.NET](http://ASP.NET) application for our .NET Wrapper is to complex to describe it here in detail. I would propose, that you contact the EntireX support.  
With kind regards  
Josef

---

<div class="post-metadata">

**Author:** ![Finn\_the\_Dane1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/finn_the_dane1/32/132_2.png) [@Finn\_the\_Dane1](https://techcommunity.softwareag.com/u/Finn_the_Dane1)\
**Post date:** [September 17, 2020, 1:54pm UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/3 "2020-09-17T13:54:34Z")

</div>

It might be complex - or relatively simple - have you checked simple action suggested in the error msg ?  
See [here](https://documentation.softwareag.com/webmethods/entirex/exx10-5/10-5_EntireX/mac/class_2002.htm#20020040) (if you have access)  
**Explanation**  
The file `SoftwareAG.EntireX.NETWrapper.Runtime.xml` is not in the same directory as the file `SoftwareAG.EntireX.NETWrapper.Runtime.dll` .

**Action**  
Check the `bin` folder of your EntireX installation and the folder of your client application.|

---

<div class="post-metadata">

**Author:** ![darrylchetty](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/darrylchetty/32/7685_2.png) [@darrylchetty](https://techcommunity.softwareag.com/u/darrylchetty)\
**Post date:** [September 17, 2020, 1:58pm UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/4 "2020-09-17T13:58:01Z")

</div>

Hi Finn

Yes that’s the first thing I checked from researching the error. The XML file is in the same directory as the dll in both the SoftwareAG installation folder and the [ASP.NET](http://ASP.NET) bin folder.

Is there perhaps documentation that shows the configuration for an [ASP.NET](http://ASP.NET) application?

 ![image](https://global.discourse-cdn.com/techcommunity/original/2X/f/fa9995843c8582750e93368fc1495b830b90f2b7.png)

---

<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:** [September 17, 2020, 2:00pm UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/5 "2020-09-17T14:00:52Z")

</div>

Hi Darryl,  
as already mentioned, please contact the EntireX support.  
With kind regards  
Josef

---

<div class="post-metadata">

**Author:** ![wolfgang.winter](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wolfgang.winter/32/17954_2.png) [@wolfgang.winter](https://techcommunity.softwareag.com/u/wolfgang.winter)\
**Post date:** [September 17, 2020, 3:06pm UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/6 "2020-09-17T15:06:45Z")

</div>

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

---

<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:** [September 17, 2020, 3:32pm UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/7 "2020-09-17T15:32:18Z")

</div>

Dear colleagues,  
please no further useless hints. Darryl should contact the EntireX support.  
With kind regards  
Josef

---

<div class="post-metadata">

**Author:** ![darrylchetty](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/darrylchetty/32/7685_2.png) [@darrylchetty](https://techcommunity.softwareag.com/u/darrylchetty)\
**Post date:** [September 20, 2020, 1:50pm UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/8 "2020-09-20T13:50:46Z")

</div>

Thanks all, this is resolved. Support provided the link to the config settings and all is working as expected now.

Thanks again!

---

<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:45pm UTC](https://techcommunity.softwareag.com/t/entirex-net-wrapper-error/233813/9 "2021-04-02T15:45:12Z")

</div>


