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 - Rhys Daniell

Pages: [1] 2 3
1
E-Mail - Ask For Help / Office 365
« on: September 01, 2016, 12:31:50 AM »
Hello all!

A usually very reliable application which uses NT 7 has not been receiving emails at a couple of recent installations.

The common feature is that they are both using Office 365.

Sending emails didn't go so well at first but that was resolved by using TLS.

We are trying to receive emails using the standard Office 365 settings:

outlook.office365.com
995
Use SSL

Attempts to receive email just time out, no other errors given.

I think the problem may be to do with their use of TLS. The NT doco says that it tries different TLS settings until one works but perhaps it has to be forced to one of them?

Any help gratefully received.

Rhys

2
Web Server - Ask For Help / NTWS as JavaScript engine?
« on: December 23, 2012, 09:20:27 PM »
I have a request to get some data from a remote site which requires JavaScript and then display it in a Windows app.

Seems to me I should be able to somehow use the Web Server templates to generate a page which does this (there's a .script method which looks promising) and then displays it in File Explorer.

Anybody done this or know whether it's possible?

TIA
Rhys

3
The Rest - Ask For Help / Re: Push Notification
« on: July 24, 2011, 04:19:05 PM »
Thanks again, Bruce!

I prefer the simple life, we'll choose another port and slug it out with the corporate sys admins.

Cheers
Rhys

4
The Rest - Ask For Help / Re: Push Notification
« on: July 23, 2011, 12:07:13 AM »
Once I worked out I needed NetSimple and not NetAuto (d'oh!) I got a prototype together quickly, and so far it works wonderfully well. Another NetTalk win! Thanks Bruce.

5
The Rest - Ask For Help / Re: Push Notification
« on: July 22, 2011, 08:46:57 PM »
Thanks Bruce,

This is probably too much to hope for, but can I have my 'push server' listen on port 80 on a PC which is also running a web server serving html?

TIA
Rhys

6
The Rest - Ask For Help / Push Notification
« on: July 22, 2011, 07:07:27 PM »
At the moment we use a web service (NetTalk client/server) to poll a server for outbound messages, but as demand grows this is imposing too much load on the server.

Communication must be initiated by the client as our customers are not prepared to open an external port to allow the server to make contact. So we'd like to use push notification.

As I understand it this involves the client establishing a connection with the server which is then maintained (confirmed by an occasional ping).  When the server has a message for the client it notifies the client by sending a couple of bytes and then the client uses the web service to retrieve the message.

First question: Is there an option for a NetTalk server to keep the connection open?

Second question:  Presumably, for this to work with multiple clients, after the initial connection the connection would have to be moved to another port to leave the first port free for the next connection. Is this the case, and does NetTalk have this functionality?




7
Here you go:

Program : C:\Program Files (x86)\SmartNet\SmartNetClient.exe
Version : 0.0.0.217
At : 17:03:32 on 2011/07/15
Workstation: : Rhys-PC
User Name: : Rhys
Reported error : EXCEPTION_ACCESS_VIOLATION - Error writing data at : 00000000h
Windows : Win 7   ,, Media Center                                                                             6.1.7600
Clarion : 6.3
Thread : 1     Field : 0     Event : 1029     Keycode : 0
Error at address : 0100847Ch  no line number  no proc  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
Stack Trace
??? 010AA119h     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010A9FCCh     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010A9F61h     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010A7147h     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B2D03h     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010EB30Ch     Line ?=3023     no proc         Src=wsl.cpp     Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D2Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D2Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010E6A0Ch     Line ?=3023     no proc         Src=wsl.cpp     Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D2Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D91h     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D2Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D2Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D2Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D2Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010B3D2Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010F35B8h     Line ?=3023     no proc         Src=wsl.cpp     Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010F35B0h     Line ?=3023     no proc         Src=wsl.cpp     Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010DC695h     Line ?=3023     no proc         Src=wsl.cpp     Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010ABA04h     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010A9863h     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010A93CDh     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010A7FEAh     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010A802Ch     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010A9E8Bh     Line ?=27     no proc         Src="Library State"  Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010D901Ah     Line ?=3023     no proc         Src=wsl.cpp     Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010F25D8h     Line ?=3023     no proc         Src=wsl.cpp     Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
??? 010F25D8h     Line ?=3023     no proc         Src=wsl.cpp     Module=C:\Program Files (x86)\SmartNet\c60runx.dll 6.300.9057
[01] 004655CDh     no debug info, Module=C:\Program Files (x86)\SmartNet\SmartNetClient.exe 0.0.0.217
[02] 00426155h     no debug info, Module=C:\Program Files (x86)\SmartNet\SmartNetClient.exe 0.0.0.217
[03] 00465541h     no debug info, Module=C:\Program Files (x86)\SmartNet\SmartNetClient.exe 0.0.0.217
[04] 77799F02h     no debug info, Module=C:\Windows\SysWOW64\ntdll.dll 6.1.7600.16385 (win7_rtm.090713-1255)
[05] 77799ED5h     no debug info, Module=C:\Windows\SysWOW64\ntdll.dll 6.1.7600.16385 (win7_rtm.090713-1255)
[END]

8
As best I can tell this is a NetTalk error message. It happens in a client which is continually using web services on a very simple NetTalk web server. The proc which handles comms checks and sets a static variable in the first line, so that it quits if the proc is already in progress.

GPF Reporter says:

EXCEPTION_ACCESS_VIOLATION - Error writing data at : 00000000h
Error at address : 0100847Ch  no line number  no proc  Module=c60runx.dll 6.300.9057

Anybody come across this?

9
Thanks Bruce - the upgrade to 4.57 seems to have cleaned this up, if it persists I'll come back here.

10
Clarion 6.3, NetTalk 4.3

We have a very simple application which periodically checks for emails to send and receive.

It consistently gets the above message when sending a test group of 3 emails. The error only occurs on one of the emails (usually, but not always, the first).

AsyncOpenTimeout = 1000 and InactiveTimeout = 6000

It seems as though we need to reinitialise the SimpleObject before attempting to send email, but calling .Init() before sending gives a general object error.

We use NetTalk in very similar circumstances in other applications without the same error.

Any idea what's going on? Ominously, I see a similar post in the FTP forum has had 251 views and no replies, so this may not be uncommon.


11
FTP - Ask For Help / Throttling FTP
« on: October 16, 2009, 02:32:36 PM »
I'm thinking of integrating offsite backup into one of our products. Backups would typically be 2-300Mb even when compressed, and I don't want to suck the life out of the customer's internet connection while transfer takes place.

Is there a way to slow the FTP transfer rate so it doesn't take all available bandwidth? Better still, is there a way to detect the bandwidth requirements of other applications so that the FTP transfer rate could be lowered only when required?

Fwiw we already do something similar by using a keyboard hook to detect user activity.

TIA
Rhys

12
Web Server - Share Knowledge / Re: MS Sql HSTMT Connection Busy Errors
« on: September 13, 2009, 06:17:51 PM »
6.3/9057, MSSQL 2005

13
Web Server - Share Knowledge / Re: MS Sql HSTMT Connection Busy Errors
« on: September 10, 2009, 03:56:56 PM »
We found that the /MULTIPLEACTIVERESULTSET parameter doesn't work, at least with the version of Clarion and the SQL client that we are using.

To get MARS support we had to add this to the connect string:

mars_Connection=Yes

14
Web Server - Ask For Help / Re: XML server / page size
« on: April 07, 2009, 11:47:12 AM »
Thanks Bill,

I was basing the server app on an example which used Max:NetBinData as the size of the packet string and I assumed this was a hard coded limit. Sean has pointed out that this is not so, the limit is more like 2Gb (max app memory allocated by the OS).

Knowing you, you've probably developed your own XML file driver. C'mon, hand it over :-)

Cheers
Rhys

15
Web Server - Ask For Help / XML server / page size
« on: April 06, 2009, 01:49:34 PM »
Hi All,

I'm trying to build an XML/client server which passes a request to the server and gets back a wad of data for internal consumption.

The Nettalk limit on page size (16kb) for the NetWebclient is a bit onerous in this age of increasingly plentiful bandwidth. Is there a way of increasing it?

I'd prefer not to retrieve data in smaller chunks and then assemble them as this considerably increases the degree of difficulty.

An attractive alternative would be to use the NetSimple class which can handle multiple packets,  but this does not have proxy support which is required in this case. Does anybody know how proxy support could be enabled?


TIA
Rhys

Pages: [1] 2 3