Current filter:
                                You should refresh the page.
                                Support Center
                                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.

                                To start a chat you should create a support ticket


                                If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Your Privacy - Legal Statements

                                Copyright © 1998-2013 Developer Express Inc.
                                ALL RIGHTS RESERVED
                                All trademarks or registered trademarks
                                are property of their respective owners