asp.net impersonation limits?

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default asp.net impersonation limits?

    Hi,

    Are there limits to asp.net impersonation?

    I'm using CrystalReports.Net to print from an asp.net application.

    Although my diagnostic
    Label3.Text= System.Security.Principal.WindowsIdentity.GetCurre nt().Name;

    indicates I have configured impersonation correctly,
    <authentication mode="Windows"/>

    <authorization>

    <allow users="*"/> <!-- Allow all users -->

    <deny users="?"/>

    </authorization>

    <identity impersonate="true"/>


    I am getting a message indicating the print is going to the ASPNET account
    print queue.
    Error in File
    C:\DOCUME~1\DELL\ASPNET\LOCALS~1\Temp\temp_590ea2b c-26f0-4fb6-b1ce-53315f43d
    e8c.rpt: Request cancelled by the user.

    I have also unticked "Anonymous Access" in "Authentication Modes" for the
    web app in IIS 5.1 (on XP Pro).

    Any ideas?
    Thanks
    Martin



    Martin Guest

  2. Similar Questions and Discussions

    1. Bandwidth Limits on FCS v1.5
      I'm new to FCS, so pardon my ignorance, or lack of correct terminology. We're running Flash Communication Server v1.5. We have a hard limit of...
    2. FMS' limits
      Hello all, this forum has been very helpful in answering all my fms questions, I have yet another one. How much is too much with FMS? I would like...
    3. Limits
      That "Ideal" it doesn't exist ! But if you're looking for the "best compromise", that's different. No more than 25000 polys and no more than...
    4. camera limits
      I have ceated a .w3d file using Maya. The file was ceated using a tumble view camera to express the file to w3d. I had set limits to the camera, in...
    5. 2 Gig Ram Limits on Photoshop
      I am curently building a new workstation, one that can hold a max of 4 gig of ram. I was told by a friend that Photoshop will not run on a PC with...
  3. #2

    Default RE: asp.net impersonation limits?

    I am having the similar problem ... I am creating a PDF file using Crystal
    Report from a web page. The temporary crystalreport.rpt file is created in
    the
    "Document and Settings\MachineName\ASPNET\Local Settings\Temp" folder
    without problem (so, write is OK), but when it tries to access it to export
    to pdf file, it gets Access Denied error message. I used the same test (
    System.Security.Principal.WindowsIdentity.GetCurre nt().Name ) to see if the
    impersonation is working or not...apparently yes, but still gets the security
    (I think) error. I added ASPNET account in this folder's Security option with
    full permissions, and still gets this error. I even went to change the
    Machine.Config to make processModel userName="SYSTEM", but still gets this
    error. I am sorry that I cannot offer you the solution, but I know your pain.


    "Martin" wrote:
    > Hi,
    >
    > Are there limits to asp.net impersonation?
    >
    > I'm using CrystalReports.Net to print from an asp.net application.
    >
    > Although my diagnostic
    > Label3.Text= System.Security.Principal.WindowsIdentity.GetCurre nt().Name;
    >
    > indicates I have configured impersonation correctly,
    > <authentication mode="Windows"/>
    >
    > <authorization>
    >
    > <allow users="*"/> <!-- Allow all users -->
    >
    > <deny users="?"/>
    >
    > </authorization>
    >
    > <identity impersonate="true"/>
    >
    >
    > I am getting a message indicating the print is going to the ASPNET account
    > print queue.
    > Error in File
    > C:\DOCUME~1\DELL\ASPNET\LOCALS~1\Temp\temp_590ea2b c-26f0-4fb6-b1ce-53315f43d
    > e8c.rpt: Request cancelled by the user.
    >
    > I have also unticked "Anonymous Access" in "Authentication Modes" for the
    > web app in IIS 5.1 (on XP Pro).
    >
    > Any ideas?
    > Thanks
    > Martin
    >
    >
    >
    >
    kabuki18ban Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139