Please do not use FullTrust in production environment. It ultimately =
opens RS for attacks.
The use of FullTrust was needed for diagnostics only.
This article describe what needs to be done for custom assemblies if =
they do not work by default: =
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/RSPROG=
/htm/rsp_prog_rdl_8mue.asp
--=20
Alex Mineev
Software Design Engineer. Report expressions; Code Access Security; Xml; =
SQE.
This posting is provided "AS IS" with no warranties, and confers no =
rights
[quoted text, click to view] "Serv=E9 La" <blabla@bestaatniet.nl> wrote in message =
news:uSURmzPCFHA.3492@TK2MSFTNGP12.phx.gbl...
Thank you for answering. The problem was solved, it was a stupid =
mistake of mine.
The good news is that the FullTrust setting did help me later when I =
needed to load assemblies from report code :)
"Alexandre Mineev [MSFT]" <almineev@microsoft.com> schreef in =
bericht news:eAOfmA9BFHA.1260@TK2MSFTNGP12.phx.gbl...
might be a code access security problem
to diagnose (do not do this on a production server) please find =
rssrvpolicy.config file in ReportServer folder and modify the following:
old:
<CodeGroup=20
class=3D"FirstMatchCodeGroup"
version=3D"1"
PermissionSetName=3D"Nothing">
new:
<CodeGroup=20
class=3D"FirstMatchCodeGroup"
version=3D"1"
PermissionSetName=3D"FullTrust">
Restart iis and see if it runs the report, let me know the results. =
If it runs - it's a security problem, I will let you know further steps.
! Please undo the change of rssrvpolicy.config afterwards...!
--=20
Alex Mineev
Software Design Engineer. Report expressions; Code Access Security; =
Xml; SQE.
This posting is provided "AS IS" with no warranties, and confers no =
rights
[quoted text, click to view] "Serv=E9 La" <blabla@bestaatniet.nl> wrote in message =
news:OP9Oyq6BFHA.1004@TK2MSFTNGP15.phx.gbl...
> I have built a custom assembly, I copied it to the right folders =
and wrote
> some code to call the component.
> It works fine in preview mode, but when I deploy the report to =
another
> server I get the error:
> "error while loading code module 'x', version=3D'x' ..."
>=20
> I feel I tried everything, copying the dll myself to the server's
> reportserver\bin folder, giving read & execute permissions, =
creating the xml
> nodes in the RSReportServer.config on the server etc.
>=20
> Always that error.
>=20
> Is there some description on what to do if you deploy your reports =
with
> custom assemblies to another server?
>=20