January 26, 2007 at 3:15 am
I'm having a load of grief trying to correctly deploy a custom assembly I wrote to the Reporting Server and get a #Error on a report where I call my custom code.
The assembly acts as a wrapper to a web service we already had and works within the report designer IDE, returning the correct data in preview mode.
I have added the AllowPartiallyTrustedCallers attribute into the Assemblyinfo with the following syntax:
[assembly: AllowPartiallyTrustedCallers]
and have also added the following security assert into the classes header:
[UrlIdentityPermissionAttribute(SecurityAction.Assert, Url = "http://xxxx/PeopleFinderWS/PFWS.asmx")]
I've compiled the assembly and saved the dll into the following folder on the Report Server:
C:\Program Files\Microsoft SQL Server\MSSQL.2\Reporting Services\ReportServer\bin
and have added the following code group to the rssrvpolicy.config on the same server immediately below the $CodeGen$/* code group:
I presume I'm doing something stupid or have left out something obvious but I've been looking at this problem for a day and a half just to get to the stage I'm at now, any help would be much appreciated.
Any ideas?
January 29, 2007 at 8:00 am
This was removed by the editor as SPAM
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy