Problem with impersonate

Discussion in 'ASP .Net' started by Yoshitha, Jul 1, 2005.

  1. Yoshitha

    Yoshitha Guest

    Hi
    I've to access registry and also get cpu id from the web application.
    First i wrote code to get cpuid from web application then i got cpu id.
    Next i wrote code to set value into a registry and when ran the application
    i got error that access to Registry is denied some thing.
    and then what i did is i changed the impersonate="true" from false in
    identity section of the machine.confog file.
    and then ran the application then i successfully placed the value into the
    registry, but i couldnt get the cpu id.

    again icnaged the impersonate to false now it is working for cpu id and not
    for registry.

    Can anybody tell me the solution for my problem.
    i've to access registry and also get cpuid how can i achieve this.
    Its very urgent for me
    Thanx in advance
    Yoshitha
     
    Yoshitha, Jul 1, 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. Peter O'Reilly
    Replies:
    2
    Views:
    10,967
    Peter O'Reilly
    Nov 3, 2003
  2. Aras Kucinskas

    ASP.NET Webservice Impersonate problem

    Aras Kucinskas, Aug 31, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    2,071
    Aras Kucinskas
    Aug 31, 2004
  3. =?Utf-8?B?QmFsYQ==?=

    Impersonate problem

    =?Utf-8?B?QmFsYQ==?=, Nov 2, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    3,385
    =?Utf-8?B?QmFsYQ==?=
    Nov 3, 2005
  4. =?Utf-8?B?QmFsYQ==?=

    please help + impersonate problem

    =?Utf-8?B?QmFsYQ==?=, Nov 3, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    372
    Joshua Mitts
    Nov 4, 2005
  5. Bill Belliveau

    DirectoryEntry Impersonate or WindowsIdentity Impersonate?

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

Share This Page