Adding Identity Tag Caused Error

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

  1. #1

    Default Adding Identity Tag Caused Error

    Hello
    I'm trying to play with impersonation. I added an identity tag both with and without the userName/password attributes and I get this error on my workstation

    ------------------------------------begin--------------------------------------
    Error while trying to run project: unable to start debugging on the web server, server side-error occurred on sending debug HTTP request

    Make sure the server i soperating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start without debugging. you may also want to refer to the ASP.Net and ATL server debugging topic in the online documentation

    ------------------------------------end---------------------------------------

    When using the userName/Password attributes, I gave the account I was trying to impersonate the same access privileges as ASPNET account to the application folder as well as to \WINNT\Microsoft.Net\Framework\v1.1.4322. I also added the account (which is a domain account) to the users group of my workstation.

    Does anyone has any idea how to address this? Is there a specific place in Web.config where you're supposed to put the identity tag? Nothing I read indicated this

    Any and all help is appreciated
    Philli


    Phillip Guest

  2. Similar Questions and Discussions

    1. Adding webmethods caused existing clients to act strange
      I have had some existing clients acting strange lately when I added 4 new webmethods to an existing webservice. The existing signatures did not...
    2. PDF files from Illustrator caused an Error
      I created a PDF file directly from Illustrator CS (using Save As command). When I try to open the file in a Internet Explorer 6.0 by clicking the...
    3. #24791 [Com]: Strange error caused by missing DLL
      ID: 24791 Comment by: Nico dot Laus dot 2001 at gmx dot de Reported By: svanleent at wanadoo dot nl Status: ...
    4. configured Identity is incorrect error
      Hi, I have a website that uses some custom written COM+ components to handle Office documents etc. If I am logged on and have the Identity for...
    5. SQL Error caused by .NET Framework incompatibility
      Our app was built on VS using .NET Framework version 1.0.3705 It worked fine until last week when the SysAdmin installed W2k SP4 which, it...
  3. #2

    Default Re: Adding Identity Tag Caused Error

    Phil,

    You must've messed up the identity tag somewhat because that error states
    that the Web.Config file is not formatted correctly. It should look
    something like this for the identity tag

    <identity impersonate=true />


    "Phillip" <anonymous@discussions.microsoft.com> wrote in message
    news:2310F895-83B0-4372-BEC4-914AF32DB315@microsoft.com...
    > Hello,
    > I'm trying to play with impersonation. I added an identity tag both with
    and without the userName/password attributes and I get this error on my
    workstation:
    >
    > ------------------------------------begin---------------------------------
    ------
    > Error while trying to run project: unable to start debugging on the web
    server, server side-error occurred on sending debug HTTP request.
    >
    > Make sure the server i soperating correctly. Verify there are no syntax
    errors in web.config by doing a Debug.Start without debugging. you may also
    want to refer to the ASP.Net and ATL server debugging topic in the online
    documentation.
    >
    > ------------------------------------end-----------------------------------
    -----
    >
    > When using the userName/Password attributes, I gave the account I was
    trying to impersonate the same access privileges as ASPNET account to the
    application folder as well as to \WINNT\Microsoft.Net\Framework\v1.1.4322.
    I also added the account (which is a domain account) to the users group of
    my workstation.
    >
    > Does anyone has any idea how to address this? Is there a specific place
    in Web.config where you're supposed to put the identity tag? Nothing I read
    indicated this.
    >
    > Any and all help is appreciated,
    > Phillip
    >
    >

    Shaun C McDonnell Guest

  4. #3

    Default Re: Adding Identity Tag Caused Error

    Thanks for the help Shaun. I was thinking that my problem has to do with the placement of it. Does in go within the <system.web> tag or does it go afterwards? I had it inside of it.
    Phillip 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