Register problem

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
crash
User
Posts: 151

Register problem

Post 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


MichaelG
User
Posts: 1107

Post by MichaelG »

Show your table schema and register page settings.


crash
User
Posts: 151

Post 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


MichaelG
User
Posts: 1107

Post 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.


crash
User
Posts: 151

Post 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.


Post Reply