please help + impersonate problem

Discussion in 'ASP .Net' started by =?Utf-8?B?QmFsYQ==?=, Nov 3, 2005.

  1. Hi

    Using this code I am try to imperosnate the user.

    I did the sample page using this code, thats working fine. When i try place
    this code into my existing application its working fine when I HARD CODED THE
    USER NAME AND PASSWORD. if I pass the user name and password as variable
    string, the imepersonate got failed.

    Please help me.. its very urgent...


    http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q306158
    =?Utf-8?B?QmFsYQ==?=, Nov 3, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?QmFsYQ==?=

    Joshua Mitts Guest

    Hi Bala,

    Can you post your code assigning the username and password? It's possible
    you are making a minor syntax error or other mistake there. Also, you can
    check in debug mode to make sure the username and password being passed are
    the same as your hardcoded values.

    --

    Joshua Mitts


    "Bala" <> wrote in message
    news:...
    > Hi
    >
    > Using this code I am try to imperosnate the user.
    >
    > I did the sample page using this code, thats working fine. When i try
    > place
    > this code into my existing application its working fine when I HARD CODED
    > THE
    > USER NAME AND PASSWORD. if I pass the user name and password as variable
    > string, the imepersonate got failed.
    >
    > Please help me.. its very urgent...
    >
    >
    > http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q306158
    Joshua Mitts, Nov 4, 2005
    #2
    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. Christian Binder

    <identity impersonate> and NETWORK ACCESS DB-HELP

    Christian Binder, Jul 25, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    449
    Christian Binder
    Jul 25, 2003
  2. Svein Terje Gaup

    Identity Impersonate - help!

    Svein Terje Gaup, Feb 17, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    5,641
    Mark Jen [MSFT]
    Feb 17, 2004
  3. Replies:
    4
    Views:
    490
    Chris Uppal
    May 5, 2005
  4. KK
    Replies:
    2
    Views:
    516
    Big Brian
    Oct 14, 2003
  5. Bill Belliveau

    DirectoryEntry Impersonate or WindowsIdentity Impersonate?

    Bill Belliveau, Jan 28, 2004, in forum: ASP .Net Security
    Replies:
    3
    Views:
    322
    Joe Kaplan \(MVP - ADSI\)
    Jan 31, 2004
Loading...

Share This Page