NetTalk Central

Show Posts

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.


Messages - johanco123

Pages: [1] 2 3 ... 17
1
Hi Bruce

Using Nt9.19. I have a string field on a netwebform with a lookup button.. On the Lookup Settings TAB in the 'Value field' i have UniqueID value and in the 'Description field' the Name description value.

If 'Display Description instead of value' is tick OFF - the  UniqueID display in the field and save the  UniqueID in the table. That is correct.
BUT
If 'Display Description instead of value' is tick ON - the Description display in the field and save the  Description value now  in the table. How can i correct this because it must still save the  UniqueID as the value in the field and not the description.

Regards
Johan

2
Tanks Robert.

Problem solved. It was another script causing the problem.

Johan

3
Hallo Robert

Tanks for your suggestion. I also try
p_web.Script('ntAlert("This is a info message!","Info");')
but still no message display when I click on the browse row..

Johan

4
Hi Bruce

I have a memory form with a browse on. I want to display a certain alert message when click on a browse row.

I add some code with a certain condition  in  'the user click on a row in the browse' embed point and then call 'do SendMessage' routine:
loc:alert = 'SendMessage now whatever...'
but now alert message display.

I even try in code rather than calling do SendMessage :
loc:alert = 'SendMessage now whatever...'
p_web.Message('Alert',loc:alert,p_web.site.MessageClass,Net:Send,true)
No message display.

Any help or suggestions will be appreciated.
Regards
Johan

NT9.20
cl8

5
Web Server - Ask For Help / Re: openSSL:FATAL - nettalk 9.19
« on: February 13, 2017, 11:10:51 PM »
Hi Bruce
Please find attached the screen shot of the error.
Regards
Johan

6
Web Server - Ask For Help / openSSL:FATAL - nettalk 9.19
« on: February 09, 2017, 05:39:38 AM »
Hi Bruce
I upgrade from NT9.16 to NT9.19 today. Also upgrade to latest StringTheory and Xfiles

Compile without errors. When try to run the webserver receive a OpenSSL:Fattal error:
OpenSSL_Uplink(24091000,09): No OPENSSL_Applink

Any suggestions what to do will be appreciated.

Regards
Johan

7
Web Server - Ask For Help / Re: Server shutdown without errors
« on: January 26, 2017, 12:34:45 AM »
Hi Bruce

Tanks for the feedback. I work through the web server log files.

What I found that it is somewhere on the memory form that the server shut down. But it is not on the same field. It is randomly on another field.

On the debugview where I add p_web.trace, it is going fine on the 'Validate All' source code. It is somewhere on the memory form the problem that I can trace it down.

In the log-file I also found certain random IP  with User-Agent as:
User-Agent: Mozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)
or
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)

In the Webserver procedure NetTalk extension, the 'Support Mobile browsers' is not tick on.

What will the affect of the iPhone and bingbot User-Agent have on the server. Could that shutdown the server if it is not Mobile compatible?

When this iPhone or bingbot user agent connect, the server sometimes runs for 10 minutes and then shutdown. In some cases it is the last entry in the log file when it shutdown.

Any suggestions will be appreciated.

Kind regards
Johan

8
Web Server - Ask For Help / Re: Content-Disposition: form-data;
« on: January 25, 2017, 03:15:15 AM »
Tanks Bruce

9
Web Server - Ask For Help / Content-Disposition: form-data;
« on: January 24, 2017, 03:54:55 AM »
Hi Bruce

I the log file of the web server app I am getting the following when doing a POST on a memory form:

Content-Disposition: form-data; name="FormState"
FVFPEGMVZU
-----------------------------180881968911146
Content-Disposition: form-data; name="loc__FTPolicyNo"

It seems to be on any field on the form when any field was accepted.

What will the effect of this Content-Disposition on the running and performance of the web app. If this is an error on my side, what must I lookout for to fix it please.

The user is not ogged in and with the form it connects to the server to validate certain fields in the table.

Can this cause perhaps the server to shut down without any errors.

Kind regards
Johan

10
Web Server - Ask For Help / Server shutdown without errors
« on: January 23, 2017, 02:22:00 AM »
Hi

