.net - The thread tried to read from or write to a virtual address for which it does not have the appropriate access -


I have developed a .NET 2.0 extension that acts as a plug in a third party application. Anything but everything runs fine when running on Citrix, when run on the sitrix as a published application, the extension randomly crashes the crash, which also crashes the third party application.

I have opened a dump file and I have received an exception message that has been reported:

Try to read thread or write to a virtual address For which he does not have proper access.

I did not have much luck with Google. This application uses threading, which I suspect is what happens above, but where is the secret. If I run locally on seriatrix server locally (i.e. not as a published app.) Then it works fine.

I'm not expecting an answer here (if someone is great then!) The general nature of this issue, but if someone raises the issue or helps in describing the error message If I can tell, I would be very appreciative.

Rob

The nature of the error message is having a problem with the NNET 2.0 code is unlikely. This is because .NET does not seem to allow you to try to read / write.

  • Check to see if you have any unsafe code in your extension to be able to perform this kind of code verification check in the CLR normally. May be.
  • Check to see if your extension uses any unmanaged code (COM or P / Invoke) error may arise.
  • It is possible that there is a bug in .NET CLR which causes problems when the sitrix moves in the environment.

The first thing I would do is to analyze the dump file that the fault occurred in which module. You can download for assistance in this endeavor.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -