NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Richard I on September 15, 2023, 08:58:08 PM
-
Hi
I have an Access Violation following a successful compile and gzipall in NT 14.04 after upgrading from NT 12...
when run in Deployment mode.
If I compile and run in Development mode it runs OK
The Exception Log is attached
Thanks
Richard
-
I'd start with this:
https://clarionhub.com/t/how-to-improve-the-call-stack-when-your-program-gpfs-to-show-procedure-names/188
-
Hi Richard,
I'm getting essentially the same when running the Multi-site host exe. Will try Jane's suggestion but all this worked with NT 12.61. No changes to this app when moving to NT 14.04.
Jeff
-
Jeff,
I've only experimented briefly with multi-site host, so just speculation here.
Have you made sure to compile all the NetTalk sites with the same version of NetTalk that you're using for the host?
Will the host run by itself?
Will the host run with just a static site (such as with the multi-site example app)?
Is yours like Richard's situation - his runs in debug mode but crashes in deployment mode? If so, another thing to try would be one-by-one enabling the different items that get set by switching to "deployment" and seeing if you can isolate the crash down to one switch.
-
Thanks Jeff,
Good to know, Im not alone
which suggests its an internal NT issue and not necessarily something Ive done.
Frustratingly, Ive got an upgrade waiting to send -
I believe that NT is backward compatible -ie can I install NT 12.64 over the top of NT14.04?
Cheers
Richard
-
Thanks Jane Ill do that....
seeing you are on line - can i over install 12.64 on top of 14.04 safely?
R
-
Following Jane's suggestion -
In Deployment Mode
By Changing "Compress dynamic data" FROM True To False removes the Access Violation
All other settings in Deployment are the default.
So "Compress dynamic data" is the apparent problem
Thanks Jane, again !
Ill await edification
Cheers
Richard
-
Hi Jane and Richard,
Both the multi-site host and the dll apps are compiled with NT 14.04
The multi-site host does run by itself and I can use the static web app to manage it and add dll apps. However, upon saving, the multi-site host crashes
with the same access error Richard receives.
The dll apps, when compiled as an exe and run as a standalone web app server, I can connect to and run the app as expected.
I tried changing the Compress dynamic data option but it does not help.
When I start the multi-site host with one or more dll apps added, they are automatically made inactive. The error tab on the multi-site host has: DLL
Caused Error - automatically made inactive.
I'm lost here, as these dll apps compile and run in NT 12.61.
Any other thoughts on things to check?
Thanks,
Jeff King
-
Hi Jeff,
Id be inclined to sit on it until Bruce replies. he's at Conference currently
Meanwhile, Im living with an amended Deployment
Cheers
Richard
-
Hello all,
I have compiled the multi-site host and one dll app using debug mode and the debug version of ClaRun.dll. Attached is the error log. I noted that the ClaNet.dll for NT 14.04 shows the Clarion version 11.01.13733. Not sure if this is significant. Anyone have any thoughts on this error log?
Thanks,
Jeff
-
The solution was that the deployed dll app has it's own set of required dll's. These also must be included in the host.exe folder. I don't know the exact dll name that was the problem, I simply copied all dll's from the dll app folder into the host.exe folder and the exception error went away.
Note that the other symptom here was that when I started the host.exe, the deployed dll apps would be set as "inactive". It seems the host.exe will check the deployed dll's on startup, to determine if they are "good" or not. Perhaps Bruce can explain this process a bit as it would be interesting to know.
Thanks,
Jeff
-
Hi all
Attached is the exception in Debug Mode showing Call Stack:
00C79295 NetWeb.Clw:3552 - NETWEBSERVERWORKERBASE._FLUSHSEND(STRINGTHEORY,LONG)
00C7385A NetWeb.Clw:7798 - NETWEBSERVERWORKERBASE._CLOSECONNECTION(LONG)
00C45D34 NetWeb.Clw:12086 - NETWEBSERVERWORKERBASE.REPLYCOMPLETE
00C7FC1B NetWeb.Clw:3136 - NETWEBSERVERWORKERBASE.PROCESSREQUEST(STRING)
00D4DF07 TimePeaceMobile002.clw:54 - WEBHANDLER(STRING)
00D3B083 TPMobile.exe:002DB083
00D3AB61 TPMobile.exe:002DAB61
77B77B1E
77B77AEE
-
Hi Richard,
So I take it, for you, it's still failing in Deployment mode, but all ok in Development mode?
If so, try changing the performance tab settings a few at a time to narrow down which setting might be in play.
cheers
Bruce
-
Hi Bruce,
Thank you
Yes, development Mode does compile and run OK
Earlier in the thread I reported that:
If in Deployment Mode "Compress dynamic data" is changed FROM True To False
and All other settings in Deployment are the default,
The Exception or Access Violation report does not appear
So "Compress dynamic data" is the apparent problem
With the setting at True, being the default, it does display.
In the post immediately prior to yours in this thread, I have displayed the Call Stack information, which I hope might help,.
Regards,
Richard
-
Hi all,
Pleased to report that with Bruce's help, Ive solved the GPF issue reported here.
It required me to change in the project to dll mode and clean out some of the dlls in the folder that were not needed.
Now in the performance tab Deployment, all settings are set as TRUE
Thanks Bruce
Richard