AccessViolationExceptrion - WeOnlyDo Discussion board

AccessViolationExceptrion (General questions)

by gw, Monday, September 17, 2007, 13:05 (6277 days ago)

Hello,
we are using the sftp.net componet version 3.1.1 in a service implemented with .net 2.0. We get following error:

System.AccessViolationException occurred
Message= Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist.
Source= WeOnlyDo.Security.Cryptography.KeyManager
StackTrace:
bei OpenSSL_add_all_algorithms()
bei WeOnlyDo.Security.Cryptography.KeyManager..ctor()

Could you please help us with this error. The service is running since 2 years and our customer gets this error since we are using the new version of sftp.

Kind regards

gw

Re: AccessViolationExceptrion

by woddrazen, Monday, September 17, 2007, 13:14 (6277 days ago) @ gw

Hi gw,


Did you distribute wodKeyManager component (WeOnlyDo.Security.Cryptography.KeyManager.dll) with your application? That could solve your problem.

If problem persist, can you translate me error that you receive? I'm not so good with German Language.

Let us know how it goes.


Regards,
Drazen

Re: AccessViolationExceptrion

by gw, Monday, September 17, 2007, 13:29 (6277 days ago) @ woddrazen

Hello,
here the translation:

There is an attempt to read or write protected memory.

I distributed the whole application and also the keymanager. Searching the web, I reda that this error class is new in 2.0 and most of the time occurs with unmanaged code. Do you use calls to unmanaged code?
We are getting about 2-3 times a day this error.

Kind regards,

gw

Re: AccessViolationExceptrion

by woddrazen, Monday, September 17, 2007, 15:09 (6277 days ago) @ gw

gw,


I have tried to duplicate it but didn't have luck. Can you perhaps duplicate it on your machine?

Does this error occur all the time or sometimes? Did he change something lately? Maybe he is using new type of private and public key and start receiving such error.

In that case we will need to duplicate this. Maybe he could send us some test keys so we duplicate it on our side.


Drazen

Re: AccessViolationExceptrion

by Jeff Alexander, Tuesday, May 12, 2009, 21:07 (5674 days ago) @ woddrazen

gw,


I have tried to duplicate it but didn't have luck. Can you perhaps duplicate it on your machine?

Does this error occur all the time or sometimes? Did he change something lately? Maybe he is using new type of private and public key and start receiving such error.

In that case we will need to duplicate this. Maybe he could send us some test keys so we duplicate it on our side.


Drazen

Re: AccessViolationExceptrion

by wodDamir, Tuesday, May 12, 2009, 21:23 (5674 days ago) @ Jeff Alexander

Jeff,

Can you please re-post your question, since only Drazen's last post was quoted?

Regards,
Damba