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:
Error in mojoPortal.Features.Data.SqlCe/Forums/DBForum.cs, line 1763 ~1795
//////////////////////////////////////////////////////
if (reader.Read()){if (reader["MostRecentPostUserID"] != DBNull.Value) // if (reader["UserID"] != DBNull.Value){userId = Convert.ToInt32(reader["MostRecentPostUserID"]); //userId = Convert.ToInt32(reader["UserID"]);}
if (reader["MostRecentPostDate"] != DBNull.Value) //if (reader["PostDate"] != DBNull.Value){postDate = Convert.ToDateTime(reader["MostRecentPostDate"]); //postDate = Convert.ToDateTime(reader["PostDate"]);}
...
arParams[1] = new SqlCeParameter("@MostRecentPostDate", SqlDbType.DateTime); //arParams[1] = new SqlCeParameter("@MostRecentPostUserID", SqlDbType.Int);arParams[1].Direction = ParameterDirection.Input;arParams[1].Value = userId;
arParams[2] = new SqlCeParameter("@MostRecentPostUserID", SqlDbType.Int); //arParams[2] = new SqlCeParameter("@MostRecentPostDate", SqlDbType.DateTime);arParams[2].Direction = ParameterDirection.Input;arParams[2].Value = postDate;
/////////////////////////////////////////////////////////////////
Version: 2.3.8.1
DB: sqlce
Thanks!
Thanks! This is now fixed in the source code repository so it will be fixed in the next release.
Best,
Joe