NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew51 on June 27, 2018, 03:19:40 PM

Title: Multi dll upgrade to NT 10.25
Post by: Matthew51 on June 27, 2018, 03:19:40 PM
I upgraded from about 10.20 or so.  All the Dlls compiled fine but when I got to the main exe, whis has the WebServer and WebHandler procedures I get the following errors:

Unknown identifier: ?SET:ACCESSCONTROLALLOWORIGIN - C:\Share\C8APPS\SCS Server\MainExe001.clw:1835,66
Unknown identifier: ?SET:XFRAMEOPTIONS - C:\Share\C8APPS\SCS Server\MainExe001.clw:1835,42
Unknown identifier: ?SET:CONTENTSECURITYPOLICY - C:\Share\C8APPS\SCS Server\MainExe001.clw:1836,66
Unknown identifier: ?SET:STRICTTRANSPORTSECURITY - C:\Share\C8APPS\SCS Server\MainExe001.clw:1836,12
Unknown identifier: ?SET:REFERRERPOLICY - C:\Share\C8APPS\SCS Server\MainExe001.clw:1837,66
Unknown identifier: ?SET:CONTENTSECURITYPOLICYREPORTONLY - C:\Share\C8APPS\SCS Server\MainExe001.clw:1837,12
Unknown identifier: ?SET:XFRAMEOPTIONS - C:\Share\C8APPS\SCS Server\MainExe001.clw:1878,10
Unknown identifier: ?SET:ACCESSCONTROLALLOWORIGIN - C:\Share\C8APPS\SCS Server\MainExe001.clw:1882,10
Unknown identifier: ?SET:STRICTTRANSPORTSECURITY - C:\Share\C8APPS\SCS Server\MainExe001.clw:1886,10
Unknown identifier: ?SET:CONTENTSECURITYPOLICY - C:\Share\C8APPS\SCS Server\MainExe001.clw:1890,10
Unknown identifier: ?SET:CONTENTSECURITYPOLICYREPORTONLY - C:\Share\C8APPS\SCS Server\MainExe001.clw:1894,10
Unknown identifier: ?SET:REFERRERPOLICY - C:\Share\C8APPS\SCS Server\MainExe001.clw:1898,10

The code around those lines is:
Code: [Select]
    case Event()
    of Event:Accepted
      case Field()
      of ?set:InsecurePort          orof ?set:SecurePort    orof ?set:AccountName
      orof ?set:CertificatesFolder  orof ?set:Domains       orof ?set:BindToIPAddress
      orof ?set:WebFolder           orof ?set:AcmeFolder    orof ?set:Staging
      orof ?set:SessionTimeout      orof ?set:xFrameOptions orof ?set:AccessControlAllowOrigin
      orof ?set:StrictTransportSecurity                     orof ?set:ContentSecurityPolicy
      orof ?set:ContentSecurityPolicyReportOnly             orof ?set:ReferrerPolicy
        do SaveSettings
      End
      case Field()

I have already upgraded StringTheory and all other Capesoft templates we use.

Thank you
Matthew
Title: Re: Multi dll upgrade to NT 10.25
Post by: Bruce on June 27, 2018, 10:24:05 PM
Hi Matthew,

you need to repopulate the Settings Control template on the WebServer window.

a) go to the WebServer window in the IDE
b) delete the settings template
c) go back to the app tree (don't miss this step)
d) back onto the window
e) populate the settings control template. It'll take 3 clicks [1]. then
f) IMMEDIATELY go back to the app tree. If you do anything else first the IDE will almost certainly GPF.
g) then back into the window, and tidy up the layout of the various settings fields.

[1] The IDE does not add control templates with SHEET controls well at all. So the controls are likely to be a bit out of place. All fine relative to each other, so IN STEP G grab them all on the tab and move them to where they make sense.

Cheers
Bruce


Title: Re: Multi dll upgrade to NT 10.25
Post by: Jane on June 28, 2018, 08:25:24 AM
Matthew,

Bruce demonstrates repopulating that template in nettalk webinar # 185 at about the 12 minute point.
Title: Re: Multi dll upgrade to NT 10.25
Post by: Matthew51 on June 29, 2018, 03:19:51 PM
Got it, thanks.  Now that I've seen this I do remember watching how to do this in a webinar.

Matthew