Last post Jun 27, 2011 02:46 PM by KKChat
Jan 08, 2010 04:12 AM|arvindharitus|LINK
I have a C# application developed in Visual Studio 2005. The
application reads and writes to Excel files. The application works
fine with Excel 2003 but does not work with Excel 2000. While running
with Excel 2000, it gives the following error message:
"Attempted to read or write protected memory. This is often an
indication that other memory is corrupt".
Any solution to the above problem will be much appreciated.
Jan 08, 2010 05:44 AM|qwe123kids|LINK
have Tried Supress the JIT
uncheck option "Suppress JIT optimization on module load"
Jan 08, 2010 06:35 AM|arvindharitus|LINK
Thaks for reply QWE123Kids,
But it not working...
When i try to open workbook it give error
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
And the code is working on the machine that have office 2007 but not work on system that have office 2000.
Jan 08, 2010 06:46 AM|qwe123kids|LINK
Not very sure about u may require offie API for backward comparibilty..
if u build excel using offie 2007 to open in 2000 u may Require some Office API
Oct 28, 2010 01:38 AM|manjunatht|LINK
Hi, Did you able to resolve this ?
Oct 28, 2010 01:41 AM|manjunatht|LINK
Hi .. Did you able to resolve this ?
Oct 31, 2010 02:00 PM|qwe123kids|LINK
Hi Manju ,
Better use Openxml in Asp.net Rather then using Office AutomATION in Web.
Jun 27, 2011 02:46 PM|KKChat|LINK
Did you resolve this issue? I am having same problem in Excel 2000. My server has Excel 2000 and development enviornment has Excel 2007. It work fine in DEV but fail in server while trying open excel application.
The Interop.Excel.dll has 1.15 version. It means it has been created with Excel 2003. Is that can be root cause?
Thanks in advance.