TMS 2.8.3 and Delphi 12.3 with patch.

I've just updated the Delphi IDE to the last version (12.3) and at the same time the TMS Web Core components to the last version (2.8.3)

My frontend compiles well without problems, but when I execute the app, a quick command-line window opens and closes.

I put a breakpoint in the first line of the .dpr project, and the execution does not arrive at this point. It is closed before.

Can anyone help me? I don't know which way to continue solving this problem.

Thanks.

Now the problem was changed.

When I execute the program I get the next error:

If I close this error, the IDE becomes unstable. Nothing works. Each action show the next error:

I can't close the IDE. And I need to close it with the Task Manager.

Any one has had this problem and know how to solve it?????

thanks!

Solved. The first error. The last windows update was activated the firewall at the backend.

But what I can't understand is why this first error create the situation for the sencond error that the IDE was unable to solve?

I'm sorry but I do not know what could have caused this.
I think it is a good practice that when installing IDE & product updates to restart the IDE.

The second error is consecuence of the first one. In the time dedicated to go out of this situation, I was restarted the IDE and even the VM many times.

Finally this is not the problem.
I have the same problem. "Connection Refused" and what is more grave, after this error the IDE becomes unstable and I can't close it. An error of TMSWebCorePackage... avoid the use or the closing of the IDE.

I'm investigating.

The problem is not in the Backend. With the backend stopped, the problem is the same.
TMSWebServer maintains the server after the error, and the debug session in Delphi can be stopped due to an AVE.

I'm going to reinstall TMS Web Core. In this case, the Beta Version.

The problem persists, and I'm not working all day.

In a desesperate try I started Delphi in Administrator mode.

The problem continue!!!!!

With what exact steps can we reproduce what exact problem?

I don't know. I don't have this information. I believe the problem lies in TMSWebServer.

The last thing I tried was to execute the compiled program without the IDE, and I got an Empty blank page.

The next is one of the answers of GPT:

:white_check_mark: 5. Update TMS Web Core if the issue persists
Version 2.7.2 still had intermittent issues with TMSWebServer.exe on Windows 11, which were resolved in TMS Web Core 2.8.0 and later. If none of the above solves the problem, consider the following:

  • Completely uninstall TMS Web Core (and delete any leftover BPL, DCP files).
  • Install the latest version using TMS Smart Setup.

I don't know what is "TMS Smart Setup", but I've installed the 2.8.0 in a clean manner.

Now, I'm going to try a new clean machine. I need some time to install again Delphi and TMS Web Core.

Next is the stack of the execution. Maybe someone can see what I can't see.
Thanks.

