I just tested this on 2 different dnn 9 installations and the result is the same, an empty message. I think this is a bug (as in the regex should not fail this address and the resource key might be missing).
Posted By Marco Alvarado on 6/20/2024 2:55 AM Daniel, I found this in the log folder for file "2024.06.19.log.resources": 2024-06-19 18:13:09.933-07:00 [win5195][D:3][T:40][ERROR] Dnn.PersonaBar.Users.Services.UsersController - System.Exception at Dnn.PersonaBar.Users.Components.RegisterController.Register(RegisterationDetails registerationDetails) at Dnn.PersonaBar.Users.Services.UsersController.CreateUser(CreateUserContract contract)
Daniel, I found this in the log folder for file "2024.06.19.log.resources":
2024-06-19 18:13:09.933-07:00 [win5195][D:3][T:40][ERROR] Dnn.PersonaBar.Users.Services.UsersController - System.Exception at Dnn.PersonaBar.Users.Components.RegisterController.Register(RegisterationDetails registerationDetails) at Dnn.PersonaBar.Users.Services.UsersController.CreateUser(CreateUserContract contract)
@Marco: Security > Member Accounts > Registration Settings > Email Address Validation, replace value with:
<code>^\s*[a-zA-Z0-9_%+#&'*/=^`{|}~-](?:\.?[a-zA-Z0-9_%+#&'*/=^`{|}~-])*@(?:[a-zA-Z0-9_](?:(?:\.?|-*)[a-zA-Z0-9_])*\.[a-zA-Z]{2,15}|\[(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)\.(?:2[0-4]\d|25[0-5]|[01]?\d\d?)])\s*$</code>
This is the reason why I'm only using DNN! you guys rock! the community itself rocks! a BIG THANKS to you all!
Thanks Timo for the regex code and thanks Daniel for looking at the key, I was going to do this at night since I was outside visiting a client.
Thanks again to you all for your time and for helping me figuring this thing out!
BTW, Timo the regex worked like a charm, thanks!
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.