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.
16
Web Server - Ask For Help / Uploaded file variable gets cleared when errors on form
« on: March 08, 2019, 03:30:28 AM »
I have a memory form with a bunch of local fields - some for user input and some for file upload. All fields are primed to blank/0.
The problem is that when the user clicks save and there's an error on one of the input fields, then the vars holding the already uploaded file(s) get cleared and the user has to select/upload again.
Any way to overcome this?
Peter
C11/NT11.07
The problem is that when the user clicks save and there's an error on one of the input fields, then the vars holding the already uploaded file(s) get cleared and the user has to select/upload again.
Any way to overcome this?
Peter
C11/NT11.07
17
Web Server - Ask For Help / Admin app - how
« on: January 14, 2019, 11:51:56 PM »
What's the best way to set up a separate admin app? Preferably, I would like for the app to run in the same domain as the main app (a sub domain would be ok) and to be secured by a LE cert. Are there options other than using the host.exe?
TIA
Peter
TIA
Peter
18
Web Server - Ask For Help / Uploaded images are being rotated
« on: October 21, 2018, 08:45:37 AM »
I wonder if anyone has experienced this - and know how to fix it :-)
When users upload pictures from their phones or pc's then most of the time the pics are rotated by -90 degrees when displayed on a NT form.
However, it's not a NT specific problem. It also happens if I include the image on a very simple HTML page but it does NOT happen when I open the picture in Windows File Explorer.
Peter
When users upload pictures from their phones or pc's then most of the time the pics are rotated by -90 degrees when displayed on a NT form.
However, it's not a NT specific problem. It also happens if I include the image on a very simple HTML page but it does NOT happen when I open the picture in Windows File Explorer.
Peter
19
Web Server - Ask For Help / 10.35 - locators all over
« on: October 09, 2018, 01:25:22 AM »
10.35 is displaying locators - top and bottom - for ALL browses that are embedded on forms - even if show locators are set to 'none'.
Using 'ShoeStrap2'.
Edited: The above is in fact incorrect. I'm seing it on my IndexPage (NetWebPage). And there it's true for all embedded browses.
Peter
Using 'ShoeStrap2'.
Edited: The above is in fact incorrect. I'm seing it on my IndexPage (NetWebPage). And there it's true for all embedded browses.
Peter
20
The Rest - Ask For Help / NetAuto error on Google Cloud
« on: August 13, 2018, 12:51:26 AM »
For about 16 years (!) I've been using NT to limit the number of concurrent users in one of my apps using a NetClient object. It works by counting the number of clients attaching themselves to a service queue and comparing that number to a file holding the number of seats allowed. Rock solid, the code hasn't been touched for all these years.
Now one customer has moved the app to Google Cloud and upon starting the program they're getting this error:
Any clue as to what is happening here? Is this because NetAuto only works on a LAN?
I do have SecWin but I'd rather not have to go thru the hazzle of re-writing my license check function, if possible.
Peter
Now one customer has moved the app to Google Cloud and upon starting the program they're getting this error:
Quote
-3 Too many NetTalk NetAuto Instances on one machine.
Error occured in function (Parent)NetServer.Init
Any clue as to what is happening here? Is this because NetAuto only works on a LAN?
I do have SecWin but I'd rather not have to go thru the hazzle of re-writing my license check function, if possible.
Peter
21
Web Server - Ask For Help / The Cards Example
« on: August 01, 2018, 09:01:04 PM »
Hi Bruce,
I'm trying out the cards example that you demonstrated in webinar #196 but I'm getting some weird results.
In your demo each field displays on a separate line inside the cell whereas I get what appears to be random line breaks.
I'm also having some problems with the number of cards being displayed on each 'row'. Even though I've set the cell width like you demo'ed I sometimes get 8 cards per 'row' and sometimes only two thus making the cards width different.
Could this be because I'm using the 'ShoeStrap2' theme rather than 'base'?
On a side note the same class name is generated twice into the browse row:
Peter
I'm trying out the cards example that you demonstrated in webinar #196 but I'm getting some weird results.
In your demo each field displays on a separate line inside the cell whereas I get what appears to be random line breaks.
I'm also having some problems with the number of cards being displayed on each 'row'. Even though I've set the cell width like you demo'ed I sometimes get 8 cards per 'row' and sometimes only two thus making the cards width different.
Could this be because I'm using the 'ShoeStrap2' theme rather than 'base'?
On a side note the same class name is generated twice into the browse row:
Quote
<div class="nt-browse-grid-row nt-browse-grid-row nt-browse-row-data browsecatalog-row-data" data-elem="browse-row" data-do="dc">
Peter
22
Web Server - Ask For Help / Re: NT 10.27 Issues
« on: July 28, 2018, 04:24:43 AM »
Hi Brian,
There are other problems as well; for example when starting a server the program just hangs before the window is completely drawn and the file appname.serversettings.xml.tmp continues to grow. So not quite ready for production yet :-)
Peter
There are other problems as well; for example when starting a server the program just hangs before the window is completely drawn and the file appname.serversettings.xml.tmp continues to grow. So not quite ready for production yet :-)
Peter
23
Web Server - Ask For Help / Securing a 'secret' web server
« on: June 14, 2018, 09:16:28 AM »
Several years ago I added a web server to a desktop app thereby allowing users to access certain parts of the app functionality from a tablet and this has worked fine all along.
The tablet reach the app by using ip address and a port number that was opened in the firewall. Neither the ip or the port no are 'officially published' (but they may/will of course be found by bots etc.)
Now the customer wants a secured connection to the web server (thanks to GDPR!).
So my question is: can I use the built-in LE support for this since there's no registered domain and since they're using an 'odd' port number? Or is the right solution simply to set up a real web server for this purpose? (I suspect the latter).
Peter
The tablet reach the app by using ip address and a port number that was opened in the firewall. Neither the ip or the port no are 'officially published' (but they may/will of course be found by bots etc.)
Now the customer wants a secured connection to the web server (thanks to GDPR!).
So my question is: can I use the built-in LE support for this since there's no registered domain and since they're using an 'odd' port number? Or is the right solution simply to set up a real web server for this purpose? (I suspect the latter).
Peter
24
Web Server - Ask For Help / Update a BLOB field (SQL)?
« on: April 26, 2018, 04:59:39 AM »
Has anyone here ever successfully UPDATED a record with a BLOB field in it using NT and MSSQL?
Over the years I've stored thousands of documents and pictures in BLOBs but now I need to UPDATE a record with a BLOB field and NT just dies on me.
If I remove the BLOB field from the dictionary then everything works great! But since I want the users to be able to take a selfie and upload it I need this field. Could be they had a new hairdo or something which would make them want to update their pic
I can do this in a desktop program so I think it's somehow related to NT.
If somebody know how to deal with this I'm all ears!
TIA
Peter
Over the years I've stored thousands of documents and pictures in BLOBs but now I need to UPDATE a record with a BLOB field and NT just dies on me.
If I remove the BLOB field from the dictionary then everything works great! But since I want the users to be able to take a selfie and upload it I need this field. Could be they had a new hairdo or something which would make them want to update their pic
I can do this in a desktop program so I think it's somehow related to NT.
If somebody know how to deal with this I'm all ears!
TIA
Peter
25
Web Server - Ask For Help / Take a photo
« on: February 26, 2018, 10:04:32 PM »
My users want to be able to take a photo and upload it so I designed a little form for that.
However, I'm finding that it's working ok in Crome and IE/Edge but not in FF and Safari (the latter throws an Error in site Javascript). Same result in my app and in the example app web79.
Since I'm not in control of which browser the users are using I must conclude that "it's not working". Are others seing the same or is there something I should know? I'm using NT10.15
Peter
However, I'm finding that it's working ok in Crome and IE/Edge but not in FF and Safari (the latter throws an Error in site Javascript). Same result in my app and in the example app web79.
Since I'm not in control of which browser the users are using I must conclude that "it's not working". Are others seing the same or is there something I should know? I'm using NT10.15
Peter
26
Web Server - Ask For Help / LetsEncrypt once again
« on: September 01, 2017, 12:33:22 AM »
When trying to request a certificate I get a server response error 400 and the log shows this:
[ 9/01/17-10:24:57] Registering Account easydata
[ 9/01/17-10:24:56] D:\EasyWEB - NT10\certificates\easydata.dk.crt does not exist
[ 9/01/17-10:24:56] Failed to Create D:\EasyWEB - NT10\certificates\easydata-CA.crt
[ 9/01/17-10:24:56] Failed to create D:\EasyWEB - NT10\certificates\easydata-CA.key
Ports are set to 443/80 respectively and CA account is set to "easydata" and Domains to "easydata.dk" (without the hyphens)
What am I missing?
Peter
[ 9/01/17-10:24:57] Registering Account easydata
[ 9/01/17-10:24:56] D:\EasyWEB - NT10\certificates\easydata.dk.crt does not exist
[ 9/01/17-10:24:56] Failed to Create D:\EasyWEB - NT10\certificates\easydata-CA.crt
[ 9/01/17-10:24:56] Failed to create D:\EasyWEB - NT10\certificates\easydata-CA.key
Ports are set to 443/80 respectively and CA account is set to "easydata" and Domains to "easydata.dk" (without the hyphens)
What am I missing?
Peter
27
Web Server - Ask For Help / NT10Server question
« on: July 30, 2017, 06:47:58 AM »
Hi Bruce,
Does NT10Server include the new table formatting options (responsive) now or does that follow later?
Peter
Does NT10Server include the new table formatting options (responsive) now or does that follow later?
Peter
28
Web Server - Ask For Help / When does NT go gold?
« on: March 01, 2017, 02:09:41 AM »
We haven't seen an official gold release since
I'm just wondering what the criteria might be - and what the purpose of the long running beta state is (if there is one )
Peter
Quote
Version 4.37 (Gold) 10 August 2009
I'm just wondering what the criteria might be - and what the purpose of the long running beta state is (if there is one )
Peter
29
Web Server - Ask For Help / What can break the logic in a form wizard?
« on: December 13, 2016, 02:04:54 AM »
Hi,
I have a netwebform with Tab Style set to Wizard. It has worked for a while but all of the sudden the "wizard logic" is broken.
When first opened the Previous AND Next buttons are both enabled, but they are not responding when clicked. The Save button is disabled as expected. Only button that works is Cancel.
I've made several changes to the form but even after removing those the wizard doesn't work.
I have experienced this once before a while ago and IIRC I had to create a new procedure all over. However, this is not desirable as the form has 6 tabs and a load of embedded code so I'm looking for suggestions for what to do/where to look. Firebug is of no help since the wizard buttons dissappear when you start Firebug.
It's a major show stopper for us as we depend on this wizard for enrolling new customers into the system.
TIA
Peter
UPDATE: Finally, I managed to get the form working again. I did find two <br> tags in my xHTML and corrected them to <br />. However, that didn't help (besides, they had been there all along). Then, after switching the tab style back and forth between 'Wizard' and 'Default' a number of times (compiling after each change) all of the sudden the form worked as expected. That's good but I'm not convinced I found the real cause of the problem. Keeping my fingers crossed that it won't happen again!
Peter
I have a netwebform with Tab Style set to Wizard. It has worked for a while but all of the sudden the "wizard logic" is broken.
When first opened the Previous AND Next buttons are both enabled, but they are not responding when clicked. The Save button is disabled as expected. Only button that works is Cancel.
I've made several changes to the form but even after removing those the wizard doesn't work.
I have experienced this once before a while ago and IIRC I had to create a new procedure all over. However, this is not desirable as the form has 6 tabs and a load of embedded code so I'm looking for suggestions for what to do/where to look. Firebug is of no help since the wizard buttons dissappear when you start Firebug.
It's a major show stopper for us as we depend on this wizard for enrolling new customers into the system.
TIA
Peter
UPDATE: Finally, I managed to get the form working again. I did find two <br> tags in my xHTML and corrected them to <br />. However, that didn't help (besides, they had been there all along). Then, after switching the tab style back and forth between 'Wizard' and 'Default' a number of times (compiling after each change) all of the sudden the form worked as expected. That's good but I'm not convinced I found the real cause of the problem. Keeping my fingers crossed that it won't happen again!
Peter
30
Web Server - Ask For Help / Why is this being generated?
« on: November 09, 2016, 12:39:36 PM »
Hi,
I was looking in the generated source for an update procedure and saw this: Why is this being generated? (there arent's that many files in the prococedure fwiw)
Peter
I was looking in the generated source for an update procedure and saw this: Why is this being generated? (there arent's that many files in the prococedure fwiw)
Code: [Select]
LoadRelatedRecords Routine
! Start of "Load Related Records Start"
! [Priority 5000]
! End of "Load Related Records Start"
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records Middle"
! [Priority 5000]
! End of "Load Related Records Middle"
loc:ok = 0
! Start of "Load Related Records End"
! [Priority 5000]
! End of "Load Related Records End"
Peter