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. Advertising

  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. 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. HK
    Replies:
    1
    Views:
    3,715
    Cowboy \(Gregory A. Beamer\)
    Apr 1, 2004
  2. Replies:
    0
    Views:
    783
  3. Leny
    Replies:
    3
    Views:
    16,985
    Daniel
    Feb 1, 2005
  4. 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:
    188
    Ray Deese
    May 11, 2004
  5. Collin Miller
    Replies:
    10
    Views:
    682
    Roger Pack
    Jul 9, 2010
Loading...

Share This Page