How to read the Windows Registry from a Web Service method

Discussion in 'ASP .Net Web Services' started by Simon Hart, Mar 4, 2006.

  1. Simon Hart

    Simon Hart Guest

    Hi,

    I have specified impersonate = true in my web.config file and using Windows
    Authentication (anon turned off). So my web service should be running as the
    authenticated user as specified by the client (Pocket PC) NTLM I still can't
    read the registry? any ideas?

    I can write to the Windows Application log.

    Any ideas would be great!
    Cheers
    Simon.
     
    Simon Hart, Mar 4, 2006
    #1
    1. Advertisements

  2. Simon Hart

    Simon Hart Guest

    I found I can read HKEY_LOCAL_MACHINE but not CURRENT_USER.


    "Simon Hart" <srhartone@[no spam]yahoo.com> wrote in message
    news:%...
    > Hi,
    >
    > I have specified impersonate = true in my web.config file and using
    > Windows Authentication (anon turned off). So my web service should be
    > running as the authenticated user as specified by the client (Pocket PC)
    > NTLM I still can't read the registry? any ideas?
    >
    > I can write to the Windows Application log.
    >
    > Any ideas would be great!
    > Cheers
    > Simon.
    >
     
    Simon Hart, Mar 4, 2006
    #2
    1. Advertisements

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. HK
    Replies:
    1
    Views:
    4,376
    Cowboy \(Gregory A. Beamer\)
    Apr 1, 2004
  2. Replies:
    0
    Views:
    1,013
  3. Leny
    Replies:
    3
    Views:
    17,229
    Daniel
    Feb 1, 2005
  4. Replies:
    1
    Views:
    401
    Joe Kaplan \(MVP - ADSI\)
    Jun 14, 2006
  5. Alexander Pino

    Unable to write to Windows Registry using XML Web Service

    Alexander Pino, May 11, 2004, in forum: ASP .Net Web Services
    Replies:
    2
    Views:
    254
    Ray Deese
    May 11, 2004
  6. Replies:
    3
    Views:
    557
  7. Leo Violette
    Replies:
    0
    Views:
    1,302
    Leo Violette
    Apr 17, 2009
  8. Collin Miller
    Replies:
    10
    Views:
    1,004
    Roger Pack
    Jul 9, 2010
Loading...