login about faq

Hello, I am using RSA library to encrypt / decrypt data and get the following error:

Application: w3wp.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.AccessViolationException Stack: at <module>.ClsRsa.DecryptStringENC(ClsRsa, XString, Boolean, XString*) at Chilkat.Rsa.DecryptStringENC(System.String, Boolean)

This error does not always present so that it can not be happening.

Please if you could help me


asked Mar 25 '14 at 12:27

ccarrion's gravatar image


The 1st step is to make sure you're using the very latest version of Chilkat (v9.5.0 at the time of this post).

If the problem remains, then set the Chilkat.Rsa.DebugLogFilePath property equal to the log file that you want it to create. The DebugLogFilePath property is standard on all Chilkat classes/objects.

Do this:

  1. Delete the DebugLogFilePath log file just prior to calling DecryptStringENC because the DebugLogFilePath is always appended and will grow without limit.
  2. Set the DebugLogFilePath just prior to the call to DecryptStringENC.
  3. Clear the DebugLogFilePath property just after the call to DecryptStringENC.
  4. Make sure verbose logging is turned on for the Chilkat.Rsa object. (Set the Rsa.VerboseLogging property = true)

With this in place, then if a crash occurs within DecryptStringENC, then you'll be left with a verbose log file that can help isolate the location of the problem.


answered Mar 26 '14 at 11:27

chilkat's gravatar image

chilkat ♦♦

Thank you very much for answering ...

The version I am using is the 9.3, I'll keep the 2 solutions raised and see if the problem is solved. This just gives me in the production environment as a similar test environment does not happen


answered Mar 26 '14 at 15:06

ccarrion's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Mar 25 '14 at 12:27

Seen: 1,729 times

Last updated: Mar 26 '14 at 15:06

powered by OSQA