# Error Generating RemObjects Interface

**URL:** https://talk.remobjects.com/t/error-generating-remobjects-interface/31371
**Category:** Remoting SDK
**Tags:** delphi
**Created:** [February 7, 2025, 7:49pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371 "2025-02-07T19:49:52Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/u/f08c70/32.png) [@UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/u/UELITON_ALVES_FUTURA)
#### Post date: [February 7, 2025, 7:49pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/1 "2025-02-07T19:49:52Z")

</div>

Hello,

After updating Delphi to version 12.2 Patch 2 and RemObjects to version 10.0.0.1605, when I try to generate the interface file, this error is being generated.

 ![image](https://talk.remobjects.com/uploads/default/original/3X/2/a/2ae75854e8b7bdcb789bbec1857443d48edc1c50.png)

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [February 10, 2025, 9:35am UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/2 "2025-02-10T09:35:42Z")

</div>

Hi,

I can’t reproduce any issue with ROD .1605 and Delphi 12 Patch 2.

Can you uninstall ROD and reinstall it from scratch?  
will it solve this issue on your side?

---

<div class="post-metadata">

### Author: ![UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/u/f08c70/32.png) [@UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/u/UELITON_ALVES_FUTURA)
#### Post date: [February 10, 2025, 12:30pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/3 "2025-02-10T12:30:35Z")

</div>

Hi,

I removed and reinstalled it and it still generates the same error.

I have attached the full error log generated in Delphi  
[QPInfo-20250210-0000.zip](https://talk.remobjects.com/uploads/short-url/816XC9rO14T1ehhaJQPNhO1C6fi.zip) (219.7 KB)

[41BCBDD1]{RemObjects\_IDE\_D29.bpl} Urocodegen4helper.TROCodegen4.Generate + $A9  
[6DC8A230]{rtl290.bpl } System.@CheckAutoResult (Line 40350, “System.pas” + 4) + $6  
[41BCBDD1]{RemObjects\_IDE\_D29.bpl} Urocodegen4helper.TROCodegen4.Generate + $A9  
[41BCBCED]{RemObjects\_IDE\_D29.bpl} Urocodegen4helper.TROCodegen4.Generate + $45  
[41BCBEEB]{RemObjects\_IDE\_D29.bpl} Urocodegen4helper.TROCodegen4.Generate + $3B  
[41BCC250]{RemObjects\_IDE\_D29.bpl} Uroiderodlsupport. + $0  
[41BCC60B]{RemObjects\_IDE\_D29.bpl} Uroiderodlsupport. + $0  
[41BCCBA8]{RemObjects\_IDE\_D29.bpl} Uroiderodlsupport.ProcessRemoteRODL + $118  
[41BCD4CC]{RemObjects\_IDE\_D29.bpl} Uroidemenu.CreateRemoteRODL + $C4  
[41BCDBB8]{RemObjects\_IDE\_D29.bpl} Uroidemenu.CreateRemoteRODL + $7B0  
[6DDA400B]{rtl290.bpl } System.Classes.TBasicAction.Execute (Line 18584, “System.Classes.pas” + 3) + $7  
[6D7F3752]{vcl290.bpl } Vcl.ActnList.TCustomAction.Execute (Line 284, “Vcl.ActnList.pas” + 19) + $35  
[6DDA3DBD]{rtl290.bpl } System.Classes.TBasicActionLink.Execute (Line 18479, “System.Classes.pas” + 8) + $7  
[6E8D6879]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.ExecAction (Line 1103, “Vcl.ActnMenus.pas” + 6) + $D  
[6E8D8138]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.TrackMenu (Line 1873, “Vcl.ActnMenus.pas” + 19) + $15  
[6E8DBEB6]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMainMenuBar.TrackMenu (Line 3839, “Vcl.ActnMenus.pas” + 5) + $3  
[6E8D63F4]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 973, “Vcl.ActnMenus.pas” + 2) + $11  
[6E8D63FD]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.CMItemClicked (Line 974, “Vcl.ActnMenus.pas” + 3) + $4  
[6D80F15E]{vcl290.bpl } Vcl.Controls.TControl.WndProc (Line 7920, “Vcl.Controls.pas” + 91) + $6  
[573BBC88]{cxLibraryRS29.bpl} cxContainer.TcxPopupVisibleController.IsAnyVisible (Line 1217, “cxContainer.pas” + 1) + $3  
[573CA83A]{cxLibraryRS29.bpl} cxContainer.cxContainerGetMessageHook$qqriuiiri (Line 7870, “cxContainer.pas” + 2) + $5  
[5729D979]{cxLibraryRS29.bpl} dxHooks.TdxSystemHook.ProcessHookProcs + $99  
[5729D716]{cxLibraryRS29.bpl} dxHooks.dxSystemGetMessageHook$qqsiuii + $16  
[6D814813]{vcl290.bpl } Vcl.Controls.TWinControl.WndProc (Line 11154, “Vcl.Controls.pas” + 178) + $6  
[6E8D8274]{vclactnband290.bpl} Vcl.ActnMenus.TCustomActionMenuBar.WndProc (Line 1917, “Vcl.ActnMenus.pas” + 25) + $4  
[6D813CD8]{vcl290.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10823, “Vcl.Controls.pas” + 3) + $6  
[6DDA4E3C]{rtl290.bpl } System.Classes.StdWndProc (Line 19091, “System.Classes.pas” + 8) + $0  
[6D9647BB]{vcl290.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 13376, “Vcl.Forms.pas” + 23) + $1  
[6D9647FE]{vcl290.bpl } Vcl.Forms.TApplication.HandleMessage (Line 13406, “Vcl.Forms.pas” + 1) + $4  
[6D964B3D]{vcl290.bpl } Vcl.Forms.TApplication.Run (Line 13545, “Vcl.Forms.pas” + 27) + $3  
[00678B02]{bds.exe } bds.bds + $DE

---

<div class="post-metadata">

### Author: ![UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/u/f08c70/32.png) [@UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/u/UELITON_ALVES_FUTURA)
#### Post date: [February 10, 2025, 1:10pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/4 "2025-02-10T13:10:42Z")

</div>

The Update Interface File(s) option also generates an error but it is different.

 ![image](https://talk.remobjects.com/uploads/default/original/3X/4/5/45ba35088832c45eca1f8c9f22dd364ae778fe6c.png)

[6556E577]{IndySystem290.bpl} IdStack.TIdStack.RaiseSocketError (Line 980, “IdStack.pas” + 54) + $21  
[6556E4FE]{IndySystem290.bpl} IdStack.TIdStack.RaiseLastSocketError (Line 903, “IdStack.pas” + 1) + $F  
[6556E469]{IndySystem290.bpl} IdStack.TIdStack.CheckForSocketError (Line 877, “IdStack.pas” + 2) + $3  
[6556A194]{IndySystem290.bpl} IdStackWindows.TIdStackWindows.Connect (Line 2105, “IdStackWindows.pas” + 20) + $13  
[654B5ECD]{IndyCore290.bpl} IdSocketHandle.TIdSocketHandle.Connect (Line 295, “IdSocketHandle.pas” + 1) + $25  
[654C2589]{IndyCore290.bpl} IdIOHandlerStack.TIdIOHandlerStack.ConnectClient (Line 410, “IdIOHandlerStack.pas” + 57) + $B  
[654C5C23]{IndyCore290.bpl} IdIOHandlerSocket.TIdIOHandlerSocket.Open (Line 369, “IdIOHandlerSocket.pas” + 13) + $4  
[654C17C0]{IndyCore290.bpl} IdTCPClient.TIdTCPClientCustom.Connect (Line 328, “IdTCPClient.pas” + 54) + $B  
[6531EA21]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.CheckAndConnect (Line 1932, “IdHTTP.pas” + 46) + $5  
[6531EFF5]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.ConnectToHost (Line 2129, “IdHTTP.pas” + 180) + $8  
[65320F5A]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.DoRequest (Line 3170, “IdHTTP.pas” + 23) + $17  
[65320DC1]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.Get (Line 3139, “IdHTTP.pas” + 1) + $17  
[6531BEF4]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.Get (Line 777, “IdHTTP.pas” + 1) + $D  
[425A6397]{RemObjects\_Indy\_D29.bpl} Uroindyhttpchannel.TROIndyHTTPChannel.RetrieveMetadata + $63  
[41A23072]{RemObjects\_Core\_D29.bpl} Uroremoterodlsupport.LoadRemoteRODL + $E6  
[41A233CF]{RemObjects\_Core\_D29.bpl} Uroremoterodlsupport.LoadRemoteRODL + $27B  
[6DC807B6]{rtl290.bpl } System.@ClassDestroy (Line 19728, “System.pas” + 0) + $2  
[41A22F37]{RemObjects\_Core\_D29.bpl} Uroremoterodlsupport.LoadRemoteRODLLibrary + $1B  
[41BCCB0E]{RemObjects\_IDE\_D29.bpl} Uroiderodlsupport.ProcessRemoteRODL + $7E  
[41BCDFE6]{RemObjects\_IDE\_D29.bpl} Uroidemenu.CreateRemoteRODL + $BDE  
[3CFE4EAD]{RemObjects\_Everwood\_D29.bpl} Uewotahelpers.TEWOTAProjectManagerMenu.Execute + $D  
[6B11E9A6]{coreide290.bpl} ContainerIntf.TProjectManagerMenuItem.Click (Line 1116, “ContainerIntf.pas” + 18) + $22  
[6D93FE0F]{vcl290.bpl } Vcl.Menus.TMenu.DispatchCommand (Line 3592, “Vcl.Menus.pas” + 5) + $2  
[6D94108A]{vcl290.bpl } Vcl.Menus.TPopupList.WndProc (Line 4765, “Vcl.Menus.pas” + 4) + $E  
[6D941556]{vcl290.bpl } Vcl.Menus.TPopupList.WndProc (Line 4916, “Vcl.Menus.pas” + 155) + $13  
[6D940FD9]{vcl290.bpl } Vcl.Menus.TPopupList.MainWndProc (Line 4740, “Vcl.Menus.pas” + 2) + $5  
[6DDA4E3C]{rtl290.bpl } System.Classes.StdWndProc (Line 19091, “System.Classes.pas” + 8) + $0  
[6D621977]{vclide290.bpl} IDEVirtualTrees.TVirtualTreeHintWindow.IsHintMsg (Line 7289, “IDEVirtualTrees.pas” + 7) + $13  
[6D9647BB]{vcl290.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 13376, “Vcl.Forms.pas” + 23) + $1  
[6D9647FE]{vcl290.bpl } Vcl.Forms.TApplication.HandleMessage (Line 13406, “Vcl.Forms.pas” + 1) + $4  
[6D964B3D]{vcl290.bpl } Vcl.Forms.TApplication.Run (Line 13545, “Vcl.Forms.pas” + 27) + $3  
[00678B02]{bds.exe } bds.bds + $DE

[QPInfo-20250210-0001.zip](https://talk.remobjects.com/uploads/short-url/qqKkHUQVMGfZlhbu3E8TxyWjQGo.zip) (760.1 KB)

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [February 10, 2025, 1:43pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/5 "2025-02-10T13:43:40Z")

</div>

Hi,

Can you check that Service Builder can generate files?

- launch Service Builder
- add new Service
- add new Operation into this service
- do `Codegen -> Delphi -> All Files`

 ![Untitled](https://talk.remobjects.com/uploads/default/original/3X/4/b/4bfd6a838bb8ef0e266207dbc88aa0d005f033b4.png)

it should generate some files, like

 ![Untitled2](https://talk.remobjects.com/uploads/default/original/3X/a/d/ad4059d320d6280a111bfc2ab85219fec8714901.png)

if this works, can you load your .RODL into Service Builder and check it for problems with `Tools -> Check Library for Problems`

 ![Untitled1](https://talk.remobjects.com/uploads/default/original/3X/2/6/26018d9dffa9efffa85d79df58b14ec65ab41173.png)

* * *

Can you share your .RODL, I’ll check what is wrong with it.  
you can drop email to support@ for keeping privacy.

---

<div class="post-metadata">

### Author: ![UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/u/f08c70/32.png) [@UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/u/UELITON_ALVES_FUTURA)
#### Post date: [February 10, 2025, 2:08pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/6 "2025-02-10T14:08:13Z")

</div>

It didn’t work.

 ![image](https://talk.remobjects.com/uploads/default/original/3X/8/4/84973de28f0a1b27a0204236b7fd3af5ce459181.png)

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [February 10, 2025, 2:38pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/7 "2025-02-10T14:38:41Z")

</div>

> [@EvgenyK](#):
>
> - add new Operation into this service

You have missed this action

* * *

anyway, looks like, something is wrong with your RODL.  
can you do this:

> [@EvgenyK](#):
>
> can you load your .RODL into Service Builder and check it for problems with `Tools -> Check Library for Problems`
> 
> ![Untitled1](https://talk.remobjects.com/uploads/default/original/3X/2/6/26018d9dffa9efffa85d79df58b14ec65ab41173.png)
> 
> * * *

---

<div class="post-metadata">

### Author: ![UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/u/f08c70/32.png) [@UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/u/UELITON_ALVES_FUTURA)
#### Post date: [February 10, 2025, 3:04pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/8 "2025-02-10T15:04:09Z")

</div>

It generated the same error as before.

Answer a question for me.

I got the server executable compiled in the old version.

In my client application, I asked to update the interface.

This procedure gave the same error when I tried to connect a server executable compiled in the new Delphi.

 ![image](https://talk.remobjects.com/uploads/default/original/3X/1/c/1c99a34b82076cd965126cd16859bf1e14b6f39d.png)

 ![image](https://talk.remobjects.com/uploads/default/original/3X/b/1/b1576f7b3d1264e5a94e83005b60bc97316df691.png)

Couldn’t the problem be only on the client side?

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [February 10, 2025, 3:57pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/9 "2025-02-10T15:57:29Z")

</div>

Hi,

Can you open in browser this url - `http://../bin` and review it’s content in any text editor like `notepad`.

it may be broken in some way so our codegen can’t process it correctly.

by other hand, can you import RODL in Service Builder -

 ![Untitled](https://talk.remobjects.com/uploads/default/original/3X/2/3/237cde8d5abb67c67ff499df337faa8f04da0cc2.png)

 ![Untitled1](https://talk.remobjects.com/uploads/default/original/3X/3/7/378f08b4eb0a1e41831fd2d68837ce34e5039063.png)

ofc, specify your RODL

---

<div class="post-metadata">

### Author: ![UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/u/f08c70/32.png) [@UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/u/UELITON_ALVES_FUTURA)
#### Post date: [February 10, 2025, 5:35pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/10 "2025-02-10T17:35:30Z")

</div>

Importing this way worked partly.

You can see that all my methods that are on the server have been displayed.

 ![image](https://talk.remobjects.com/uploads/default/original/3X/a/d/ade164ebe4a095a6eb17b915317c2ba0ef40e371.png)

But when I go to generate the interface, it generates the same error.

 ![image](https://talk.remobjects.com/uploads/default/original/3X/8/d/8de9479fb6c34e9dce0d282499916c60cb7ae0c0.png)

Attached is the RODL file.

[ArqTeste.rodl](https://talk.remobjects.com/uploads/short-url/dzDQnPEdDWmK0Nrb3hWw2LOr07w.rodl) (122.9 KB)

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [February 10, 2025, 5:40pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/11 "2025-02-10T17:40:01Z")

</div>

Hi,

> [@EvgenyK](#):
>
> can you load your .RODL into Service Builder and check it for problems with `Tools -> Check Library for Problems`
> 
> ![Untitled1](https://talk.remobjects.com/uploads/default/original/3X/2/6/26018d9dffa9efffa85d79df58b14ec65ab41173.png)

this checking generates a lot of errors:

 ![Untitled](https://talk.remobjects.com/uploads/default/original/3X/a/a/aacfb09a4ad216e021576e5431291c805027d427.jpeg)

read [Defining Code-First services (Delphi)](https://docs.remotingsdk.com/Servers/Technologies/CodeFirst/DefiningCodeFirstServices/Delphi/), it contains list of supported types.

workaround: update your server and use standard **TDateTime**

* * *

I agree, that we should generate more informative message in codegen .  
will log

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [February 10, 2025, 5:40pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/12 "2025-02-10T17:40:51Z")

</div>

Logged as [bugs://E27089](https://www.remobjects.com/portal/bugs/?id=E27089).

---

<div class="post-metadata">

### Author: ![UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/u/f08c70/32.png) [@UELITON\_ALVES\_FUTURA](https://talk.remobjects.com/u/UELITON_ALVES_FUTURA)
#### Post date: [February 10, 2025, 5:47pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/13 "2025-02-10T17:47:48Z")

</div>

When I generate this same interface in Delphi 12, RemObject v10.0.0.1585 works with these same types.

Has this limitation for Time and Date fields been changed now in this new version?

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [February 10, 2025, 6:06pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/14 "2025-02-10T18:06:35Z")

</div>

Hi,

we never supported TDate/TTime types in CodeFirst services.

CodeFirst server-side can be compiled because RTTI knows `TDate`/`TTime` types but RODL has limited set of supported types and `TDate`/`TTime` causes error because these types are unknown.

---

<div class="post-metadata">

### Author: ![EvgenyK](https://talk.remobjects.com/user_avatar/talk.remobjects.com/evgenyk/32/16_2.png) [@EvgenyK](https://talk.remobjects.com/u/EvgenyK)
#### Post date: [February 18, 2025, 1:13pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/15 "2025-02-18T13:13:27Z")

</div>

Hi,

fyi: from next public build, `TDate`/`TTime` types can be used in CodeFirst services.

These types will be autoreplaced with known RODL type (`DateTime`) at generation of .RODL.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [February 25, 2025, 2:51pm UTC](https://talk.remobjects.com/t/error-generating-remobjects-interface/31371/16 "2025-02-25T14:51:14Z")

</div>

[bugs://E27089](https://www.remobjects.com/portal/bugs/?id=E27089) was closed as fixed.
