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.


Topics - lanmicro

Pages: [1] 2 3
1
Web Server - Ask For Help / WebServer Hanging
« on: October 20, 2015, 08:29:32 AM »
Hi Guys,

I have a webserver that is hanging several times a day when it loses its connection to the Scalable database.

It appears to occur when a p_web.Open is issued at the beginning of a procedure.  I have placed a prop:disconnect before the p_web.Opens, but the hangs are still occurring.

Is there some way to capture the fact of the lost connection before the p_web.Open and issue a prop:disconnect and reopen all of my files?

2
I need to emulate the following XML message receipt from my customer. 
The part that has me stumped is the <UCAPOSMessage...> before the <CustomerQuery> tag.  How can I read that part of the message and include that information in my WebServer documentation?

I will also need to send similar information out in the response.  I hope once I know how to receive it the how to send it will be similar.

<?xml version="1.0" encoding="UTF-8"?>
<UCAPOSMessage version="1.0.0.0" Service="POSAccountInquiry" MessageStatus="Pending" MessageID="1" MessageSentDate="2015-05-26T15:05:23" SoftwareVersionNumber="1000" registerID="21">
   <CustomerQuery>
      <StoreID>1234</StoreID>
      <CashierID>1958094</CashierID>
      <TranDate>2015-04-25</TranDate>
      <TranTime>10:32</TranTime>
      <CustomerNumber>1234567890123</CustomerNumber>
   </CustomerQuery>
</UCAPOSMessage>

3
E-Mail - Ask For Help / Send Email getting -68 error
« on: December 19, 2013, 12:54:16 PM »
Hi Guys,

Using NetTalk 7.31 and attempting to send email. 

ThisEmail.ToList   = xyz.com
ThisEmail.From = xya.net
ThisEmail.Server = outbound.att.net
ThisEmail.Port = 465
ThisEmail.AuthUser = AuthUser
ThisEmail.AuthPassword = AuthPassword
ThisEmail.SSL = 1
ThisEmail.SendMail( net:EmailMadeFromPartsMode )

I am getting an error -68.  Something about certificate not found. 

This application could be on dozens of machines, all with a different email client. 

What do I do about a certificate that needs to be installed on lots of machines? 

Or am I thinking about this wrong?

4
Web Server - Ask For Help / Server doesn't respond
« on: April 02, 2013, 12:12:37 PM »
Looks like my old topic got full.  Can't see page 2 of responses anymore.

What I am doing now is causing my application to exit at midnight every night and using the task scheduler to restart the application at 12:05am.  So the site is down from 12:00 to 12:05am.

Worked last night, will keep all informed.

5
Web Server - Ask For Help / Server doesn't respond
« on: March 03, 2013, 10:48:27 AM »
Hi Guys,

Sometimes afte sitting for a while (usually overnight) the Webserver stops responding.  The program is running (this happens both when running as an exe and as a service),  but the browser won't connect.

Attached is a tps file with a log of traffic showing the gets and posts.  Has this happened to anyone else?

The stuff dated 3/03 11:23 is where no response to browser occurred.

The stuff dated 3/03 11:31 is after the program was stopped and restarted.

NETTALK 6.51 Clarion 6.3

[attachment deleted by admin]

6
Web Server - Ask For Help / Possible to have multi line browse headers?
« on: January 30, 2013, 12:32:44 PM »
Hi Guys,

I have a column that displays one character.  But the header above it is very verbose.  Like this:   

Stupid Header Title For Customer
                        X

Is ther a way to use multiple rows for the header so I don't waste so much horizontal space.

Like this:

Stupid Header Title
    For Customer
            X


7
Web Server - Ask For Help / Crystal Reports?
« on: December 02, 2011, 03:48:33 PM »
Hi Guys,

My customer has a bunch of Crystal Reports that he would like his customers to run on demand. 

Is it possible to to create a NTWS app that will run the Crystal Report from a NetTalk6 browse and send the output to a PDF for the enduser to access in their browser?


8
Web Server - Ask For Help / running clarion code from a menu
« on: July 28, 2011, 12:01:45 PM »
Hi Guys,

Using NT5.29, I want to update a session variable from a menu item and have the menu refresh.  (The session variable determines what the menu shows).

  if p_web.GSV( 'l:CbAskExperts' )
    l:CbAskExperts          = 0
    p_web.SSV( 'l:CbAskExperts', l:CbAskExperts )
  else
    l:CbAskExperts          = 1
    p_web.SSV( 'l:CbAskExperts', l:CbAskExperts )
  end!if

This is the code I want to run but I can't seem to find a place to add the code so that it executes only when my menu item is clicked on.

Any suggestions?

