Error Printing an Assessment using Report Viewer

 Problem

I tried printing an assessment, and I get a message error similar to the error message.

If you receive varchar value '      '  to data type int.

 

Error Message says (for example):

"Conversion failed when converting the varchar value '550.' to data type int."

 

***** This is an example *******

 Conversion failed when converting the varchar value '550.' to data type int.

Exception thrown from ReportViewer.aspx. Attempted to generate report of type: Clinical.ASI.ASINarrative. 

at AccuCare.UserControls.ReportViewer.DisplayReport() in C:\AutoBuild-v9\SRC\AccuCare_Web\UserControls\ReportViewer.ascx.vb:line 295

 at AccuCare.UserControls.ReportViewer.Page_Load(Object sender, EventArgs e) in C:\AutoBuild-v9\SRC\AccuCare_Web\UserControls\ReportViewer.ascx.vb:line 184

 at System.Web.UI.Control.OnLoad(EventArgs e)

 at System.Web.UI.Control.LoadRecursive()

 at System.Web.UI.Control.LoadRecursive()

 at System.Web.UI.Control.LoadRecursive()

 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    ***** This is an example *******  

 

 

Solution:

Using the example above here is how you fixed the entry. 

The dollar amount was entered incorrectly only numbers should be entered. By removing the period and typing only the numbers corrects the error in Report Viewer 

 

This error occurs due to an invalid character entered in the assessment. The value ( 550. ) was incorrectly entered. This error can be anywhere in the assessments but I have one area this has happened in the past. Recommend viewing the Employment Tab between Question E12 to E51. If you find a ( 550. ) remove and only type 550 no period then hit the tab

It should look like $550 after tabbing to the next -  The $ sign is added automatically


   

 

 

 

 

 

 

 

 

 

 

 

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Please sign in to leave a comment.