NetTalk Central

Author Topic: NTWS + Secwin  (Read 4725 times)

Lee1114

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
NTWS + Secwin
« on: June 18, 2013, 11:25:53 PM »
Hi Bruce,

Having some trouble following the document on the subject.

Added the Secwin global extension and also imported the Secwin tables.

 1) On the general tab, the Unique Encryption Code section is not visible.
 2) On the Login Options tab, I cannot check or uncheck any of the options.

The same is occurring on Web51 example app.

Any ideas?

NT 7.11
Secwin 6.22
StringTheory 1.89

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NTWS + Secwin
« Reply #1 on: June 20, 2013, 05:19:18 AM »
>> 1) On the general tab, the Unique Encryption Code section is not visible.

In a multi-dll app this setting appears in the data Dll. You'll actually find the setting on the Advanced tab of the Secwin settings as well (in 6.22 and earlier.)

From build 6.23 of Secwin the setting will be visible on the General tab, although you'd still have to set it in the data dll.

(So in the short term - add it to the data dll, and set it on the advanced tab there. In the long term it'll be in the data dll, but on the General tab.)

cheers
Bruce

Lee1114

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: NTWS + Secwin
« Reply #2 on: July 02, 2013, 12:28:10 AM »
Hi Bruce,

Thanks for the reply, that is all working now.

However, having a new issue.

When creating a new user from the SecwinWebLoginForm, I get the following error: "The attempt to send the email failed. The email address is probably invalid."
I've tracked it down and it seems that the temp password is not being set for some reason.

Procedure: SecwinWebCreateUser
Embed: Procedure Routines

See attachment.

Using the latest version of Secwin(6.22)



[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NTWS + Secwin
« Reply #3 on: July 04, 2013, 09:46:15 PM »
do you get the same effect in the example? Or can you post an example here?

cheers
Bruce

Lee1114

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: NTWS + Secwin
« Reply #4 on: July 08, 2013, 01:23:23 AM »
Hi Bruce,

Getting the same issue with the example (web51) app.

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NTWS + Secwin
« Reply #5 on: July 09, 2013, 03:25:53 AM »
I know I'm probably asking the obvious - but did you mod the example with your own web server settings? ie on the Email server settings tab of the server?



Lee1114

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: NTWS + Secwin
« Reply #6 on: July 09, 2013, 03:28:30 AM »
yes

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NTWS + Secwin
« Reply #7 on: July 15, 2013, 11:44:24 AM »
Sorry for the long delay Lee -
I've run example 51 here, but I'm not getting the same issue as you.

Obviously getting the settings correct for the email server is somewhat important, but it sounds like you did that ok.

What I'll do for the next build (7.16) is tweak the example app a bit to send the email output to debugview. That way it'll be easier to see exactly what's happening "inside" the email send.

cheers
Bruce

Lee1114

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: NTWS + Secwin
« Reply #8 on: July 16, 2013, 12:37:29 AM »
Hi Bruce,

Thanks for the reply.

I don't think the email send is the problem here, it never gets to attempt the send.
The var ReturnValue = 1001, which means the var Loc:Password is blank.

Anything can I send you to diagnose this issue?

Lee1114

  • Newbie
  • *
  • Posts: 6
    • View Profile
    • Email
Re: NTWS + Secwin
« Reply #9 on: July 16, 2013, 03:14:54 AM »
Hi Bruce,

I've figured it out, the Encryption Key was not set in the DataDll.  :-[

Thanks for all the help.