-
-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Posting Comment - System.Net.Mail.MailAddressParser.TryReadCfwsAndThrowIfIncomplete() call #635
Comments
@mklump Thanks for finding the issue and providing detailed steps, I will start looking into this right away. Cheers! |
@mklump There are several issues that I have to resolve :(
I have fixed the first two relatively minor issues, however, the 3rd issue requires a bit more time to flush out the details. In the meantime I believe disabling the Send Notification in the "admin/settings" section should bring some temporary relief. Is it your intent to send an email notification at this point? Have you setup the email mail notifications correctly? If not this is the permanent fix. |
Thank you for steps! |
@mklump It does not sound like all your files are getting updated during your installs, are you stopping your site first? A quick primer on how the config files work. There are 4 config files (site.config, siteSecurity.config, meta.config, IISUrlRewrite.config) Think of these as owned by dasblog, they should only be updated by a dasblog installation. The config files you own should be of this format site.Production.config (for your 'production' environments). When you save changes they should always go to these custom files. Environments tend to be Production by default but this can be set to Development or QA or whatever, just like the file you shared with me. A few config updates require site restarts because the data is read only during startup. If you want to start over (reset your site) the files and folders to keep are as follows (assuming you are configured to "Development" environment:
Log back in and complete a Save from the admin site should update everything correctly. Aside: I have published some fixes to the Theme you use, and a couple of other stability fixes I think will help you. |
THANK YOU! Thank you! For clearing the corruptions steps! |
@mklump Excellent, glad that helped. Apparently I have do not enough in place to stop that error if you send a test email from the Admin page (SendTestEmail is what gave the exception). I will leave this bug open to get that fixed next. |
Thank you so much @poppastring ! |
I recently updated /blog to version 3.2.931, and set environmentVariable ASPNETCORE_ENVIRONMENT to Development so that this error can be seen reproducing 100% at https://blog.klump-pdx.com/post/comments on any post.
The error is FormatException: The specified string is not in the form required for an e-mail address. This happen all the time no matter what config I use in web.config, deleting and reinstalling, or erasing all site settings to default.
The steps that reproduced the error are:
I attached the log file with my test several futile attempts to trace the problem.
logs-20220626.0.txt
I can't help but wonder - Did I misconfigure a setting?
Is there another server-side setting that I missed during the upgrade I am grossly negligent over?
I apologize if this is a repeat issue or already resolved - Do you know what I can do to fix this?
The text was updated successfully, but these errors were encountered: