Page 1 of 1

Register problem

Posted: Sat Apr 23, 2022 11:06 pm
by crash

When I set my app to use register I get an error when registering.
This seems to only happen if I use the send registration email options.

ArgumentException: Must specify valid information for parsing in the string. (Parameter 'value')

Any help pls


Re: Register problem

Posted: Sun Apr 24, 2022 7:55 am
by MichaelG

Show your table schema and register page settings.


Re: Register problem

Posted: Mon Apr 25, 2022 11:54 am
by crash
CREATE TABLE [dbo].[Users](
	[ID] [smallint] NOT NULL,
	[Username] [varchar](50) NULL,
	[email] [varchar](50) NULL,
	[Mobile] [varchar](50) NULL,
	[Password] [varchar](50) NULL,
	[Club] [varchar](50) NULL,
	[UserActivated] [tinyint] NULL,
	[UserLevel] [int] NULL,
 CONSTRAINT [Users$PrimaryKey] PRIMARY KEY CLUSTERED 
(
	[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO

In my advanced user login settings I have

Registration enabled
Fields > ID, Username, email, Password ... ticked
Send registration email ... ticked
email field = email from the user table

User id is ID

in asp.net settings, I have entered the email settings localhost with port 25, no security selected


Re: Register problem

Posted: Tue Apr 26, 2022 9:35 am
by MichaelG

in asp.net settings, I have entered the email settings localhost with port 25, no security selected

This probably does not work. Please make sure that you use a valid SMTP server (e.g. from a hosting provider) and double check your SMTP settings from the provider.

To check errors in sending emails, please enable Debug mode and Log to file (Tools -> Advanced Settings -> Debug / Log to file). Check the log file for errors in sending emails.


Re: Register problem

Posted: Wed Apr 27, 2022 4:55 am
by crash

This might prove useful to others... this is not an smtp problem.. it seems the filestream in sql database must be activated.
After doing this my system succesfull sent registration email without throwing any errors.