Visual Studio Developer Center >
Visual Studio Forums
>
Visual Studio Tools for Office
>
Crash in Excel 2k7 + VSTO Addint + RTD
Crash in Excel 2k7 + VSTO Addint + RTD
- 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 logEvent Type: ErrorEvent Source: .NET RuntimeEvent Category: NoneEvent ID: 1023Date: 10/30/2009Time: 9:43:46 AMUser: N/AComputer: GW-JADAMSDescription:.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
- 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.- Marked As Answer byjeremiah_adams Friday, November 06, 2009 1:10 PM
All Replies
- 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. - 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 - 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.- Marked As Answer byjeremiah_adams Friday, November 06, 2009 1:10 PM
- Bessie,
Do you know if there are any plans to include the fix in Windows Update or a Service Pack in the future?


