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 - urayoan

Pages: 1 ... 11 12 [13] 14 15
181
Web Server - Ask For Help / Re: Conditional SSL?
« on: September 22, 2014, 10:34:50 AM »
Your welcome peterH

182
Web Server - Ask For Help / Re: Conditional SSL?
« on: September 22, 2014, 06:40:35 AM »
Hello peterH

In my case, the approach i use in set two NetTalk or NetSimple Object in the web server procedure. One is without any encryption and the second is always with encryption.

one is called ThisWebServer and the secure one is called ThisSecureServer. The ports needs to be different in the two objects. The unsecured one run in standard port 80 and the Secure Server in the standard port 443 (you can use the ports you want or even make it variable)

This approach makes the application SSL ready out of the box.

Virtually you can access the app in both ports.

Usually in the future, the client wants to change the unsecured port to a secured one, but without using the https://mydomain:443

To make the transition easy to the client, i set an embed point with this code

   IF GloSSLFlag = 1
     ThisWebServer._AlwaysRedirect = 1
     ThisWebServer._RedirectToHttpsPort = 443 !or your preferred secure port
   END!If

The embed point is set at the Enter Procedure Scope in the Window Manager

The trick here is, if a user hits the unsecured server in port 80 without encryption, the web server redirects the user to the secure port.

In my case works like a charm. I think may be useful to you too.

If you need an example let me know, but example web9 Always SSL use a similar approach

183
Web Server - Ask For Help / Re: Hotdates (12)
« on: September 10, 2014, 06:53:16 AM »
Agustin, priming the LOC:FechaCalendario in the insert form with the selected date

184
Web Server - Ask For Help / Re: Adobe Acrobat - Direct Print
« on: September 05, 2014, 10:38:13 AM »

185
Web Server - Ask For Help / Re: Adobe Acrobat - Direct Print
« on: September 05, 2014, 10:24:51 AM »
Neil i found this in a web site. Try it and see if it works

<html>
<script language="javascript">
timerID = setTimeout("exPDF.print();", 1000);
</script>
<body>
<object id="exPDF" type="application/pdf" data="PdfFileName.pdf" width="100%" height="500"/>
</body>
</html>

http://stackoverflow.com/questions/205180/how-to-print-a-pdf-from-the-browser

186
Web Server - Ask For Help / Re: Adobe Acrobat - Direct Print
« on: September 05, 2014, 10:15:36 AM »
Neil, maybe this can help. this is something i would like to do, but never found specific examples or if it possible to make it.

http://www.torres.at/pdf-printing-net/

187
E-Mail - Ask For Help / Re: Sendmail via Gmail
« on: August 21, 2014, 05:51:53 AM »
Enable errors in the mail object and check for errors. They are more easy to debug.

I think the parameters like mail server and port are not passed to the mail procedure call (my guess)

Remember to disable errors notifications after the app is working fine


188
Web Server - Ask For Help / Re: Exception at address 00046E149
« on: August 18, 2014, 07:09:28 AM »
In adition to what Bruce says, verify that you have included the String Theory (required) in the app.

189
Web Server - Ask For Help / Re: Printing PDF
« on: August 18, 2014, 05:54:02 AM »
Bryan,an additional approach i have to this, is that i have an dedicated account for the service with a printer defined when i install the web server as a service.

The problem you are having replicates with the default system account of windows even if there's a printer defined. (see the screen shot for reference)




[attachment deleted by admin]

190
Web Server - Ask For Help / Re: Debufview on Server
« on: August 13, 2014, 06:21:24 AM »
Brian
I did have a similar error with browses and it was related to a custom icon i was loading not present in the location it was supposed to be.

For some reason the file not found error was not the name of the missing icon but the procedure instead.

If you have the browse in a form check the form too.


191
Web Server - Ask For Help / Re: Application gone mad
« on: August 04, 2014, 11:38:18 AM »
Brian, looking at the file with the debug view i see the filter is not working right

00001052   1276.17687988   [180616] [st] [netTalk][thread=3] brwMTAssigned :: Filter: CVF:AssignedTo= AND cvf:status='ASSIGNED'

CVF:AssignedTo  does not have any value so that explains why other users see everyone's data.

After you validate the login, did you assign the StaffID to use it in that session?

192
Web Server - Ask For Help / Re: Local SSL reset
« on: July 23, 2014, 05:55:46 AM »
Bruce, maybe your system environment variables has the path for the config file and when the bat file starts does not give the warning.

Something like this

OPENSSL_CONF=c:\[PATH TO YOUR OPENSSL DIRECTORY]\bin\openssl.cfg

Cheers

193
Web Server - Ask For Help / Re: Local SSL reset
« on: July 22, 2014, 08:26:26 AM »
Bruce, for some reason this is broken a long time ago. I did use the old tools provided in C6 (shame on me) to generate the requests.



[attachment deleted by admin]

194
The Rest - Ask For Help / Re: SSL could not load SSL DLLs
« on: June 23, 2014, 05:15:45 AM »
For me, happen something similar and this works for me. Try it and see if you have the same results.

http://capesoft.com/docs/NetTalk8/NetTalkWebSecure.htm#Troubleshooting

http://www.microsoft.com/en-us/download/details.aspx?id=29

-73: NetTalk Could Not Load SSL DLLs [LIBEAY32.DLL, LIBSSL32.DLL, SSLEAY32.DLL, MSVCR90.DLL]
The SSL functionality in NetTalk requires the LIBEAY32.DLL, LIBSSL32.DLL and SSLEAY32.DLL files. These can be found in the \clarion8\accessory\bin folder. (or \clarion6\3rdparty\bin if you are using Clarion 6). Copy these three DLL's to your application folder (and include them in your program install.)

Note: The SSL DLL's were updated in NetTalk 7.11, and the MSVCR90.DLL is a new dependency, replacing the dependency on MSVCRT71.DLL. Although the MSVCR90.DLL is shipped with NetTalk, the recommended approach to installing this DLL on your target system is to install the Microsoft Visual C++ Redistributable Package (x86) on the target machine.

195
Web Server - Ask For Help / Re: Script Error 8.13
« on: June 03, 2014, 05:43:21 AM »
This thread sound like a trivia =D

Glad you found the problem Bruce.


Pages: 1 ... 11 12 [13] 14 15