NetTalk Central

Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Web Server - Ask For Help / Re: GPF on Line=1774 Proc=SSL_OUR_SERVERSWITCHTOSSL
« Last post by Bruce on May 21, 2026, 06:03:14 AM »
probably not.

My guess is whatever you did wrong in 2022 you've done wrong again.
Since I had to TeamViewer in to see what that was last time, I'm guessing I need to do that again.
12
Web Server - Ask For Help / Re: Restrictok issue
« Last post by seanh on May 20, 2026, 03:41:03 PM »
This similar to a situation I had with the logout menu item.
I added this code to webhander procedure in webhandler.p_web,   restrictok method,  Priority 3000
        if pProcedure = 'SecwinLogoutWeb'   !smh Hack to get logout ok
            ReturnValue = sw:CanAccess
        END
It's just after a call to SecwinCurrentUser.getRight

I could never trace why it was coming back restricted when I set everything otherwise.
I also have secwin set to deny by default, which I think was part of the problem.
13
Web Server - Ask For Help / Restrictok issue
« Last post by wasatchconsulting on May 20, 2026, 11:00:22 AM »
I am running NetTalk 14.37 and Secwin 7.6

I have a procedure that was generated called on a webserver project called SecWinLoginWeb. I have had no issues for years and then just recently, the login page stopped appearing on the main page. I can still just type in the procedure and the login page appears and I can login and move forward.

I set some trace up and everything is just fine with GetSessionLoggedIn() and CanCall(), but RestrictOk() is giving a response of "1" and not "0" and so the button does not appear. All other buttons appear without any issues with the logic used.

I tried even bringing in a login page from another application just to see if there is something about the procedure, but there is something else that is giving the wrong response. I don't see any clues as to what RestrictOK() is looking at and the documentation does not mention this procedure.

Any assistance would be greatly appreciated

Ken Watts
14
Web Server - Ask For Help / Re: GPF on Line=1774 Proc=SSL_OUR_SERVERSWITCHTOSSL
« Last post by jlavera on May 19, 2026, 09:21:33 AM »
Can somehow sharing a certificate among servers can cause this? I have two servers sharing a folder and a certificate, and both are showing this sporadic GPF problem. Other servers not sharing, does not.
15
Web Server - Ask For Help / Re: GPF on Line=1774 Proc=SSL_OUR_SERVERSWITCHTOSSL
« Last post by jlavera on May 18, 2026, 04:12:56 AM »
Hi, Bruce.

I'm not sure how we solved that, but it was working fine in NT 12.47.
We needed some new features so we migrated to NT 14.37 - now, the problem started again.
With the server sitting idle, just answering "pings", it GPFs each 6 or so hours.
Basically, same GPF as this old case.
I'm sure all the dlls are matching NT 14.37, libcrypto-3.dll is 3.5.1.0, LibSSL-3.dll is 3.5.1, clanet.dll is 14.37.0.0, all in the program's folder.
Note in the GPF there is no mention of any other program, just clanet.dll and clarun.dll.
Is there any other resource I should check?
Why is it calling SSL_OUR_SERVERSWITCHTOSSL? Our "unsecure" port is closed, there is nothing coming from there (all connections are TLS).
Is this needed? Can be disabled somehow?

