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:
Hi Subscription to a newsletter causes:
There was an error parsing the query. [ Token line number = 1,Token line offset = 46,Token in error = SELECT ]
2010-12-12 16:02:21,581 ERROR mojoPortal.Web.Global - 127.0.0.1-en-US - /home.aspx System.Data.SqlServerCe.SqlCeException: There was an error parsing the query. [ Token line number = 1,Token line offset = 46,Token in error = SELECT ] at System.Data.SqlServerCe.SqlCeCommand.ProcessResults(Int32 hr) at System.Data.SqlServerCe.SqlCeCommand.CompileQueryPlan() at System.Data.SqlServerCe.SqlCeCommand.ExecuteCommand(CommandBehavior behavior, String method, ResultSetOptions options) at System.Data.SqlServerCe.SqlCeCommand.ExecuteNonQuery() at mojoPortal.Data.SqlHelper.ExecuteNonQuery(String connectionString, CommandType commandType, String commandText, SqlCeParameter[] commandParameters) in D:\mojoportal_ce0c00ba60be\mojoPortal.Data.SqlCe\SqlHelper.cs:line 89 at mojoPortal.Data.DBLetterInfo.UpdateSubscriberCount(Guid letterInfoGuid) in D:\mojoportal_ce0c00ba60be\mojoPortal.Data.SqlCe\DBLetterInfo.cs:line 473 at mojoPortal.Business.LetterInfo.UpdateSubscriberCount(Guid letterInfoGuid) in D:\mojoportal_ce0c00ba60be\mojoPortal.Business\ELetter\LetterInfo.cs:line 390 at mojoPortal.Web.ELetterUI.Subscribe.DoSubscribe(LetterInfo letter, String email) in D:\mojoportal_ce0c00ba60be\Web\Controls\Subscribe.ascx.cs:line 248 at mojoPortal.Web.ELetterUI.Subscribe.DoSubscribe() in D:\mojoportal_ce0c00ba60be\Web\Controls\Subscribe.ascx.cs:line 192 at mojoPortal.Web.ELetterUI.Subscribe.btnSubscribe_Click(Object sender, EventArgs e) in D:\mojoportal_ce0c00ba60be\Web\Controls\Subscribe.ascx.cs:line 165 at System.Web.UI.WebControls.Button.OnClick(EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2.3.5.5 - SqlCE
Regards
Thanks for the bug report.
This is now fixed in the source code repository and will be fixed in the next release.
Best,
Joe
Hi
There is still a bug in newsletter under sqlce.When you try to remove a subscriber from newsletter you receive:
ERROR - mojoPortal.Web.Global - 127.0.0.1-en-US - /eletter/LetterSubscribers.aspx?l=9157f460-7ced-4017-bf73-595e63ee6cef System.IndexOutOfRangeException: Name at System.Data.SqlServerCe.FieldNameLookup.GetOrdinal(String fieldName) at System.Data.SqlServerCe.SqlCeDataReader.GetOrdinal(String name) at System.Data.SqlServerCe.SqlCeDataReader.get_Item(String name) at mojoPortal.Business.SubscriberRepository.Fetch(Guid guid) in D:\mojoportal_ce0c00ba60be\mojoPortal.Business\ELetter\SubscriberRepository.cs:line 69 at mojoPortal.Web.ELetterUI.LetterSubscribersPage.grdSubscribers_RowCommand(Object sender, GridViewCommandEventArgs e) in D:\mojoportal_ce0c00ba60be\Web\eletter\LetterSubscribers.aspx.cs:line 149
Hi Malkom,
Thanks! This one is now fixed in the source code repository.