开发者

how to treat/handle an exception and display a custom error message on Reporting Services

开发者 https://www.devze.com 2023-01-24 16:12 出处:网络
Fellow developers, I\'m creating a report to be seen directly by the clients, so I need to ensure maximum user-friendliness. When the user types an invalid date string the report throws a rsReportPar

Fellow developers,

I'm creating a report to be seen directly by the clients, so I need to ensure maximum user-friendliness. When the user types an invalid date string the report throws a rsReportParameterTypeMismatch and displays an error messages like this:

An error occurred during local reoprt processing
Query Execution Failed for data set 'myDataSet'

I want to replace this cryptic (for the final user) message for a more friendly custom message. How or where can I write them? How do I intercept the exception? I don't need anything too complex, just changing the words, perhaps co开发者_如何转开发lors and sizes would suffice.

I thank thee in advance for thy willingness to help.


take a look at Custom error pages in Reporting Services 2008

0

精彩评论

暂无评论...
验证码 换一张
取 消