Showing posts with label integrate. Show all posts
Showing posts with label integrate. Show all posts

Monday, March 19, 2012

Custom Report Item and embedded images

Hi,

I would like to integrate an embedded image into a custom report item. However, I can't find a property which gives access to the embedded images collection. What would be the right approach to load an embedded image within the process method?

Kind regards

Benno

Found a workaround - I will store images as own custom properties.|||

Hello,

Could you tell me how to create a custom report item that modifys the RDL file.

Thanks!!

SQLNew

Thursday, March 8, 2012

Custom Fax Delivery Extension

Hello All:
We have setup Reporting Services. I want to integrate it with Fax server for
creating new subsciptions using custom delivery extension.
Apart from this custom extension, I am having one more solution for this
scenario and that is sending email (in the format <fax number>@.<fax server
name>) to the fax server as it is on SMTP.
I have not tested this scenario but from some search on net on this topic
brought out this solution. I am not sure whether sending email to the Fax
server (as it is on SMTP) will be right solution.
And if this is the solution then why do we need to write Custom fax Delivery
Extension? Any help or sample code or steps in this regards will be highly
appreciated
RohitIf you have an eamil address that works like a fax server, then you can make
a subscription to the report and email it... However there is no USER
Rendering agent for fax server, so a user can not run the report, then
export it to a fax server unless you write a custom extension..
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Rohit Patil" <Rohit Patil@.discussions.microsoft.com> wrote in message
news:86A1792C-506D-4BBE-A06F-7DB888FE7036@.microsoft.com...
> Hello All:
> We have setup Reporting Services. I want to integrate it with Fax server
> for
> creating new subsciptions using custom delivery extension.
> Apart from this custom extension, I am having one more solution for this
> scenario and that is sending email (in the format <fax number>@.<fax server
> name>) to the fax server as it is on SMTP.
> I have not tested this scenario but from some search on net on this topic
> brought out this solution. I am not sure whether sending email to the Fax
> server (as it is on SMTP) will be right solution.
> And if this is the solution then why do we need to write Custom fax
> Delivery
> Extension? Any help or sample code or steps in this regards will be highly
> appreciated
> Rohit|||Hello Wayne,
Thanks for the reply. I have database of external users to whom the report
from reporting server is to be faxed. So depending upon the subscription made
report will be sent to different fax numbers. I am testing for the
functionality of fax server to send fax to different numbers, but I think I
have to write fax extension. If Ic an et some sample code for it then it will
be of real great help.
Rohit
"Wayne Snyder" wrote:
> If you have an eamil address that works like a fax server, then you can make
> a subscription to the report and email it... However there is no USER
> Rendering agent for fax server, so a user can not run the report, then
> export it to a fax server unless you write a custom extension..
> --
> Wayne Snyder, MCDBA, SQL Server MVP
> Mariner, Charlotte, NC
> www.mariner-usa.com
> (Please respond only to the newsgroups.)
> I support the Professional Association of SQL Server (PASS) and it's
> community of SQL Server professionals.
> www.sqlpass.org
> "Rohit Patil" <Rohit Patil@.discussions.microsoft.com> wrote in message
> news:86A1792C-506D-4BBE-A06F-7DB888FE7036@.microsoft.com...
> > Hello All:
> > We have setup Reporting Services. I want to integrate it with Fax server
> > for
> > creating new subsciptions using custom delivery extension.
> >
> > Apart from this custom extension, I am having one more solution for this
> > scenario and that is sending email (in the format <fax number>@.<fax server
> > name>) to the fax server as it is on SMTP.
> >
> > I have not tested this scenario but from some search on net on this topic
> > brought out this solution. I am not sure whether sending email to the Fax
> > server (as it is on SMTP) will be right solution.
> >
> > And if this is the solution then why do we need to write Custom fax
> > Delivery
> > Extension? Any help or sample code or steps in this regards will be highly
> > appreciated
> >
> > Rohit
>
>

Friday, February 17, 2012

Custom Assembly Configuration Problems

