Bpoit

I have created VSTO addin and have successfully deployed it to most machines in my office. The addin adds a command bar button to the standard tool bar. On select machines the addin crashes outlook on startup. I have the startup code enclosed in a try catch to handle possible errors but it seems I cannot handle this error.

EventType clr20r3, P1 outlook.exe, P2 11.0.8010.0, P3 43d16d53, P4 system, P5 2.0.0.0, P6 4333ae87, P7 5a2, P8 0, P9 system.io.filenotfoundexception, P10 NIL.

When I strip out all code besides a msgbox call in the application startup method, the addin starts up fine and displays the msgbox, but then when outlook is closed the addin crashes outlook in a simmilar fashion as when it crashes on startup. I have been unable to find any differences between the affected machines and other machines in the office.



Re: Visual Studio Tools for Office VSTO Addin crashing outlook on select machines

Bpoit

Found out the problem was the select machines did not have the Microsoft Office PIA's installed. I ran the install for the assemblies and the addin worked.



Re: Visual Studio Tools for Office VSTO Addin crashing outlook on select machines

mobigital

I used to run my vsto excel sheet without Excel PIAs installed, but now it crashes Excel without them (DUH!!!- MS please prevent excel from crashing).

Is there something in the VSTO application that requires PIAs

I added ActionsPane utilization recently, could that have added the PIA requirement