Encrypting using RSA via COM Interop = "The requested operation requires delegation to be enabled on

Posted by Mr AH on Stack Overflow See other posts from Stack Overflow or by Mr AH
Published on 2010-03-22T17:42:21Z Indexed on 2010/03/22 17:51 UTC
Read the original article Hit count: 660

Filed under:
|
|
|
|

Hi Guys, So i've got this little static method in a .Net class which takes a string, uses some stored public key and returns the encrypted version of that key. This is basically so some user entered data can be saved an encrypted, then retrieved and decrypted at a later date. Pretty basic stuff and the unit test works fine.

However, part of the application is in classic ASP. This then uses some COM visible version of the class to go off and invoke the method on the real class and return the same string to the COM client (classic ASP). I use this kind of stuff all the time, but in this case we have a major problem. As the method is doing something with RSA keys and has to access certain machine information to do so, we get the error:

"The requested operation requires delegation to be enabled on the machine.

I've searched around a lot, but can't really understand what this means. I assume I am getting this error on the COM but not the UT because the UT runs as me (Administrator) and classic ASP as IWAM. Anyone know what I need to do to enable IWAM to do this? Or indeed if this is the real problem here?

© Stack Overflow or respective owner

Related posts about rsa

Related posts about .NET