Ask a questionAsk a question
 

AnswerCrash in Excel 2k7 + VSTO Addint + RTD

  • Friday, October 30, 2009 5:01 PMjeremiah_adams Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I've got a strange crash happening with my addin. I've created a exce2k7 addin that uses the IRTDServer interface. Now, this thing works great until I actually save the excel worksheet and then later try to open the excel worksheet. When I open the worksheet, it evaluates RTD() formula calls which instantiates a COM based-rtd server. Well, it's supposed to. None of the code for instantiating the object actually ever fires. What's weird is I have an excel2k3 addin that runs virtualy the same code, and it works fine. (the difference in code is simply in referencing excel 11 vs excel 12). 

    I've found nothing on this crash error. Tech net has no info on it. Does anyone have any ideas??

    Below is the error info from the log

    Event Type: Error
    Event Source: .NET Runtime
    Event Category: None
    Event ID: 1023
    Date: 10/30/2009
    Time: 9:43:46 AM
    User: N/A
    Computer: GW-JADAMS
    Description:
    .NET Runtime version 2.0.50727.3603 - Fatal Execution Engine Error (7A036050) (80131506)

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Answers

  • Friday, November 06, 2009 3:53 AMBessie ZhaoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello again Jeremiah,

    If windows installer, first download these hot fix files to development machine. You could add these hot fix files to Setup project by right-clicking Setup project and selecting Add->Files. When end user install this add-in, these hot fix files will appear in the installation path, switch to installation path and install them manually. Here are threads which may interest you: KB908002 - The 2003 exe redist.

    If ClickOnce, here is a thread which you could get an answer from missing PIAs. Basically, follow this MSDN article to add these hot fix files. After installing the exe file, switch to C:\Users\v-beszha\AppData\Local\Apps\2.0\... (for test, in my side, the path is like this), and install these hot fix files manually.

    Best regards,
    Bessie

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

All Replies

  • Thursday, November 05, 2009 3:37 AMBessie ZhaoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

    Could you please tell us the version of Visual Studio?

    It seems to be related to .NET Runtime 2.0. I search this error in bing. Here is a link with a same error which is repaired it by using a hot fix: https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=16827.

    Does it work now?

    Best regards,
    Bessie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Thursday, November 05, 2009 9:34 PMjeremiah_adams Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you Bessie.

    The hot fix did solve my problem with the crash. However, the download page says i cannot distribute the HotFix. How am I to get the HotFix to end-users?

    Many Thanks.

    Jeremiah
  • Friday, November 06, 2009 3:53 AMBessie ZhaoMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hello again Jeremiah,

    If windows installer, first download these hot fix files to development machine. You could add these hot fix files to Setup project by right-clicking Setup project and selecting Add->Files. When end user install this add-in, these hot fix files will appear in the installation path, switch to installation path and install them manually. Here are threads which may interest you: KB908002 - The 2003 exe redist.

    If ClickOnce, here is a thread which you could get an answer from missing PIAs. Basically, follow this MSDN article to add these hot fix files. After installing the exe file, switch to C:\Users\v-beszha\AppData\Local\Apps\2.0\... (for test, in my side, the path is like this), and install these hot fix files manually.

    Best regards,
    Bessie

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Friday, November 06, 2009 1:10 PMjeremiah_adams Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Bessie,

    Do you know if there are any plans to include the fix in Windows Update or a Service Pack in the future?