I am try to get the custom error message "This is a Test Error" using ReportExcetionService object and ReportParameter.ErrorMessage Property. But I always get Null as value returned from ReportParameter.ErrorMessage.
I am using below function to validate one of report parameter.
Public Function CheckInt(sInt as Integer) as Integer
Dim msg as String
msg = ""
If (sInt > 100) Then
msg="value cannot be greater than 100"
If msg <> "" Then
Err.Raise(7,"This is a Test Error")
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.