DPAPI failing with user store (revisited)

From: Jason Duckers (JasonDuckers_at_discussions.microsoft.com)
Date: 01/27/05

  • Next message: Dominick Baier: "DPAPI failing with user store (revisited)"
    Date: Thu, 27 Jan 2005 02:11:10 -0800
    
    

    first of all apologies if i am repeating posts but i am yet to find a
    satisfactory conclusion...

    i have followed these procedures to the letter and have ran into problems :
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/SecNetHT09.asp

    the encryption and decrpytion works fine on my dev machine utilising a
    domain user account but when i transfered my app to another server things
    went wrong, the decrytption is failing...

    the error thrown is as follows :

    Exception decrypting. Exception decrypting. Decryption failed. Key not valid
    for use in specified state.

    this would suggest to me that the machine store method is being utilised
    rather that the user store but this is definately not the case...

    thank you very much in advance for any help...

    - jd


  • Next message: Dominick Baier: "DPAPI failing with user store (revisited)"

    Relevant Pages

    • DPAPI failing with user store (revisited)
      ... domain user account but when i transfered my app to another server things ... Exception decrypting. ... this would suggest to me that the machine store method is being utilised ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • RE: DPAPI failing with user store (revisited)
      ... i have spent quite a bit fo time getting to where i am right now using dpapi ... > called from a serviced component which runs under a known domain user account ... >> Exception decrypting. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • RE: DPAPI failing with user store (revisited)
      ... called from a serviced component which runs under a known domain user account ... "Dominick Baier" wrote: ... > Exception decrypting. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • RE: DPAPI failing with user store (revisited)
      ... called from a serviced component which runs under a known domain user account ... > Exception decrypting. ... > this would suggest to me that the machine store method is being utilised ...
      (microsoft.public.dotnet.framework.aspnet.security)