Monday, March 12, 2012

Localisation using custom assemblies

Hi,
I am still having some problems with Localisation assembly. It is to
do with CAS.
I have granted FullTrust to all the possible resource files in the
server config, and they work fine on the production server when it is
in the MyComputer Zone (http://localhost/reports).
When I access the report from client pcs
(http://reportserverbox/reports), only the neutral resources load.
My resources are in an assembly with "AllowPartiallyTrustedCallers"
attribute and it is dynamically loaded into ResourceManager by calling
Assembly.Load(basename, asseebly) from the extension custom assembly.
Obviously it has fileio access to neutral resources, the question is,
how can I ensure it to have access to the (unknown number of) Satellite
assemblies as well?
BTW, I have also tried adding a IMembershipCondition Internet Zone
line, it kinda worked for a while, but once the report server is
restarted, a "Unable to communicate to Report Server" error is
displayed and I have to remove the Internet Zone condition line.
Please help!!!
Siew FaiHi Siew,
I found Bryant Likes has a wonderful article describing how to use a Custom
Assembly in Reporting Services and you are strongly recommanded to have a
look at it.
Writing Custom Code in SQL Server Reporting Services
http://blogs.sqlxml.org/bryantlikes/articles/824.aspx
Sincerely yours,
Michael Cheng
Microsoft Online Partner Support
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

No comments:

Post a Comment