# getting NAT 711 error in NATURAL for Windows program - need solution

**URL:** <https://techcommunity.softwareag.com/t/getting-nat-711-error-in-natural-for-windows-program-need-solution/181467>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-on-Windows-Unix\
**Created:** [April 14, 2015, 7:33pm UTC](https://techcommunity.softwareag.com/t/getting-nat-711-error-in-natural-for-windows-program-need-solution/181467 "2015-04-14T19:33:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robert\_Hyduk](https://avatars.discourse-cdn.com/v4/letter/r/a88e4f/32.png) [@Robert\_Hyduk](https://techcommunity.softwareag.com/u/Robert_Hyduk)\
**Post date:** [April 14, 2015, 7:33pm UTC](https://techcommunity.softwareag.com/t/getting-nat-711-error-in-natural-for-windows-program-need-solution/181467/1 "2015-04-14T19:33:22Z")

</div>

We are getting NAT0711 The object :1: could not be created (DCOM code :2.  
In ‘NATURAL for Windows’ code, we try to create OBJECTs for CLASSes that we have COM+ objects running on  
WINDOWS 2008 server.

(Note: this is not a security issue because sometimes the program does work. It will successfully  
CREATE OBJECT until the number of programs executing this code exceeds a limit and then the 711’s will  
start. We did increase the Physical Memory on our 2008 Server, so there is not an issue with storage.)

When the first CREATE OBJECT fails with the 711, then the second and third CREATE OBJECTs also fail with 711.

For each of the CREATE OBJECT attempts in the code, we get the 711 error.  
……………………………………………………………………………………….  
NATURAL Code:  
CREATE OBJECT +OMAQSUB OF CLASS “J7544010.clsBEA” ON #SERVER\_NAME GIVING #BEACOM\_ERR /\* fails w/711  
IF #BEACOM\_ERR \<\> 0 THEN  
CREATE OBJECT +OMAQSUB OF CLASS ‘BEAQSUB1.clsBEA’ ON #SERVER\_NAME /\* fails w/711  
END-IF  
ON ERROR  
CREATE OBJECT #OEMAIL OF CLASS ‘COMEMAIL.SENDEMAIL’ /\* fails w/711  
END-ERROR

NAT 711 error:  
NAT0711 The object :1: could not be created (DCOM code :2.  
TEXT:  
The object :1: could not be created (DCOM code :2.  
EXPL:  
The object of the class specified in the CREATE OBJECT statement  
could not be created.

---

<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:33pm UTC](https://techcommunity.softwareag.com/t/getting-nat-711-error-in-natural-for-windows-program-need-solution/181467/2 "2021-04-02T15:33:14Z")

</div>


