Friday, March 30, 2012

Jump tol URL and javascript

Hi
We have a strange problem. In our report we have a picture that has
its Jump to URL property set to ="javascript:history.go(-1)".
It works fine on my developing machine but when we run the report on
server we get the following error:
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown. (rrRenderingError) Get Online Help
Exception of type
Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
thrown.
The url javascript:history.go(-1) has an invalid schema. URLs in reports may
only use http://, https://, ftp://, mailto: or news:
(rsUnsupportedURLProtocol) Get Online Help
What is wrong? Please help.
Regards
MasseThis looks like you are running RS 2000 RTM (version 08.00.0743) on the
report server. You will need SP1 or SP2 installed to allow the javascript:
protocol.
-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.
"Masse" <Masse@.discussions.microsoft.com> wrote in message
news:6D8BB50B-AF74-4F17-A15E-CFA06A5185C7@.microsoft.com...
> Hi
> We have a strange problem. In our report we have a picture that has
> its Jump to URL property set to ="javascript:history.go(-1)".
> It works fine on my developing machine but when we run the report on
> server we get the following error:
> Exception of type
> Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
> thrown. (rrRenderingError) Get Online Help
> Exception of type
> Microsoft.ReportingServices.ReportRendering.ReportRenderingException was
> thrown.
> The url javascript:history.go(-1) has an invalid schema. URLs in reports
> may
> only use http://, https://, ftp://, mailto: or news:
> (rsUnsupportedURLProtocol) Get Online Help
> What is wrong? Please help.
> Regards
> Masse
>

No comments:

Post a Comment