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

Pages: [1] 2
1
Web Server - Ask For Help / Re: WebServer Logging to Disk issue
« on: June 18, 2025, 05:21:28 AM »
Thanks Ron. 

I like the DebugView idea as with that error I'm just trying to "buy a vowel" at this point.  I'm not doing anything wild and crazy that I know of.   

The only commonality is it seems to occur when there have been a lot of gps lookups and a call to google maps may be occurring.  I did find where if the user wasn't allowing access to their location it would pass 0,0 to google maps as the from location and google maps would fail.  I did substitute the Company location under that condition which made google maps happy and google errors have gone away.

Thanks,

Kurt

2
Web Server - Ask For Help / Re: WebServer Logging to Disk issue
« on: June 16, 2025, 06:39:28 AM »
Thanks for the help Alberto and Ron.

I updated my code to look for an error after the insert however it was error free so I then added open and close statements with no success.

      !Before add to Log Que
      If web:EnableLogging = 2 
        glo:st.Trace('*** Adding Log Record')
        Access:WebLogFile.Open()
        Clear(WebLogFile:Record)
        Log:Line = format(Today(),@D3)&format(Clock(),@T3)&' -- '&clip(p_Data)&','&p_ip   
        Access:WebLogFile.Insert()
        IF ERRORCODE() then glo:st.Trace('*** Write error -' &ERROR()).     
        Access:WebLogFile.Close()
      end

Ron, I'm trying to track down a "memory freed twice error" so I"m trying to capture all the log entries up to the time the program crashes. 


I've even moved it to different embed points within the ThisWebServer.AddLog PROCEDURE but it doesn't seem to matter.  I see the trace statements but no log activity is being written.


Thanks,

Kurt

3
Web Server - Ask For Help / Re: WebServer Logging to Disk issue
« on: June 12, 2025, 12:38:40 PM »
Hi Ron,

     Regarding the RETURN, I think it is adding one.  If you close the webapp and reopen it, it does add an additional record to the log file.  The record length is currently 1024 so it is large but doesn't appear to fill the record with blanks.  You can open it with notepad and see it's performing a carriage return at the end of the record.

      I did use the Add(record) and got the same results as the Insert record.  It only adds the one record even though with trace statements it shows that the code is being executed.

Thanks,

Kurt

4
Web Server - Ask For Help / WebServer Logging to Disk issue
« on: June 11, 2025, 10:37:35 AM »
I'm trying to turn on Logging to Disk.  I'm using an ASCII file and have entered the file information in the WebServer logging extension.  However when I do that, the log file is never created (and no log file records as well obviously).

I then added code in the AddLog procedure to manually create the record.  However it only creates the first entry and then stops adding records after that.

Any suggestions as to what's going on and how to resolve it?  Here is my code where the record is added:

      ! Start of "Before Adding to Log Queue"
      ! [Priority 5000]
      !Before add to Log Que
      If web:EnableLogging = 2
        Clear(WebLogFile:Record)
        Log:Line = format(Today(),@D3)&format(Clock(),@T3)&' -- '&clip(p_Data)&','&p_ip   
        Access:WebLogFile.Insert()
      end
      ! End of "Before Adding to Log Queue"
      Add(LogQueue,1)
      Loop While Records(LogQueue) > 500
        Get(LogQueue,501)
        Delete(LogQueue)
      End

Thanks,

Kurt

5
I have webserver (NT14.19) that installed as a service.  When it reboots the service starts but it doesn't listen until it is started on the desktop.

6
Thank you Alberto, I think that will do the job.

7
That's awesome, Thanks Bruce!

8
I thought since you can select an address in a browser (from a web page), do a lookup and in Google select the map option that it would be possible.  Maybe in some Rube Goldberg sort of way?   

;)

Thanks,

Kurt


9
I'm trying to create a lookup button on a Nettalk WebForm that will call a native mobile map app with a physical address.  Is that possible?

Thanks,

Kurt

10
Web.  Is that a possibility?

11
Does anyone have a working example of how to get a physical address from a lat/long using the HerePlatform in Nettalk 14?  I've attempted to do this but not having success with it.

Thanks,

Kurt

12
Web Server - Share Knowledge / Filtering SQL dates in Nettalk Reports
« on: October 02, 2018, 07:11:51 AM »
Hi,

I was getting spurious results with the following filter where I would get a record with a date outside of the range (typically the lower end)

     StartAssmtDate and EndAssmtDate are session variables provided by the end user for the report date range

     loc:MyReportFilter ='ASMT:AsmtDate >= '&StartAssmtDate&' and ASMT:AsmtDate <= '&EndAssmtDate

I found a post by Shankar from the news groups that said SQL queries work best when using the YYYY-MM-DD format (@D10-) and after changing my query to the following, everything started working as expected.

     loc:MyReportFilter ='format(ASMT:AsmtDate,@D10-) >= '&''''&format(StartAssmtDate,@D10-)&''''&' and format(ASMT:AsmtDate,@D10-) <= '&''''&format(EndAssmtDate,@D10-)&''''

I hope that helps someone.

Kurt Boller

13
Hi,

     I have a MS SQL table with an unique key field that's managed by the SQL server (flagged as ReadOnly in the database definition, external section).  However it looks like Nettalk tries to update that field when I update a record and gives a duplicate key error.  What do I need to do to get Nettalk to ignore that field for any updates?

Thanks,

Kurt

14
Web Server - Ask For Help / Re: Browse refresh first record
« on: September 13, 2017, 12:10:20 AM »
Hi Richard,

    Do you mind sharing how you did the browse auto-refresh?  I need to have a browse auto-refresh when new records are added in an application I'm working on.

Thanks,

Kurt

15
Web Server - Ask For Help / Scheduling app issue
« on: August 09, 2017, 01:06:25 PM »
I have a server app that's based on the scheduling example.  My version of the Horizontal planner has a job list on the left side and dates across the top.  However when I click on a date cell on a specific job row, it doesn't automatically pop up a window to enter an assignment for that job for that day.  However the browse list does popup an assignment window for that entry.  What's the best way to track down why it's not working in the planner window?   I've gone through each setting and compared it to the example and from what I can see everything looks the same.

Thanks,

Kurt

Pages: [1] 2