Hi,
I am attempting to integrate a third party .Net assembly into a custom
report I'm writing. The assembly provides functions for creating 2D barcodes
that are a required format for my solution. I've successfully referenced the
assembly and can run my report from visual studio without error.
However, when I deploy and run the report I get the following exception:
Failed to load expression host assembly. Details:
System.Security.Permissions.SecurityPermission (rsProcessingError)
I've added the Custom Assemblies block to my RSReportDesigner.config and my
RSReportServer.config. I have also added code groups to my
rssrvpolicy.config and rspreviewpolicy.config. I have deployed the
referenced dlls to the appropriate bin directories.
The only thing that I haven't done is code the custom assembly to 'assert
permissions'. I shouldn't have to because the assembly takes a simple string
and returns the encoded string - it doesn't use any 'secure' resources (no
files, db connections, etc.). I have also tried using 'FullTrust'
permissions in my code groups even though that is not recommended. In any
event, I do not have source code for this third party assembly nor license to
modify it if I could.
Is there anything I can do to make this work?
--
PaulThe problem is that the third party assembly has strong name and is not
marked with APTCA
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/aptcatypes.asp)
The report expressions at runtime are located in an untrusted assembly thus
any call to a non_APTCA assembly would fail. What you need to do is to
create a thin wrapper assembly that would accept calls from report
expressions and redirect them into the non-APTCA assembly. You will also
need to give fulltrust to that wrapper assembly
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Paul Keegstra" <PaulKeegstra@.discussions.microsoft.com> wrote in message
news:2F8F0E0C-9C98-4EBD-B9D5-AF6D667975BB@.microsoft.com...
> Hi,
> I am attempting to integrate a third party .Net assembly into a custom
> report I'm writing. The assembly provides functions for creating 2D
> barcodes
> that are a required format for my solution. I've successfully referenced
> the
> assembly and can run my report from visual studio without error.
> However, when I deploy and run the report I get the following exception:
> Failed to load expression host assembly. Details:
> System.Security.Permissions.SecurityPermission (rsProcessingError)
> I've added the Custom Assemblies block to my RSReportDesigner.config and
> my
> RSReportServer.config. I have also added code groups to my
> rssrvpolicy.config and rspreviewpolicy.config. I have deployed the
> referenced dlls to the appropriate bin directories.
> The only thing that I haven't done is code the custom assembly to 'assert
> permissions'. I shouldn't have to because the assembly takes a simple
> string
> and returns the encoded string - it doesn't use any 'secure' resources (no
> files, db connections, etc.). I have also tried using 'FullTrust'
> permissions in my code groups even though that is not recommended. In any
> event, I do not have source code for this third party assembly nor license
> to
> modify it if I could.
> Is there anything I can do to make this work?
> --
> Paul|||That doesn't work. Actually, it makes it worse because whereas before I had
a clearly identified exception, adding the wrapper class only results in my
expression evaluating to #Error - with no clue as to the cause. My guess is
it's just the same error, only now the exception has been wrapped out of view.
--
Paul
"Alexandre Mineev MSFT" wrote:
> The problem is that the third party assembly has strong name and is not
> marked with APTCA
> (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/aptcatypes.asp)
> The report expressions at runtime are located in an untrusted assembly thus
> any call to a non_APTCA assembly would fail. What you need to do is to
> create a thin wrapper assembly that would accept calls from report
> expressions and redirect them into the non-APTCA assembly. You will also
> need to give fulltrust to that wrapper assembly
> --
> This posting is provided "AS IS" with no warranties, and confers no rights.
> "Paul Keegstra" <PaulKeegstra@.discussions.microsoft.com> wrote in message
> news:2F8F0E0C-9C98-4EBD-B9D5-AF6D667975BB@.microsoft.com...
> > Hi,
> >
> > I am attempting to integrate a third party .Net assembly into a custom
> > report I'm writing. The assembly provides functions for creating 2D
> > barcodes
> > that are a required format for my solution. I've successfully referenced
> > the
> > assembly and can run my report from visual studio without error.
> >
> > However, when I deploy and run the report I get the following exception:
> > Failed to load expression host assembly. Details:
> > System.Security.Permissions.SecurityPermission (rsProcessingError)
> >
> > I've added the Custom Assemblies block to my RSReportDesigner.config and
> > my
> > RSReportServer.config. I have also added code groups to my
> > rssrvpolicy.config and rspreviewpolicy.config. I have deployed the
> > referenced dlls to the appropriate bin directories.
> >
> > The only thing that I haven't done is code the custom assembly to 'assert
> > permissions'. I shouldn't have to because the assembly takes a simple
> > string
> > and returns the encoded string - it doesn't use any 'secure' resources (no
> > files, db connections, etc.). I have also tried using 'FullTrust'
> > permissions in my code groups even though that is not recommended. In any
> > event, I do not have source code for this third party assembly nor license
> > to
> > modify it if I could.
> >
> > Is there anything I can do to make this work?
> >
> > --
> > Paul
>
>