469,353 Members | 2,060 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,353 developers. It's quick & easy.

System.AccessViolationException: Attempted to read or write protected memory

I am getting this exception while executing non query from .NET code to oracle 10g DB.

Can you plz help

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean forIntrospection, Boolean raiseResolveEvent)
at System.Reflection.AssemblyName.nInit()
at System.Reflection.AssemblyName..ctor(String assemblyName)
at System.Resources.ResourceManager.CanUseDefaultReso urceClasses(String readerTypeName, String resSetTypeName)
at System.Resources.ResourceManager.CreateResourceSet (Stream store, Assembly assembly)
at System.Resources.ResourceManager.InternalGetResour ceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
May 22 '07 #1
5 13255
kenobewan
4,871 Expert 4TB
Can you successfully connect to the db?
May 22 '07 #2
Motoma
3,237 Expert 2GB
Could you post relevant code? And use the [code] tags!
May 22 '07 #3
Frinavale
9,735 Expert Mod 8TB
Could you post relevant code? And use the [code] tags!
That whole bit was all one big error. (We should get error tags!)
May 22 '07 #4
http://support.microsoft.com/kb/923028

We had the same problem... *Very* frustrating. The above link is a hot-fix Microsoft has posted that fixed it for us. Good luck.
Sep 20 '07 #5
Were u able to resolve this issue?
I am also getting same error but its very random and there is no predefined pattern where I can conclude the root cause.
How can I determine that hot fix has already been installed on my m/c?
Any idea?
Jun 4 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by James Arnold | last post: by
1 post views Thread by 4Codehelp | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.