# DCOM an ETID Problems

**URL:** <https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Linux, Natural-on-Windows-Unix\
**Created:** [February 23, 2006, 1:11am UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597 "2006-02-23T01:11:54Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chofo](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/chofo/32/119_2.png) [@Chofo](https://techcommunity.softwareag.com/u/Chofo)\
**Post date:** [February 23, 2006, 1:11am UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/1 "2006-02-23T01:11:54Z")

</div>

Hi there, i have a Natural Class in a server, when a client instance this class, natural creates a process in the server with the user that launch it, and a session in Adabas with the same user.  
The problem is that this only works with some users, with other users it give me this error:  
NAT0711 The object chacaf01 could not be created (DCOM code 0x8008005L: Server Execution Failed)

I think is an security error, but i don’t know what security permission i have to modify, can any help me with this problem ???

This is my Natural code:

DEFINE DATA LOCAL  
1 #aObject HANDLE OF OBJECT  
1 #Error (a69)  
1 #User (a10)  
1 #Pass (a10)  
1 #Pid (n5)  
END-DEFINE

CREATE OBJECT #aObject OF CLASS “chacaf01” \*\*LINE OF ERROR  
SEND “iniciar\_sesion” TO #aObject  
WITH #User #Pass  
#Error := #aObject.Error  
#Pid := #aObject.PID  
write #Error #Pid  
SEND “cerrar\_sesion” TO #aObject  
End

---

<div class="post-metadata">

**Author:** ![BenedictXVII](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@BenedictXVII](https://techcommunity.softwareag.com/u/BenedictXVII)\
**Post date:** [February 23, 2006, 8:50pm UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/2 "2006-02-23T20:50:12Z")

</div>

> [@Chofo](#):
>
> NAT0711 The object chacaf01 could not be created (DCOM code 0x8008005L: Server Execution Failed)

There is no such error as 0x8008005L. Do you mean 0x80080005L (CO\_E\_SERVER\_EXEC\_FAILURE) or possibly rather 0x80070005L (E\_ACCESSDENIED)? Your code does not do anything with the database up to the line where the error occurs, so ETIDs are most likely not involved. If you have an 0x80080005L (CO\_E\_SERVER\_EXEC\_FAILURE), you could have a look into the event log, if there is more information available. In either case you should check the proper DCOMCNFG configuration for your server, as described in the NaturalX documentation. Certain users might not have launch permission for the server.  
Regards, +o:-]

---

<div class="post-metadata">

**Author:** ![Chofo](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/chofo/32/119_2.png) [@Chofo](https://techcommunity.softwareag.com/u/Chofo)\
**Post date:** [February 24, 2006, 2:19am UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/3 "2006-02-24T02:19:28Z")

</div>

ok benedict, forget the etid, this is my explanation:

1.- I have configured my DCOM Server like is described in the NatualX documentation.  
2.- This code works with some users, with other ones no.  
3.- I make a copy of one of the users that works, idem est with the same privilegies, the same groups, the same policies, and this copy of this user can’t create the object on the server, give the error that i mentioned.  
4.- I go crazy trying to give full control to al users in all the permissions for the natural server, and don’t work.

what happend ? i don’t understand, can somebody help me ???

Thanks

---

<div class="post-metadata">

**Author:** ![Chofo](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/chofo/32/119_2.png) [@Chofo](https://techcommunity.softwareag.com/u/Chofo)\
**Post date:** [February 24, 2006, 2:25am UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/4 "2006-02-24T02:25:36Z")

</div>

another thing, this error exists, the prub: :shock:

Enviroment:

Server:  
Natural 6.1.1  
Winserver 2000  
Adabas 3.3.3

Client:  
Visual Basic 6.0 Aplication  
WinXP Pro SP2

---

<div class="post-metadata">

**Author:** ![BenedictXVII](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@BenedictXVII](https://techcommunity.softwareag.com/u/BenedictXVII)\
**Post date:** [February 24, 2006, 1:14pm UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/5 "2006-02-24T13:14:14Z")

</div>

> [@Chofo](#):
>
> what happend ? i don’t understand, can somebody help me ??? Thanks

You see, there must be some difference between the users that is possibly not quite obvious… This seems rather to be a case for the Software AG product support.  
Regards, +o:-]

---

<div class="post-metadata">

**Author:** ![BenedictXVII](https://avatars.discourse-cdn.com/v4/letter/b/50afbb/32.png) [@BenedictXVII](https://techcommunity.softwareag.com/u/BenedictXVII)\
**Post date:** [February 24, 2006, 1:18pm UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/6 "2006-02-24T13:18:23Z")

</div>

Sometimes a simple thing such as rebooting client and server machine works wonders. The DCOM configurations are somewhat obstinate…  
Regards, +o:-]

---

<div class="post-metadata">

**Author:** ![Chofo](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/chofo/32/119_2.png) [@Chofo](https://techcommunity.softwareag.com/u/Chofo)\
**Post date:** [February 24, 2006, 9:58pm UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/7 "2006-02-24T21:58:22Z")

</div>

thanks for the help, i found another way to make this works, windows Security it’s to Secure… :shock:  
jajajajajajaja

by the way, how do you evolutionate to “Senior” Member ???

---

<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:** [February 24, 2006, 11:47pm UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/8 "2006-02-24T23:47:33Z")

</div>

> [@Chofo](#):
>
> by the way, how do you evolutionate to “Senior” Member ???

You automatically “graduate” after having contributed a certain number of postings 😉

---

<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, 2:40pm UTC](https://techcommunity.softwareag.com/t/dcom-an-etid-problems/60597/9 "2021-04-02T14:40:29Z")

</div>


