Bug when adding comments to blog - SqlCe - 2.3.5.5

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.
11/13/2010 12:05:04 PM
Gravatar
Total Posts 57

Bug when adding comments to blog - SqlCe - 2.3.5.5

Hi

When I am trying to add comments to the blog posts the following error appears:

Specified argument was out of the range of valid values.
Parameter name: Invalid parameter Size value '-1'. The value must be greater than or equal to 0.

Line: 1001
File: DBBlog.cs
Project: mojoPortal.Features.Data.SqlCe

11/14/2010 6:51:17 AM
Gravatar
Total Posts 18439

Re: Bug when adding comments to blog - SqlCe - 2.3.5.5

Hi Malkom,

Thanks for the bug report. This is now fixed in the source code repository so it will be fixed in the next release.

The fix was to change line 1001 like this:

arParams[2] = new SqlCeParameter("@Comment", SqlDbType.NText);

Best,

Joe

11/14/2010 11:42:54 AM
Gravatar
Total Posts 57

Re: Bug when adding comments to blog - SqlCe - 2.3.5.5

Thank you Sir , But there is another problem. Number of comments is not increasing and is always zero !

11/17/2010 9:50:19 AM
Gravatar
Total Posts 57

Re: Bug when adding comments to blog - SqlCe - 2.3.5.5

Thanks

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