473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 13619
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

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

Similar topics

3
by: XJ | last post by:
Hi experts, i try to use vb.net 2005 call dll, then give me "Attempted to read or write protected memory.This is often an indication that other memory is corrupt". i have chk some message others...
1
by: ianyian | last post by:
Hi experts, i try to use vb.net 2005 call C++ dll, then give me "Attempted to read or write protected memory.This is often an indication that other memory is corrupt". i have chk some message...
2
by: James Arnold | last post by:
I am getting the following error message in my WinForms project: --- An unhandled exception of type 'System.AccessViolationException' occurred in System.Windows.Forms.dll Additional...
1
by: 4Codehelp | last post by:
I have a code in VC++ that gives this particular error on exiting the program while executing in release mode. Error: An unhandled exception of type 'System.AccessViolationException' occurred in...
6
by: Sugandh Jain | last post by:
Hi, I am getting the error message Attempted to read or write protected memory. This is often an indication that other memory is corrupt. It was not coming until yet, for around 2 months. Now,...
1
by: Sudhan | last post by:
hi i am trying to write excel using VB.net but when i open oExcel.Workbooks.Open the application error: Attempted to read or write protected memory. This is often an indication that other memory...
3
by: sriram347 | last post by:
Hi I am a newbie to ASP.NET. I developed a web page (project type is web application) and I keep getting this error. B]Error message : "System.AccessViolation Exception attempted to read or...
5
by: craig1231 | last post by:
I have a problem trying to pass a structure to an unmanaged c++ DLL from C#. When I call PCSBSpecifyPilotLogon from C#, it throws an AccessViolationException This is what I have... The...
0
by: mikomty | last post by:
I get the following error message when trying to write/read to a Data Acquisition Switch Unit 34970A using IEEE. Attempted to read or write protected memory issue. This is often an indication that...
3
by: maneshborase | last post by:
Hi friends, I am facing one serious problem in my application. I am trying to open dicom image file (.dcm) has size around 400 MB. But I am getting and unhandy exceptions, Some time, ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.