cancel
Showing results for 
Search instead for 
Did you mean: 

Attempted to read or write protected memory in SAP 8.81 PL5

former_member221339
Participant
0 Kudos

Hi

I seem to be suddenly getting lots of 'attempted to read or write protected memory' in an application I am writing using the B1DE

It seems to fail either when connecting to SAP or when initialising a recordset command

I have tried the usual tricks -

delete SM_OBS_DLL folder

reinstall client

reinstall DI API

I am on SAP 8.81 PL5

It's causing me real problems as I can hardly run my vb.net application

Can anyone help please ?

Many Thanks

Regards Andy

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Temporary solution is open ur code build and rebuild Sln.

Regards,

siva

former_member221339
Participant
0 Kudos

Hi all

Thanks for your answers.

At the moment I have found if I turn off all breakpoints the code runs fine.

I will try your answers but I have lost a lot of time on this and I have a deadline looming

Thanks again

Regards Andy

former_member221339
Participant
0 Kudos

Hi

Seems to have gone away after a couple of days

Might be due to a windows update, not sure

Thanks

Regards Andy

Johan_H
Active Contributor
0 Kudos

Hi Andy,

Check out this article: [possible solution|http://jtstroup.net/post/Attempted-to-read-or-write-protected-memory-This-is-often-an-indication-that-other-memory-is-corrupt.aspx]

Good luck,

Johan