Feed Manager from Blog Error (Length cannot be less than zero)

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
4/27/2011 6:17:45 PM
Gravatar
Total Posts 44

Feed Manager from Blog Error (Length cannot be less than zero)

Hi,

I'm not sure if this is due to mojoPortal or feed burner.

I use a feed manager on the front of my site that takes feeds from the blog, I am using feed burner and I use Windows Live Writer 2011 to upload the blog entries.  As I was testing my latest blog I received a server error from mojoPortal and the log file entry was:

2011-04-27 23:33:58,687 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - started IndexWriterTask task
2011-04-27 23:34:08,328 INFO mojoPortal.Web.WebTaskManager - started WebTaskManager task
2011-04-27 23:37:07,515 ERROR mojoPortal.Web.Global - 78.114.222.63-en-GB - /house-renovation-part-two.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+fpan%2FmoiV+%28FPAN+Blog%29
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length

The blog entry title was "House Renovation - Part Two", after several attempts at edit and save, I noticed that this was the only blog title with a dash ("-") in it.  I removed the dash and renamed the blog entry as "House Renovation 2" and it worked.  The feed manager entry title is still "House Renovation - Part Two".

 

I also noticed that every time I edited a blog entry, a date time format error was written to the log file:

2011-04-27 23:44:03,312 ERROR mojoPortal.Web.Global - 78.114.222.63-en-GB - /Blog/EditPost.aspx?pageid=21&ItemID=8&mid=27
System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at mojoPortal.Web.BlogUI.BlogEdit.Save()

   at mojoPortal.Web.BlogUI.BlogEdit.btnUpdate_Click(Object sender, EventArgs e) 

The date is correctly formatted for the site and this occurs on every save even if the date is unedited.  There is no adverse behavior with the blog and all the dates within the blog are displayed correctly.

mojoPortal Version 2.3.5.4 MSSQL  (ASP.NET 3.5)
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info v2.0.50727 Running in Full Trust
Server Time Zone GMT Daylight Time 

​Best Regards,

Vince.

 

You must sign in to post in the forums. This thread is closed to new posts.