Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumErrors in Scheduled Job: Cleanup Forum Email HistoryErrors in Scheduled Job: Cleanup Forum Email History
Previous
 
Next
New Post
12/8/2010 6:20 AM
 
Wondering if anyone else is getting the following error on every execution of the scheduled job named "Cleanup Forum Email History":

Cleanup Forum Email History
Email Queue Cleanup Initialization Failed. System.InvalidCastException: Conversion from string "" to type 'Integer' is not valid. ---> System.FormatException: Input string was not in a correct format. at Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat) at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) --- End of inner exception stack trace --- at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value) at DotNetNuke.Modules.Forum.CleanupEmailQueuedTasks.DoWork()

The DNN version is 05.06.00 (459)
The Forum version is 5.0.0
 
New Post
12/8/2010 7:58 AM
 
AFAIR I read about the issue before, but I can't remember the cause of the problem.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/8/2010 8:05 AM
 
Hi Sebastian,

Can you point me to the thread?

Thanks,
Karin
 
New Post
12/8/2010 8:21 AM
 
this is one of them: http://www.dotnetnuke.com/Resources/Forums/tabid/795/forumid/7/postid/350828/scope/posts/Default.aspx#350828

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/8/2010 10:12 AM
 
That post wasn't related to my issue, however I did figure out how to fix the problem by reading the code in the source files and looking to see what it was trying to do when the error occurred. Here are the steps to fix:

Go to Forum Administration.
Click Email.
Click Queue.
Click Update.
The scheduled task now runs without errors.

Apparently since there are new settings for Email Queue Management that were not in the previous version those settings are not in the database until you actually save the settings for the first time. Part of the upgrade process should have been to write the values to the database, but this workaround suffices to get them in there.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumErrors in Scheduled Job: Cleanup Forum Email HistoryErrors in Scheduled Job: Cleanup Forum Email History


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out