Hello,
I created a report, where one of the fields is using an embedded code:
strReturn = System.Web.HttpUtility.UrlDecode(strURL). I added a
reference to System.Web.dll and it works fine in the RS designer. But
when I deploy it to the report server it shows #Error in the field.
>From the report server config file it seems that all Microsoft signed
assemblies have full trust. I checked the versions and public token
keys of the referenced assembly on my machine and one on the server
where the report server is and they match. What can be wrong?
Thanks,
SteveIt looks like code access permissions problem.
Your expression may call some function that requires special CAS
persmission.
It does not look like System.Web.HttpUtility.UrlDecode() has the
requirement. Do you also call some other function?
--
This posting is provided "AS IS" with no warranties, and confers no rights.
<sgelfmann@.yahoo.com> wrote in message
news:1116944339.636538.109880@.z14g2000cwz.googlegroups.com...
> Hello,
> I created a report, where one of the fields is using an embedded code:
> strReturn = System.Web.HttpUtility.UrlDecode(strURL). I added a
> reference to System.Web.dll and it works fine in the RS designer. But
> when I deploy it to the report server it shows #Error in the field.
> >From the report server config file it seems that all Microsoft signed
> assemblies have full trust. I checked the versions and public token
> keys of the referenced assembly on my machine and one on the server
> where the report server is and they match. What can be wrong?
> Thanks,
> Steve
>|||More specifically, you will find the AutoRefresh property in the VS menu:
Report -> Report Properties -> General tab
-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.
"Alexandre Mineev" <almineev@.microsoft.com> wrote in message
news:Ozx4JdYYFHA.1868@.TK2MSFTNGP14.phx.gbl...
> It looks like code access permissions problem.
> Your expression may call some function that requires special CAS
> persmission.
> It does not look like System.Web.HttpUtility.UrlDecode() has the
> requirement. Do you also call some other function?
> --
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> <sgelfmann@.yahoo.com> wrote in message
> news:1116944339.636538.109880@.z14g2000cwz.googlegroups.com...
>> Hello,
>> I created a report, where one of the fields is using an embedded code:
>> strReturn = System.Web.HttpUtility.UrlDecode(strURL). I added a
>> reference to System.Web.dll and it works fine in the RS designer. But
>> when I deploy it to the report server it shows #Error in the field.
>> >From the report server config file it seems that all Microsoft signed
>> assemblies have full trust. I checked the versions and public token
>> keys of the referenced assembly on my machine and one on the server
>> where the report server is and they match. What can be wrong?
>> Thanks,
>> Steve
>
Saturday, February 11, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment