NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Mike Grigsby on June 01, 2008, 10:49:10 PM
-
... or how to fix it.
I added a NetTalk email engine to my NetTalk Web app because I wanted to store outgoing emails in a queue and process them from there, rather than directly doing a SendMail. I seem to have fixed the error -34 using the DontErrorTrapInSendIfConnectionClosed property, but now I get error -40, and I don't know whether the email or the web server part of NetTalk is causing the error. Can anyone suggest a solution? I'm really stuck.
-
Now I'm more confused. I deleted the NetTalk Email completely from my app and still get Error -34 and -40. Does this tell us anything?
-
Hi Mike,
You can suppress the errors on the WebServer procedure, settings, "Suppress Errors" checkbox.
Error -34 is caused when you attempt to close a connection that is already closed.
Error -40 is caused when the remote side closes a connection "early" - ie when you still have stuff to send it.
Both errors can be ignored.
Cheers
Bruce
-
I checked the box to suppress messages and I was still getting the popups. I tried adding the line like the one I use in NetTalk email... I forget what it is exactly, but it's long, something like "donotshow...=1", and I think that might have fixed it, but have a bit more testing to do to say for sure.