By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,812 Members | 1,288 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,812 IT Pros & Developers. It's quick & easy.

System.AccessViolationException: Attempted to read or write protected memory

P: 1
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
Share this Question
Share on Google+
5 Replies

Expert 2.5K+
P: 4,871
Can you successfully connect to the db?
May 22 '07 #2

Expert 2.5K+
P: 3,235
Could you post relevant code? And use the [code] tags!
May 22 '07 #3

Expert Mod 5K+
P: 9,731
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

P: 1

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

P: 1
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.