Well, it runs smoothly on my local IIS but when deployed over the shared
hosting, it throws the following exception is thrown:
"CryptographicException: The system cannot find the file specified."

To make it short, in some shared environments (even running at fulltrust),
doing this may throw:

RSACryptoServiceProvider RSA = new RSACryptoServiceProvider();

I've applied a small patch to create this differently when running in a web
or non-web contexts. The problem, is that for this to work, you need
System.Web added to the references (because the usage of HttpContext to
detect if we're in a web context), which may result inability to use the
library in Client Profile versions of the .NET Framework.

Feel free to change it as you like.

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Attachment: 0001-Fixed-running-license-generator-in-web-context.patch
Description: Binary data

Reply via email to