Hi dillig,
You are having the exact problems I am. I haven't gotten it work yet in the reportserver environment. The preview tab in ReportDesigner looks fine, but in the Popup Preview mode I get the infamous #error. I'm calling a C# assembly that is accessing an Oracle database and getting an output param back.
I've got my code group added to both the rssrvpolicy.config (which you don't need for ReportDesigner) and in rspreviewPolicy.config. (by the way, you don't mention this file in your post -- you need to add the code group here for the popup preview in RD to work).
By futzing with where I put my code group in the rspreviewpolicy.config file, I've gotten the error message in Output to go from:
The value expression for the textbox âtextbox7â contains an error: Security Error.
TO:
The value expression for the textbox âtextbox7â contains an error: Request failed.
By the way, I'm working with the released copy of RS from our vendor, not the eval copy. However, that code group above your entry in your example does not ship with the released version. Somewhere I read that you need to put you code group below this entry, just like you did. I'm not sure what this means, other than it just adds to the general confusion
Please let me know if you learn anything. This situation in incredibly frustrating.
Thanks
Doug
|