locked
MS Office application not installed. RRS feed

  • Question

  • User-606490918 posted

    Hi

    I have been trying to find a solution to the situation I am facing from quite a time, somebody please help me out:

    I have downloaded a solution onto my system from the Sub version, the project is an  Excel plug in or a addin, so apparantly when I debug the project an excel spread sheet should come up with the plug in an extra drop down to the tabs, but I am hit with the following error:

    You cannot debug or run this project, because the required version of the Microsoft office application is not installed.

    I have only Visual studio 2010, Microsoft office 2003 installed on my system.

    Further the project for the excel plugin is in .net framework 3.5.

    My colleague who initially developed the appication is able to debug it, he has got both office 2007 and 2003 installed on his system and when he debugs the application he gets an option to choose the version of the office he wants to run the application in.

    I am not sure what is going wrong but would surely need some help with solving this issue.

    Thanks

    Monday, June 7, 2010 9:35 AM

Answers

  • User-606490918 posted

    The VISUAL studio 2010 supports office applications 2007 and 2010 and not 2003 hence the issue.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 10, 2011 5:47 PM

All replies

  • User-606490918 posted

    The VISUAL studio 2010 supports office applications 2007 and 2010 and not 2003 hence the issue.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 10, 2011 5:47 PM
  • User-1207726229 posted

    I'm having the same issue.  I have Office 2007 installed on my system, and Office 2007 PIA but looks like VS2010 can't find the Excel installed.

    I had installed Office 2010 and then uninstalled it.  Is it possible the add-in is looking for Excel 2010?

    How can I tell the add-in to look for Excel 2007?  I've tried removing all references to Office 14 and adding Office 12 references, but that doesn't seem to do it.

    Thursday, October 20, 2011 3:39 PM
  • User1810873842 posted

    This happened to me after committing project to SVN and after several days updating. Probably, because my colleagues are using Office 2010.

    To fix this problem go to: Project properties -> Debug tab -> Click: Start external program and browse to C:\Program Files\Microsoft Office\Office12\WINWORD.EXE

    Thursday, October 27, 2011 3:28 AM
  • User-26668562 posted

    To fix this problem go to: Project properties -> Debug tab -> Click: Start external program and browse to C:\Program Files\Microsoft Office\Office12\WINWORD.EXE



    Phew.  Thank you.

    After "believing" the VS2010 error message, and wasting ages trying to change the installed features on VS2010, then re-re-re-installing the Primary Interop Assemblies for Excel, I finally discovered your suggestion.

    And you were spot on.

    VS2010 somehow decided that it couldn't find my installed copy of Excel 2007, so was refusing to run my Excel Addin project.   Changing the Properties, as described, worked a treat.

    But, seriously, in 2012, can one Microsoft application really be that unable to determine when another one is installed ?!

    Monday, February 6, 2012 8:11 AM