none
.NET Runtime version 2.0.50727.5466 - Fatal Execution Engine Error (000007FEE9A1658A) (80131506) RRS feed

  • Question

  • Hi,

    I am getting this error while loading the Excel 32-bit addin in 64-bit Excel application.

    .NET Runtime version 2.0.50727.5466 - Fatal Execution Engine Error (000007FEE9A1658A) (80131506)

    Kindly help.


    Dubey_Varun

    Monday, March 25, 2013 2:27 PM

Answers

  • this is not supported - try to compile your add-in as anycpu - if you are not using any pinvoke or libraries that make direct dependency on native code you should be fine with anycpu compilation.
    Monday, March 25, 2013 7:29 PM

All replies

  • this is not supported - try to compile your add-in as anycpu - if you are not using any pinvoke or libraries that make direct dependency on native code you should be fine with anycpu compilation.
    Monday, March 25, 2013 7:29 PM
  • Hi Damian D,

    Thanks for your reply.

    I had compiled my add-in as AnyCPU.

    It would be of great help, If you could provide some information about the event log that i am getting .

    .NET Runtime version 2.0.50727.5466 - Fatal Execution Engine Error (000007FEE9A1658A) (80131506)


    Dubey_Varun

    Wednesday, April 3, 2013 7:51 AM
  • not really, it can be caused by many Things - does it happen also for normal apps or just this add-in?
    Wednesday, April 3, 2013 1:33 PM
  • It is happening for this add-in only. I am able to use other add-in, which I had created as POC, over 64-bit Excel.


    Dubey_Varun

    Thursday, April 4, 2013 12:48 PM
  • The issue was not with the Add-in. it was with the exception thrown by StreamReader, while trying to read a empty stream. There was a try catch block to handle general exception, which was getting caught in 32 bit Excel Add-in customization but resulted in FATAL ERROR in 64 bit Excel Add-in customization.

    byte[] data = System.Convert.FromBase64String(inputstring);

    //input string was empty

                        using (MemoryStream fsread = new MemoryStream(data.Length))

                        {

                            ICryptoTransform desdecrypt = DES.CreateDecryptor();

                            CryptoStream cryptostreamDecr = new CryptoStream(fsread,

                               desdecrypt,

                               CryptoStreamMode.Read);

                            fsread.Write(data, 0, data.Length);

                            fsread.Position = 0;

    StreamReader strReader = new StreamReader(cryptostreamDecr, new ASCIIEncoding());

                            string line;

                            int i = 0;

                            while ((line = strReader.ReadLine()) != null)

    //code was failing here in the while statment

                            {

                                line = line.Trim();

                                lineArray[i] = line;

                                i++;

                            }

                            fsread.Close();

                        }


    Dubey_Varun

    Tuesday, April 16, 2013 5:51 AM