I am still battling with my old problem in a previous threat and still cannot sort it out.

I run my webserver on one of my clients servers as an exe program. The clients connect to the server with their web browser. It is a memory form to register a claim. Every time when the client opens the form, it first connect to the server to validate certain input fields and when the validation criteria is true, there is a  'Go' button and opens a new memory form with all the required fields for the claim.

At the end there is a  checkbox to confirm that all the information is correct. On the confirmation I run source code to validate all required fields. If validation true at end then run p_web.script(.........("clicksave")

Then it do Validate All  where I register all the required fields, generate pdf report, upload the attachment files and send email with pdf and attachments.

This is working well, then suddenly the server shutdown without any gpf or error/message log.

Sometimes it run for days if lucky, otherwise shut down several times a day, maybe 5 claims registered. I cannot get any feedback from clients whit what they are busy on the form or when it happens.

Can somebody give any suggestions of any solution or what it could be causing this shutdown.

Unfortunately I cannot create a test example as their is a lot of dll and using MSSQL database.

Currently I use 'RestartOnCrash' to restart the webserver, but I need to resolve the problem urgently.

Clarion 8
Nettalk 9.17
All latest Capesoft templates.

11
Hi Bruce

I upgrade AnyText, GUTS and Winevent to Winevent3.99 (Rollback to WinEvent3.99 as I still get that compile errors of WinEvent5)

I ran the application as a EXE for 4 days without any crashing. I start the application as a service as administrator. The service start. I can login with the browser and when i go to a browse and double on the row for instance to open the form in change mode, the webserver freeze. The webserver.exe is still in memory but not responding.

The exe is running without problems.

Any suggestions will be appreciated.

Regards
Johan

12
I ran it now as exe for about 20hours. Then it crash again. I was able to capture the error in DebugView++.

The error was:
[tc][4] Attempt to cache too big Exception occurred at address 01011CB5
Exception code C0000005: Access Violation
Thread 4  Handle=00000998  TID=6072
Thread 4  Handle=00000998  TID=6072

Any idea what will cause this cashe exception error.

In the webserver procedure - extensions -performance tab -the 'Cash Files Less than' = 1000000 and the Max Cashe size = 50000000 and Max Pool Threads =1000

Will it help to increase the Max Cashe size?

There is at this stage a max of 5 users concurrently connected to the server.

It is a memory form that auto connect to the server open about 10 files and there is also a file Upload where the client can attach documents to the request. After that it is a code in the validate all embed where all the processing and saving of the information takes place. At the end it send an email.

Will the number and size of the attached files be possible cause of the server crash?

While the server is running the memory use is increasing without clearing the memory after the transaction was completed . I there a way that you can free the memory if the form/process was completed?

Any suggestions will be appreciated.

Kind regards
Johan

13
Hi Bruce
I start my webserver as a service without a problem under administrator account. The service will run sometimes for hours without a problem and then suddenly the service stop without any error or GPF error. The webserver.exe is still available in the task manager but nobody can connect with their web browser. Must first end the task in the task manager and then start the service and then it will be available for maybe an hour and then the service stop.

Any suggestions to capture if there is any error or something else that i must look into.

Using NT9.15, ST2.51, Selfservice 3.43 HyperActive 2.20 and winEvent 3.86

Kind regards
Johan

14
Web Server - Ask For Help / Compile errors after upgrade to WinEvent5.05
« on: November 21, 2016, 05:54:38 AM »
Hi Bruce
I upgrade Winevent3.88 to Winevent5.05
I am getting lots of compile errors like Win Event is Unresolved for Export.

It is a multi dll program and 'This is part of MultiDLL program' and 'Export WinEvent data from this DLL'  both ticked on. Read through documentation and still cannot resolve the problem. I try to refresh classes without any luck

Please find attach screenshot of the errors.

Any suggestions will help.

Kind regards
Johan

15
Web Server - Ask For Help / Re: automatic webserver restart
« on: November 18, 2016, 12:49:24 AM »
Hi Kevin

Can you please provide me the link where i can find the self service connection checker. I aslo have the problem that the service just stop without any errors, no GPF. Just stop.

Tanks
Johan

Pages: [1] 2 3 ... 17