[6889E5C3]{IndySystem290.bpl} IdStack.TIdStack.RaiseSocketError (Line 980, "IdStack.pas" + 54) + $21
[6889E54A]{IndySystem290.bpl} IdStack.TIdStack.RaiseLastSocketError (Line 903, "IdStack.pas" + 1) + $F
[6889E4B5]{IndySystem290.bpl} IdStack.TIdStack.CheckForSocketError (Line 877, "IdStack.pas" + 2) + $3
[6889A1E0]{IndySystem290.bpl} IdStackWindows.TIdStackWindows.Connect (Line 2105, "IdStackWindows.pas" + 20) + $13
[68AE5ECD]{IndyCore290.bpl} IdSocketHandle.TIdSocketHandle.Connect (Line 295, "IdSocketHandle.pas" + 1) + $25
[68AF2589]{IndyCore290.bpl} IdIOHandlerStack.TIdIOHandlerStack.ConnectClient (Line 410, "IdIOHandlerStack.pas" + 57) + $B
[68AF5C23]{IndyCore290.bpl} IdIOHandlerSocket.TIdIOHandlerSocket.Open (Line 369, "IdIOHandlerSocket.pas" + 13) + $4
[68AF17C0]{IndyCore290.bpl} IdTCPClient.TIdTCPClientCustom.Connect (Line 328, "IdTCPClient.pas" + 54) + $B
[6859EE75]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.CheckAndConnect (Line 1932, "IdHTTP.pas" + 46) + $5
[6859F449]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.ConnectToHost (Line 2129, "IdHTTP.pas" + 180) + $8
[685A13AE]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.DoRequest (Line 3170, "IdHTTP.pas" + 23) + $17
[685A1215]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.Get (Line 3139, "IdHTTP.pas" + 1) + $17
[685A1149]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.Get (Line 3127, "IdHTTP.pas" + 3) + $D
[6859D0DE]{IndyProtocols290.bpl} IdHTTP.TIdCustomHTTP.Get (Line 1136, "IdHTTP.pas" + 1) + $B
[60A6C37A]{TMSWEBCorePkgDEDXE15.bpl} TMS.Web.IDE.Debug.Browser.Chromium.TTMSChromiumDebugger.HTTPGet (Line 4137, "TMS.Web.IDE.Debug.Browser.Chromium.pas" + 3) + $7
[60A6D76D]{TMSWEBCorePkgDEDXE15.bpl} TMS.Web.IDE.Debug.Browser.Chromium.TTMSChromiumDebugger.Start (Line 4530, "TMS.Web.IDE.Debug.Browser.Chromium.pas" + 6) + $2B
[60A8A503]{TMSWEBCorePkgDEDXE15.bpl} TMS.Web.IDE.Debug.JS.TTMSJSDebugger.InitNewProcess (Line 1011, "TMS.Web.IDE.Debug.JS.pas" + 5) + $5
[60A8A0B2]{TMSWEBCorePkgDEDXE15.bpl} TMS.Web.IDE.Debug.JS.TTMSJSDebugger.GetCurrentProcess (Line 877, "TMS.Web.IDE.Debug.JS.pas" + 2) + $2
[70519397]{coreide290.bpl} DebuggerMgr.TDebuggerMgr.GetCurrentProcess (Line 1720, "DebuggerMgr.pas" + 3) + $11
[7044601B]{coreide290.bpl} EditorBuffer.TEditBuffer.CurrentDebuggerChanged (Line 2455, "EditorBuffer.pas" + 1) + $A
[7231B18D]{designide290.bpl} Events.TEvent.Send (Line 154, "Events.pas" + 2) + $11
[705184EB]{coreide290.bpl} DebuggerMgr.TDebuggerMgr.ActivateDebugger (Line 1356, "DebuggerMgr.pas" + 10) + $5
[60AD9863]{TMSWEBCorePkgDEDXE15.bpl} TMS.Web.IDE.NotifyDebugger.TTMSWebIDENotifierDebugger.BeforeProgramLaunch (Line 156, "TMS.Web.IDE.NotifyDebugger.pas" + 83) + $C
[70562059]{coreide290.bpl} IDEServices.TIDEServices.BeforeProgramLaunch (Line 2942, "IDEServices.pas" + 9) + $8
[7051701F]{coreide290.bpl} DebuggerMgr.TProjectEvent.Send (Line 822, "DebuggerMgr.pas" + 2) + $1E
[7051B98F]{coreide290.bpl} DebuggerMgr.TDebuggerMgr.BeforeProgramLaunch (Line 2643, "DebuggerMgr.pas" + 2) + $16
[6B1177C4]{dbkdebugide290.bpl} Debug.TDebugger.NotifyBeforeLaunch (Line 11630, "Debug.pas" + 3) + $18
[6B11A75B]{dbkdebugide290.bpl} Debug.TDebugger.Run (Line 12816, "Debug.pas" + 25) + $23
[6B114992]{dbkdebugide290.bpl} Debug.TDebugger.Run (Line 10519, "Debug.pas" + 0) + $2
[7051A3C9]{coreide290.bpl} DebuggerMgr.TDebuggerMgr.Run (Line 2062, "DebuggerMgr.pas" + 4) + $F
[0069401B]{bds.exe } AppMain.TAppBuilder.RunRun + $7
[6F5E43DB]{rtl290.bpl } System.Classes.TBasicAction.Execute (Line 18584, "System.Classes.pas" + 3) + $7
[70F6377A]{vcl290.bpl } Vcl.ActnList.TCustomAction.Execute (Line 285, "Vcl.ActnList.pas" + 19) + $35
[6F5E418D]{rtl290.bpl } System.Classes.TBasicActionLink.Execute (Line 18479, "System.Classes.pas" + 8) + $7
[710AE953]{vcl290.bpl } Vcl.Menus.TMenuItem.Click (Line 2640, "Vcl.Menus.pas" + 17) + $7
[710B0687]{vcl290.bpl } Vcl.Menus.DoClick (Line 3872, "Vcl.Menus.pas" + 41) + $4
[710B0773]{vcl290.bpl } Vcl.Menus.TMenu.IsShortCut (Line 3925, "Vcl.Menus.pas" + 38) + $6
[006996B4]{bds.exe } AppMain.TAppBuilder.FormShortCut + $30
[710D01E8]{vcl290.bpl } Vcl.Forms.TCustomForm.IsShortCut (Line 10196, "Vcl.Forms.pas" + 2) + $16
[70F86FF8]{vcl290.bpl } Vcl.Controls.TWinControl.IsMenuKey (Line 12920, "Vcl.Controls.pas" + 13) + $C
[70F87045]{vcl290.bpl } Vcl.Controls.TWinControl.CNKeyDown (Line 12935, "Vcl.Controls.pas" + 5) + $4
[70F7F2AE]{vcl290.bpl } Vcl.Controls.TControl.WndProc (Line 7997, "Vcl.Controls.pas" + 91) + $6
[6F4BA278]{rtl290.bpl } System.@GetMem (Line 4966, "System.pas" + 20) + $0
[6F4C22DE]{rtl290.bpl } System.@NewUnicodeString (Line 26079, "System.pas" + 10) + $0
[6F4C2789]{rtl290.bpl } System.@UStrAsg (Line 27009, "System.pas" + 18) + $0
[6F4BA294]{rtl290.bpl } System.@FreeMem (Line 5014, "System.pas" + 20) + $0
[6F4C2404]{rtl290.bpl } System.@UStrArrayClr (Line 26425, "System.pas" + 9) + $0
[70F80FA7]{vcl290.bpl } Vcl.Controls.TControl.IsCustomStyleActive (Line 9081, "Vcl.Controls.pas" + 8) + $15
[70F84963]{vcl290.bpl } Vcl.Controls.TWinControl.WndProc (Line 11231, "Vcl.Controls.pas" + 178) + $6
[710C9947]{vcl290.bpl } Vcl.Forms.TCustomForm.WndProc (Line 6597, "Vcl.Forms.pas" + 274) + $5
[6CD6AB16]{vcldesigner290.bpl} VCLFormContainer.TFormContainerForm.WndProc (Line 1133, "VCLFormContainer.pas" + 22) + $4
[70F83E28]{vcl290.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10900, "Vcl.Controls.pas" + 3) + $6
[6F5E520C]{rtl290.bpl } System.Classes.StdWndProc (Line 19091, "System.Classes.pas" + 8) + $0
[72985D57]{vclactnband290.bpl} Vcl.ActnMenus.CallWindowHook (Line 766, "Vcl.ActnMenus.pas" + 20) + $F
[710D4960]{vcl290.bpl } Vcl.Forms.TApplication.IsKeyMsg (Line 13316, "Vcl.Forms.pas" + 25) + $12
[710D49FA]{vcl290.bpl } Vcl.Forms.TApplication.IsHintMsg (Line 13337, "Vcl.Forms.pas" + 3) + $2
[710D4C07]{vcl290.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 13402, "Vcl.Forms.pas" + 17) + $31
[710D4C6E]{vcl290.bpl } Vcl.Forms.TApplication.HandleMessage (Line 13438, "Vcl.Forms.pas" + 1) + $4
[710D4FAD]{vcl290.bpl } Vcl.Forms.TApplication.Run (Line 13577, "Vcl.Forms.pas" + 27) + $3
[006E2B5E]{bds.exe } bds.bds + $DE

Try to disable IDE based debugging. From the log file, it appears that something on your machine blocks the connection between the IDE and the Chrome instance running the web app. Try to check web security / proxy / firewall / anti-virus that are possibly interfering.

No. This doesn't solve the problem.

My last actions were to change the configuration of the VMs to Bridge, put manual IPs in Windows and check the pings between both machines.

Nothing improves.

I've requested a trial license for the VSC version of TWebCore and... Tachan, tachan!!!!

Works well!!! My problem is with the Delphi IDE, or is it specific to the Delphi IDE?

I will continue to try things.

Solved!!!!!

A new VM. A new Delphi Installation and a New TMS Web Core Installation.

I don't know what the problem was, but it could be a combination of factors or a deterioration of the Windows installation.

I don't know. And now I need to recover the lost time.

Thank you!

1 Like