UserControl Security Exception

Discussion in 'ASP .Net Security' started by RobB, Mar 7, 2005.

  1. RobB

    RobB Guest

    I am trying to write directly to the printer as in article KB322090 but via a
    usercontrol hosted in an ASPX page. When I get the the OpenPrinter command,
    I get the following exception "Request for the permission of type
    System.Security.Permissions.SecurityPermission, ... failed. What do I have
    to do to make it so that I can print directly to the printer from as ASPX
    page via a usercontrol. I assume there must be 1 or more security settings
    that need to be defined.
     
    RobB, Mar 7, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. huobazi
    Replies:
    1
    Views:
    743
    David Waz...
    Jul 3, 2003
  2. Rajesh Tiwari

    Can we use a usercontrol inside a usercontrol

    Rajesh Tiwari, Aug 12, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    444
    Rajesh Tiwari
    Aug 12, 2003
  3. nail
    Replies:
    0
    Views:
    1,584
  4. Phl
    Replies:
    2
    Views:
    548
    =?Utf-8?B?VGFtcGEgLk5FVCBLb2Rlcg==?=
    Nov 18, 2004
  5. Scott Leonard

    Security Exception - Winform usercontrol hosted in ASP.NET

    Scott Leonard, Dec 3, 2004, in forum: ASP .Net Security
    Replies:
    2
    Views:
    296
    Scott Leonard
    Dec 22, 2004
Loading...

Share This Page