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.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
version 2.3.8.1
file: DBForum.cs
Line 961:
arParams = new SqlCeParameter[3];
arParams[0] = new SqlCeParameter("@ItemID", SqlDbType.Int); arParams[0].Direction = ParameterDirection.Input; arParams[0].Value = forumId;
arParams[1] = new SqlCeParameter("@MostRecentPostUserID", SqlDbType.Int); arParams[1].Direction = ParameterDirection.Input; arParams[1].Value = mostRecentPostUserID;
arParams[2] = new SqlCeParameter("@PostCount", SqlDbType.Int); arParams[2].Direction = ParameterDirection.Input; arParams[2].Value = postCount;
arParams[3] = new SqlCeParameter("@MostRecentPostDate", SqlDbType.DateTime); arParams[3].Direction = ParameterDirection.Input; arParams[3].Value = mostRecentPostDate;
The first line shoud be
arParams = new SqlCeParameter[4];
Otherwise, you have 'out of range' exception on arParams[3].
Regards,
Weijun
Hi Weijun,
Thanks for the bug report. This is now fixed in the source code repository and I have patched the 2.3.8.1 release for SQL CE.
Best,
Joe