Program : F:\SMSRestServerMobileDevOps\SMSRestWebServer.exe
Version : 5276.14.4.548
At : 19:23:22 on 2026/05/18
Workstation: : ALCHEMY-RDSH-02
User Name: : ALCHEMY-RDSH-02$
Reported error : EXCEPTION_ACCESS_VIOLATION - Error writing data at : 00000000h
Windows : Win 10 - 10.0.17763
Clarion : 0.9
Thread : 3    Field : 0    Event : 523    Keycode : 0
Error at address : 00000000h  no module
Stack Trace
??? 7417CE89h    Line=2072    Proc=SSL_OUR_SERVERSWITCHTOSSL@F  Src=netdl020.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
[01] 7417CE89h    Line=2072    Proc=SSL_OUR_SERVERSWITCHTOSSL@F  Src=netdl020.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
[02] 741706C6h    Line=1794    Proc=SIMPLESERVER_ACCEPT@Fll  Src=netdl017.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
[03] 741487E0h    Line=1158    Proc=CALLBACKWINDOWCLIENTCALLBACK  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
??? 74147FC4h    Line=1267    Proc=CALLBACKWINDOWMAINCALLBACK  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
[04] 76E96D1Bh    no debug info, Module=C:\windows\System32\USER32.dll 10.0.17763.1 (WinBuild.160101.0800)
??? 74147FC4h    Line=1267    Proc=CALLBACKWINDOWMAINCALLBACK  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
[05] 76E877CCh    no debug info, Module=C:\windows\System32\USER32.dll 10.0.17763.1 (WinBuild.160101.0800)
??? 74147FC4h    Line=1267    Proc=CALLBACKWINDOWMAINCALLBACK  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
??? 72F0BDC0h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72F0BDC4h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72F0BDBCh    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 74147FC4h    Line=1267    Proc=CALLBACKWINDOWMAINCALLBACK  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
[06] 76E8690Bh    no debug info, Module=C:\windows\System32\USER32.dll 10.0.17763.1 (WinBuild.160101.0800)
??? 74147FC4h    Line=1267    Proc=CALLBACKWINDOWMAINCALLBACK  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
??? 74147FC4h    Line=1267    Proc=CALLBACKWINDOWMAINCALLBACK  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
[07] 76E7CC60h    no debug info, Module=C:\windows\System32\USER32.dll 10.0.17763.1 (WinBuild.160101.0800)
[08] 72EA0B48h    Line ?=27    no proc       Src="Library State"  Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 74148C28h    Line=819       Proc=CALLBACKWINDOWSRC@F  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
??? 72EE1E3Ah    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EC36E8h    Line ?=27    no proc       Src="Library State"  Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
[09] 74148F1Eh    Line=857       Proc=CALLBACKWINDOWSRC@F  Src=netdl003.clw    Module=F:\SMSRestServerMobileDevOps\CLAnet.dll 14.37.0.0
[10] 72E83FC3h    no line number    no proc       Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EFCFC4h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EDDE6Eh    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
[11] 72E83AA1h    no line number    no proc       Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EDDE84h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EFCFC4h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EFD044h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EF1360h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EF1374h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EF1390h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EF1384h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EF13ACh    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
??? 72EF13A0h    Line ?=47    no proc       Src=wxeh.cpp    Module=F:\SMSRestServerMobileDevOps\ClaRUN.dll 11.1.13845
[12] 77817E4Dh    no debug info, Module=C:\windows\SYSTEM32\ntdll.dll 10.0.17763.6292 (WinBuild.160101.0800)
[13] 77817E1Dh    no debug info, Module=C:\windows\SYSTEM32\ntdll.dll 10.0.17763.6292 (WinBuild.160101.0800)

Kind regards,
Jorge Lavera
16
Web Server - Ask For Help / Re: NetWebServiceMethod
« Last post by seanh on May 04, 2026, 10:49:56 PM »
If you're only getting XML maybe the client request is the problem?
See:
https://www.capesoft.com/docs/NetTalk14/NetTalkWebServices.htm#ReturnFormatRules
17
Web Server - Ask For Help / Re: NetWebServiceMethod
« Last post by rupertvz on May 04, 2026, 08:22:05 AM »
Thanks Jane, that makes sense regarding using the client.

At the moment I'm testing directly in the browser just to validate the behaviour of the template.

I'm using the TestFileParameter method from Example 77 with:

Return Type = View
View Table = Customer

However, even with data in the Customer table, the response is empty:
<TestFileParameter_response></TestFileParameter_response>

So I'm trying to confirm:

Should this example return Customer records without additional parameters?
Does the VIEW require specific parameters or filters to trigger data retrieval?

Also, even when I add _json_=1 to the URL, the response remains XML ? so I'm trying to understand whether that's expected when using a browser, or if something in my configuration is missing.

I'll test with a client as suggested, but I'd like to first confirm the expected behaviour of the example itself.
18
Web Server - Ask For Help / Re: NetWebServiceMethod
« Last post by rupertvz on May 04, 2026, 08:20:40 AM »
Thanks for the suggestion Sean,

I did try to force JSON via ContentType, but I ran into compile issues ? it seems like setting ContentType directly (e.g. net.ContentType or p_web.ContentType) is not available in a NetWebServiceMethod.

From what I understand, NetTalk should handle the response format via template settings or request negotiation.

I also tested:
http://127.0.0.1:88/TestFileParameter?_json_=1

But the response still comes back as XML.

Is setting ContentType manually actually supported in this context, or should JSON output be controlled purely via the template and request?
19
Web Server - Ask For Help / Re: NetWebServiceMethod
« Last post by Jane on April 30, 2026, 09:17:53 PM »
Are you trying to send JSON to a web browser or to a client of some sort?

There's a NetTalk example WebServiceRequiresXFiles (77) that includes two apps - a client and a web server.

It's also often useful to use the netdemo example program as a web client to debug what you're doing.
20
Web Server - Ask For Help / Re: NetWebServiceMethod
« Last post by seanh on April 30, 2026, 06:24:55 PM »
have you set the content type?
net.ContentType = 'application/json'
Pages: 1 [2] 3 4 ... 10