# Software AG Designer Error

**URL:** <https://techcommunity.softwareag.com/t/software-ag-designer-error/99394>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [January 4, 2012, 3:02pm UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394 "2012-01-04T15:02:49Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![YUBEN1](https://avatars.discourse-cdn.com/v4/letter/y/eada6e/32.png) [@YUBEN1](https://techcommunity.softwareag.com/u/YUBEN1)\
**Post date:** [January 4, 2012, 3:02pm UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394/1 "2012-01-04T15:02:49Z")

</div>

I have just installed the most recent version of the EntireX designer (8.2) on a Window 7 Enterprise 32 bit machine. I am attempting to generate a DCOM dll from an IDL file (Natural). I get this error:

> [@](#):
>
> I/O Error:  
> Loading or Parsing of IDL file fails

I have validated IDL and these IDL files work perfectly when used with version 7.2.1 of the EntireX Workbench. I have tried starting the designer as Administrator as well.

Are there any other logs or traces that I could turn on/investigate to get more information on what is causing this error?

---

<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:** [January 4, 2012, 3:33pm UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394/2 "2012-01-04T15:33:27Z")

</div>

Is it a really “secret IDL” 😉  
Or is it possible for you to share it with us ?  
Finn

---

<div class="post-metadata">

**Author:** ![YUBEN1](https://avatars.discourse-cdn.com/v4/letter/y/eada6e/32.png) [@YUBEN1](https://techcommunity.softwareag.com/u/YUBEN1)\
**Post date:** [January 4, 2012, 5:04pm UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394/3 "2012-01-04T17:04:08Z")

</div>

Sure, here is an actual sample. However even I create a test IDL with just one program and parameter, it fails. I should also mention that I don’t think it is the IDL because I can generate other stubs from the same IDL, like a .Net client.

```auto
/* EntireX IDL file
/* Generated by the EntireX Workbench on 2003/10/13 03:25:20
library 'Allocate':'BRACWEB' is

	Program 'BOE200N1' Is 
	Define Data Parameter
		1 IP-USER-ID (A6)
		1 IP-RESOURCE-ID (A6)
		1 IP-FORM-NAME (A8)
		1 IP-ACTION (A1)
		1 IOP-SCROLL-DIR (A1)
		1 IOP-BOF (A1)
		1 IOP-EOF (A1)
		1 IOP-OCCURS (N3)
		1 IOP-KEY (A60)
		1 IP-BRANCH-NO (N4)
		1 OP-RA-NO (A11/25)
		1 OP-VEH-GRP (A2/25)
                1 OP-RENTER-NAME (A50/25)
		1 OP-KEY (A60/25)
		1 ERR-TYPE (A1/5)
		1 ERR-MESSAGE (A150/5)
		1 ERR-TAB (N2.0/5)
		1 ERR-PROGRAM (A8/5)
		1 ERR-FIELD (A20/5)
	End-Define

	program 'BOU200N1' is
		define data parameter
		1 IP-USER-ID (A6)
		1 IP-RESOURCE-ID (A6)
		1 IP-FORM-NAME (A8)
		1 IP-ACTION (A1)
		1 IOP-SCROLL-DIR (A1)
		1 IOP-BOF (A1)
		1 IOP-EOF (A1)
		1 IOP-OCCURS (N3)
		1 IOP-KEY (A60)
		1 IP-RA-NO (A11/25)
		1 IP-REG-NO (A9/25)
		1 OP-KEY (A60/25)
		1 ERR-TYPE (A1/5)
		1 ERR-MESSAGE (A150/5)
		1 ERR-TAB (N2.0/5)
		1 ERR-PROGRAM (A8/5)
		1 ERR-FIELD (A20/5)
	End-Define

** End of file
```

---

<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:** [January 5, 2012, 5:01pm UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394/4 "2012-01-05T17:01:24Z")

</div>

Hmm - my exx 821 doesn’t mind generating dcom !?

Creating library ./Allocate.lib and object ./Allocate.exp  
Register DCOM Wrapper object  
Generation successful.

I also tried to make a suprog with the definitions - and still no problems.

Does it also give you problems with the “Test IDL” ?

Finn

---

<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:** [January 5, 2012, 5:02pm UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394/5 "2012-01-05T17:02:20Z")

</div>

Forgot to ask…

Is it in the IDL generation that you get the error or first when you try to generate a client ?  
Finn

---

<div class="post-metadata">

**Author:** ![YUBEN1](https://avatars.discourse-cdn.com/v4/letter/y/eada6e/32.png) [@YUBEN1](https://techcommunity.softwareag.com/u/YUBEN1)\
**Post date:** [January 11, 2012, 8:56am UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394/6 "2012-01-11T08:56:48Z")

</div>

Apologies for not replying sooner. IDL generation does not give the error. I also created a new test idl with just one parameter and then tried generating the DCOM dll, without success. I suspect that the problem has to do with my installation or file permissions. Is there any way to activate additional logging for the generation process?

---

<div class="post-metadata">

**Author:** ![yuben](https://avatars.discourse-cdn.com/v4/letter/y/85f322/32.png) [@yuben](https://techcommunity.softwareag.com/u/yuben)\
**Post date:** [January 16, 2012, 1:49pm UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394/7 "2012-01-16T13:49:52Z")

</div>

The error is caused when IDL files are linked to an EntireX project in Eclipse. I think that the EntireX generator is unable to resolve the link. The workaround is to import the IDL file into the Eclipse project before attempting to generate the DCOM dll.

---

<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:01pm UTC](https://techcommunity.softwareag.com/t/software-ag-designer-error/99394/8 "2021-04-02T15:01:24Z")

</div>


