We have the lastest version/hotfix bug get the following error - System.Security.Cryptography.RSACryptoServiceProvider._GenerateKey


#1

An internal error occurred.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Cryptography.CryptographicException: An internal error occurred.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[CryptographicException: An internal error occurred. ] System.Security.Cryptography.RSACryptoServiceProvider._GenerateKey(IntPtr unknown1, Int32 unknown2, Int32 unknown3) +0 System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32 dwKeySize, CspParameters parameters, Boolean useDefaultKeySize) +737 Aspose.Email.License.VerifySignature(XmlNode dataElem, XmlNode signatureElem) +240 Aspose.Email.License.LoadLicense(XmlDocument doc) +72 Aspose.Email.License.SetLicense(Stream stream) +51 Aspose.Email.License.SetLicense(String licenseName) +70 Integral.ns_CNR.cls_CNREmail..ctor(HttpServerUtility server) +84 Integral.admin.frm_mass_email.send(String from_address, String email_address, String message, String subject) +36 Integral.admin.frm_mass_email.send_email() +163 Integral.admin.frm_mass_email.btn_send_email_Click(Object sender, EventArgs e) +178 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +138 System.Web.UI.Page.ProcessRequestMain() +1277 


Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

#2

Dear Calebrider,

Thank you for your purchase.

We have noticed your issue but currently we may have some delay since we have had some changes about our developers.

Anway we will try to reply to you ASAP. Thanks for your patience.


#3

Dear calebrider,

Sorry for any delay.

  • Make sure there is a directory \Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys exists, create it if needed.
  • Make sure Everyone has read and write permissions into this directory.
  • related:
    http://www.aspose.com/wiki/default.aspx/Aspose.Word/CryptographicServiceProviderThrowsException.html


    #4

    Thank you, that worked