9
Web Server - Share Knowledge / DatePicker not allowing options
« on: July 25, 2011, 01:48:48 PM »
  ! Start of "Set jQuery Date Options"
  ! [Priority 5000]
  loc:options = choose( loc:options='', '', clip( loc:options ) & ',' ) & 'numberOfMonths: 3,changeMonth: true,changeYear: true'
  ! End of "Set jQuery Date Options"
  packet = clip(packet) & p_web.CreateDateInput ('FUSE:DateJoined',p_web.GetSessionValue('FUSE:DateJoined'),loc:fieldclass,loc:readonly,,,loc:javascript,loc:options,loc:extra,,,,,,0)
  do SendPacket

My code in red above does not change the properties of the datepicker.  What might I be doing incorrectly?

10
Web Server - Ask For Help / Tool Tip Size Limit?
« on: June 27, 2011, 11:56:25 AM »
Hi Guys,

Is there a limit to the number of characters that can be entered into a tooltip?  The code doesn't appear to limit it.  Here is some sample code for you to test.

l:TxSearchExpressions string( 1500 )

  l:TxSearchExpressions = 'Search Expressions:<13,10><13,10>' &  |
                          'Use AND (all upper case) to find study records that contain all terms connected by AND.<13,10>' & |
                          'For Example:<13,10>' & |
                          'prostate cancer AND radiation<13,10>' & |
                          'heart disease AND stroke AND California<13,10><13,10>' & |
                          'Use OR (all upper case) to find study records that contain either term connected by OR.<13,10>' & |
                          'For Example:<13,10>' & |
                          'Aspirin OR ibuprofen<13,10>' & |
                          'heart disease OR heart attack<13,10><13,10>' & |
                          'Use NOT (all upper case) to find study records that do not contai the term following NOT.<13,10>' & |
                          'For example:<13,10>' & |
                          'Immunodeficiency NOT AIDS<13,10><13,10>' &|
                          'Likewise AND, OR, NOT and parentheses can be used to create more complicated search expressions.<13,10>' & |
                          'For Example:<13,10>' & |
                          'prostate cancer AND NOT ( radiation OR homeopathic remedies )<13,10>' & |
                          '( heart disease OR heart attach ) AND ( stroke OR clot )<13,10><13,10>' & |
                          'Note that the use of AND and OR as logical operators can be confusion.<13,10>' & |
                          'An appropriate search for a list such as,<13,10>' & |
                          'Ear, Nose, and Throat Conditions <13,10>' & |
                          'is the expression <13,10>' & |
                          '( Ear OR Nose OR Throat ) AND Conditions <13,10>' & |
                          'Fortunately, search will do a pretty good job of finding the right studies either way. <13,10>' & |
                          'To search for AND as a word, instead of using it as an operator, put it in quotes.<13,10>' & |
                          'Likewise, you can quote OR, NOT and parentheses.'

My tooltips stop displaying on the line "Likewise AND, OR, NOT and parentheses"

11
Web Server - Ask For Help / using Fetch from a web server
« on: June 04, 2011, 10:38:38 AM »
How can I use Fetch on a button to get some XML that I want to display in a browse?

My intention is to have the user enter some information that I will use as parameters on the url and the url will return the XML to server.

In the PageReceived I want to extract the information from the XML and place it into a memory table and display the information.

Can it be done?

12
Web Server - Ask For Help / forum software written in NetTalk
« on: June 03, 2011, 12:49:00 PM »
Is the forum software located at http://clarion.capesoft.com/BrowseTopics available?  It was mentioned that it might be last year sometime.

13
Web Server - Ask For Help / Understanding GetServer
« on: March 03, 2011, 09:53:05 AM »
Hi Bruce,

Let me run some assumptions by you.

1.  Servers announce themselves to the world.
2.  GetServers() listens for these announcements.
3.  If a lot of work is being done then the announcements might get farther apart.
4.  If GetServers() is listening but the Server is not sending at that time then they get out of sync.

If the above could be true then what method could I use to send announcements more frequently on a thread that just does that?

14
Web Server - Ask For Help / GetServers erratic response?
« on: February 23, 2011, 10:00:47 AM »
Hi Guys,

Earlier I thought I had resolved a problem w/ GetServers not returning all available servers by installing Hamachi.  This turns out to be not true.  Intermittently GetServers will not return all Servers on the network. 

What might be the problem?  If GetServers is not returning all of the Servers I cannot update the servers that are not in the list.  If GetServers is not returning the Servername of a known Server how can I send something to that server?

Even if I had a known list of servers (not dependant on GetServers) would I still get an error when attempting to send something to a Server that GetServer couldn't return?

15
Web Server - Ask For Help / Receiver Not Found Error
« on: January 25, 2011, 07:14:42 AM »
Hi Guys,

Periodically I am getting a ReceiverNotFound Error when attempting to send data to another computer.  This doesn't make sense to me because I do a getServers call just before looping through the servers list to get the servers to send to.  What might I be doing wrong?

See attached errormessage.

[attachment deleted by admin]

Pages: [1] 2 3