# access entirex broker DCOM in asp.net

**URL:** <https://techcommunity.softwareag.com/t/access-entirex-broker-dcom-in-asp-net/59665>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX-DCOM\
**Created:** [June 22, 2006, 6:53am UTC](https://techcommunity.softwareag.com/t/access-entirex-broker-dcom-in-asp-net/59665 "2006-06-22T06:53:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhe](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@bhe](https://techcommunity.softwareag.com/u/bhe)\
**Post date:** [June 22, 2006, 6:53am UTC](https://techcommunity.softwareag.com/t/access-entirex-broker-dcom-in-asp-net/59665/1 "2006-06-22T06:53:53Z")

</div>

Hi, somebody wrote a VB wrapper of entirex broker. I am using that wrapper in my [asp.net](http://asp.net) project. If I add user ASPNET to the administrator group, everything works fine. If not, it does not work. I do not like to grant so much privilege to user ASPNET. The VB wrapper may not be well written. It does not return or throw exception, just hang there forever. Do you have suggestions what I can do?

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![bhe](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@bhe](https://techcommunity.softwareag.com/u/bhe)\
**Post date:** [June 23, 2006, 3:04am UTC](https://techcommunity.softwareag.com/t/access-entirex-broker-dcom-in-asp-net/59665/2 "2006-06-23T03:04:57Z")

</div>

Hi I forgot to say that the VB wrapper is the client stub. I have made more experiments. When run as a user with administrative privilege, the logfile show TCP: TcpConnect return code =0. When run as a limited account user, logfile shows: TCP: TcpConnect return code =-2. What user privilege is needed?

Thank you.

---

<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:** [June 26, 2006, 3:33pm UTC](https://techcommunity.softwareag.com/t/access-entirex-broker-dcom-in-asp-net/59665/3 "2006-06-26T15:33:32Z")

</div>

The TCP/IP service name for the brokerid cannot be resolved to a port number. It’s defined either in your DNS or the local services file.  
As an alternative specify the port name explictely as part of the broker id, e.g. etb123:23456.

---

<div class="post-metadata">

**Author:** ![bhe](https://avatars.discourse-cdn.com/v4/letter/b/ec9cab/32.png) [@bhe](https://techcommunity.softwareag.com/u/bhe)\
**Post date:** [June 27, 2006, 12:35am UTC](https://techcommunity.softwareag.com/t/access-entirex-broker-dcom-in-asp-net/59665/4 "2006-06-27T00:35:51Z")

</div>

Hi Rolf,

```
Thank you very much!

It turned out that the limited account user does not have the right to read the service configuration file where the port number for the service is specified. After allowing the user to read the file, everything works fine.

```

bhe

---

<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:39pm UTC](https://techcommunity.softwareag.com/t/access-entirex-broker-dcom-in-asp-net/59665/5 "2021-04-02T14:39:58Z")

</div>


