[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework

web deployed assembly

Jimmy Stewart

3/7/2008 3:50:00 PM

I have a windows forms assembly that needs to be deployed via a webpage.
This bit of code must provide a fully automated printing solution; in that
it must accept a parameter containing a graphic image to print, and print it
without any interaction.

The issue I'm having is that it throws a security exception [Request for
permission of type: System.drawing.printing.printingpermission ... failed].
This bit of code seems to work just fine if I use the print dialogbox and
select the appropriate printer, and of course fails if I don't use the
dialogbox.

This seems to be a security issue, but I'm not sure where to look, or how to
fix it.

And, so as to head off a couple of other issues; I need to pass a parameter
to it from the HTML page, and it has to be served by Linux.

Thanks.