Current filter:
                                You should refresh the page.
                                0
                                  • My ASP.NET MVC web page is throwing this Exception when a parameter in the report contains a single quote character. Below the parameter contained 'wayne

                                    /*DX*/({'error':{'message':'System.FormatException: Unexpected \'w\' at 69\r\n at DevExpress.Web.ASPxClasses.Internal.JsonReader.ReadObject()\r\n at DevExpress.Web.ASPxClasses.Internal.JsonReader.ReadCore()\r\n at DevExpress.XtraReports.Web.Native.ReportWebMediator.DeserializeParameterValues(String parameterValuesString)\r\n at DevExpress.XtraReports.Web.Native.ReportWebMediator.get_ClientParameterValues()\r\n at DevExpress.XtraReports.Web.Native.ReportWebMediator..ctor(XtraReport report, String parameterValuesString)\r\n at DevExpress.XtraReports.Web.ReportViewer.CreateReportWebMediator(XtraReport report, String reportValuesStrings)\r\n at DevExpress.XtraReports.Web.ReportViewer.get_ReportWebMediator()\r\n at DevExpress.XtraReports.Web.ReportViewer.GetCallbackResultCore()\r\n at DevExpress.XtraReports.Web.ReportViewer.GetCallbackResult()'}})

                                0

                                Hi Wayne,

                                Thank you for your report. I am afraid I cannot reproduce the problem you described. Attached is a sample project that works fine on my side. Would you please modify it to demonstrate your problem? We will try to check what goes wrong.

                                Thanks,
                                Sergi

                                E3248.zip
                                0

                                Ok I took your project and just added 'wayne' (with the single quotes) to the value in paramerter1 and it will result in an error. Note that no error will be shown, you need to look at the response in the browser (firebug or fiddler).

                                Wayne

                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.