This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
1
Web Server - Ask For Help / Re: Tree control
« on: December 29, 2023, 04:40:35 AM »
Thanks Johan, it's what I was looking for.
2
Web Server - Ask For Help / Tree control
« on: December 22, 2023, 02:27:25 AM »
I need to display information in a tree control. I'm not well versed with NT, is there a tree control available, or maybe another external control?
Thanks
Thanks
3
Web Server - Ask For Help / NT11 to NT14 problem in Webserver procedure
« on: August 21, 2023, 12:50:25 AM »
Hi
I've upgraded to NT14 from NT11. In my app the webserver procedure still has this template code, which apparently uses a variable that doesn't exist anymore:
If set:Theme = '' then set:theme = 'ui-lightness'.
s_web._SitesQueue.Defaults.DefaultTheme = set:theme
There is nowhere in my code a reference to set:theme and it's only exists in the generated code. Any ideas?
Thanks
I've upgraded to NT14 from NT11. In my app the webserver procedure still has this template code, which apparently uses a variable that doesn't exist anymore:
If set:Theme = '' then set:theme = 'ui-lightness'.
s_web._SitesQueue.Defaults.DefaultTheme = set:theme
There is nowhere in my code a reference to set:theme and it's only exists in the generated code. Any ideas?
Thanks
4
Web Server - Ask For Help / Re: Internal error with server
« on: July 25, 2023, 03:50:35 AM »
Hi Jane.
I know about the login popup that I need to deal with early-on when running the app. But this problem occurs later on however, after running successfully for a while. In fact, in this app I don't use the normal Clarion db drivers because when SQL drops, a typical Clarion application can't recover. So, we're rather using ADO.
I need to consider that it could be an external problem, not a popup at all - like anti-virus not liking the fact that the EXE is an HTTP server listening on a specific port, or that it's running scripts. I'll keep on digging.
Thanks for the suggestion.
I know about the login popup that I need to deal with early-on when running the app. But this problem occurs later on however, after running successfully for a while. In fact, in this app I don't use the normal Clarion db drivers because when SQL drops, a typical Clarion application can't recover. So, we're rather using ADO.
I need to consider that it could be an external problem, not a popup at all - like anti-virus not liking the fact that the EXE is an HTTP server listening on a specific port, or that it's running scripts. I'll keep on digging.
Thanks for the suggestion.
5
Web Server - Ask For Help / Re: Internal error with server
« on: July 24, 2023, 06:57:24 AM »
Bruce,
The hook function I have logs the message content so that the code can flow on. I'm not sure how to hook a STOP message though - there doesn't seem to be something for that. But I do see there's a PROP:LastChanceHook also - maybe that will provide an answer. Will internal messages from NetTalk be caught with PROP:MessageHook and PROP:LastChanceHook or are they all directed to the error trap method?
Thanks
The hook function I have logs the message content so that the code can flow on. I'm not sure how to hook a STOP message though - there doesn't seem to be something for that. But I do see there's a PROP:LastChanceHook also - maybe that will provide an answer. Will internal messages from NetTalk be caught with PROP:MessageHook and PROP:LastChanceHook or are they all directed to the error trap method?
Thanks
6
Web Server - Ask For Help / Re: Internal error with server
« on: July 24, 2023, 04:13:35 AM »
And to follow up, the EXE is run as a Windows service. Sometimes it hangs for some reason, no way to find out why. When compiled in release mode, is it maybe possible that any library, whether it's NT or any other with Clarion, may cause the message to pop up, event after setting system{PROP:MessageHook} = address (MyMessage)?
Thanks
Thanks
7
Web Server - Ask For Help / Re: Internal error with server
« on: July 18, 2023, 09:25:31 PM »
Thanks Bruce.
8
Web Server - Ask For Help / Re: Internal error with server
« on: July 18, 2023, 10:20:13 AM »
Thanks Johan. Definitely a possibility.
9
Web Server - Ask For Help / Internal error with server
« on: July 17, 2023, 09:21:26 PM »
Hi,
Our backend server uses NT11 for incoming API calls. The EXE sometime closes without reason (not the problem to discuss here), but the web server then states "Unable to Close connection" in the function NetSimple.CloseServerConnection. What could be the reasons that it can't close "the connection"?
Thanks
Thys
Our backend server uses NT11 for incoming API calls. The EXE sometime closes without reason (not the problem to discuss here), but the web server then states "Unable to Close connection" in the function NetSimple.CloseServerConnection. What could be the reasons that it can't close "the connection"?
Thanks
Thys
10
Web Server - Ask For Help / Re: Improving response time for NetWebServiceMethod
« on: December 20, 2021, 08:04:21 AM »Thys,
Did you try with a NTWS example?
Same problem?
I haven't tried yet. I'll do so.
Thanks
11
Web Server - Ask For Help / Re: Improving response time for NetWebServiceMethod
« on: December 20, 2021, 08:03:15 AM »
Hi Bruce.
It's all on my laptop.
Thanks
It's all on my laptop.
Thanks
12
Web Server - Ask For Help / Re: Improving response time for NetWebServiceMethod
« on: December 18, 2021, 10:28:26 AM »
Michelis,
I checked the timing of the code in the webhandler, negligible and less than 100ms (shows 0 when using duration with CLOCk).
The simple call I'm referring to, doesn't make any calls to the local MSSQL database. It just returns a value from a simple variable. So with minimal code in the ServiceMethod routine, there is always a minimum response time of 500ms.
Thanks
I checked the timing of the code in the webhandler, negligible and less than 100ms (shows 0 when using duration with CLOCk).
The simple call I'm referring to, doesn't make any calls to the local MSSQL database. It just returns a value from a simple variable. So with minimal code in the ServiceMethod routine, there is always a minimum response time of 500ms.
Thanks
13
Web Server - Ask For Help / Improving response time for NetWebServiceMethod
« on: December 18, 2021, 03:39:52 AM »
Hi,
My API app constantly has a 500ms overhead on any HTTP call. This 500ms does not include the work that is done in the ServiceMethod routine. A simple call then ends up taking up to 600ms to respond. I played around with the performance options on the NetWebServer template, but nothing there has the effect to change the response time.
I'm using NT 11.51.
Thys
My API app constantly has a 500ms overhead on any HTTP call. This 500ms does not include the work that is done in the ServiceMethod routine. A simple call then ends up taking up to 600ms to respond. I played around with the performance options on the NetWebServer template, but nothing there has the effect to change the response time.
I'm using NT 11.51.
Thys
14
Web Server - Ask For Help / Re: NetAcme in NT11
« on: April 01, 2021, 04:15:23 AM »
Got it - needs latest StringTheory...
15
Web Server - Ask For Help / NetAcme in NT11
« on: April 01, 2021, 03:16:00 AM »
Hi,
I installed NT 11.51 today and compiled an existing app. This app used to compile with an earlier NT 11 build without problem, so I assume the addition of NetAcme causes this:
Unknown identifier: ST:NOPADDING - C:\Clarion11\Accessory\libsrc\win\NetAcme.Clw:635,36
I'm not familiar with NetAcme, maybe I need to add the template somewhere to solve the error?
Thys
I installed NT 11.51 today and compiled an existing app. This app used to compile with an earlier NT 11 build without problem, so I assume the addition of NetAcme causes this:
Unknown identifier: ST:NOPADDING - C:\Clarion11\Accessory\libsrc\win\NetAcme.Clw:635,36
I'm not familiar with NetAcme, maybe I need to add the template somewhere to solve the error?
Thys