none
Cannot run MS Project addin in MS Project 2010(x64) version RRS feed

  • Question

  • Hi All,

    I have MS project 2003 addin developed based on VSTO 2005 using 2003 PIA.It works fine when I installed it in Windows XP sp3 machine.

    Then,I have creted a 64 bit version of same addin and installed it in Windows7 machine with MS Project 2010(x64) and VSTO 2005.Although it installed successfully,it does not loading to MS Project.It gives error as "Not Loaded.A runtime error occurred during the loading of the COM addin".

    It works fine when I have 32 bit version of my MS Project addin with MS Project 2010(x86) and VSTO 2005 in Windows7 machine.

    I have correctly given securities as full trust for my addin as well.

    Can someone please tell me possible solution for this problem?Do i have to use VSTO 2005(x64)?If so please tell me the link to download it.

    Thanks

     

    • Moved by Julie SheetsModerator Wednesday, August 4, 2010 12:16 PM more appropriate forum (From:Project Standard and Professional General Questions and Answers)
    Wednesday, August 4, 2010 12:12 PM

Answers

  • VSTO add-ins that target the VSTO 2005 SE runtime are not compatible with 64-bit versions of Office 2010, and there is no 64-bit-compatible version of the VSTO 2005 SE runtime. Add-ins that target the VSTO 2005 SE runtime can be loaded only in 32-bit versions of Office 2010. For more details, see the third note at the bottom of http://msdn.microsoft.com/en-us/library/bb772080.aspx.

    In order for your add-in to work in 64-bit Project 2010, you'll need to upgrade your add-in project so that it targets one of the following VSTO runtimes:

    • The Visual Studio Tools for the Microsoft Office system (version 3.0 Runtime). To target this rutnime, you need to upgrade your project to an Project 2007 project in Visual Studio 2008.
    • The Visual Studio 2010 Tools for Office runtime. To target this rutnime, you need to upgrade your project to any Project add-in project in Visual Studio 2010).

    If you do upgrade your project so that it can be loaded by 64-bit Project 2010, you should typically set the platform target to Any CPU. For more details, see the information at the bottom of http://msdn.microsoft.com/en-us/library/h2c9cdc0.aspx.


    This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, August 10, 2010 6:30 PM

All replies

  • Hello Lakmini,

    I'm going to move your post to the Project customization and programming forum :

    http://social.technet.microsoft.com/Forums/en-US/project2010custprog/threads

    It's more likely you'll get a faster response there.

    Julie

    Wednesday, August 4, 2010 12:15 PM
    Moderator
  • Project 64 bit can only run 64 bit add-ins. It can't run 32 bit add-ins. You will need to get the authors of the add-in to re-compile in 64 bit format.

    --

    Rod Gill
    Microsoft MVP for Project - http://www.project-systems.co.nz
     
    Author of the only book on Project VBA, see: http://www.projectvbabook.com
     

     
    "Julie Sheets" wrote in message news:0ba64e3e-43bb-4976-a373-354b4ca902eb...

    Hello Lakmini,

    I'm going to move your post to the Project customization and programming forum :

    http://social.technet.microsoft.com/Forums/en-US/project2010custprog/threads

    It's more likely you'll get a faster response there.

    Julie



    __________ Information from ESET Smart Security, version of virus signature database 5342 (20100805) __________

    The message was checked by ESET Smart Security.

    http://www.eset.com

    The one and only Project VBA Book Rod Gill Project Management
    Thursday, August 5, 2010 10:42 AM
    Moderator
  • From what Lakmini is saying he is the author and has re-compiled an x64 version.  There is also a new PIA for 2010 (no download needed - it is in the GAC with a 2010 install), so can you confirm that re-compiling an x86 still works with 2010 - and not just your original 32 bit add-on?  Hopefully this will confirm if you have a general 2010 issue - or your x64 add-on was not correctly created (which might be due to VS version).

    Best regards, 

    Brian.


    Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
    Thursday, August 5, 2010 5:47 PM
    Owner
  • Hi All,

    First of all,thanks a lot for helping me.

    Also, original version of addin is MS project 2003 addin developed based on VSTO 2005 using 2003 PIA in Windows XP sp3 machine.

    This addin works fine in MS Project 2010(x86) and VSTO 2005 in Windows7 machine WITHOUT any modification.

    So,I have recompile original source in Window 7,with Platform Target "Any CPU" for projects and Target Platform "x64" for Set up project.Now it is installing as a 64 bit addin.But,it does not load to MS Project 2010(x64) version.It gives error as "Not Loaded.A runtime error occurred during the loading of the COM addin".

    Please,let me know your suggestions.

    Thanks,

    Lakmini

    Friday, August 6, 2010 4:50 AM
  • Hi there,

    Please follow my blog post here to see if you can find the issue.

    Hamed


    -- Hamed
    Friday, August 6, 2010 5:32 AM
  • VSTO add-ins that target the VSTO 2005 SE runtime are not compatible with 64-bit versions of Office 2010, and there is no 64-bit-compatible version of the VSTO 2005 SE runtime. Add-ins that target the VSTO 2005 SE runtime can be loaded only in 32-bit versions of Office 2010. For more details, see the third note at the bottom of http://msdn.microsoft.com/en-us/library/bb772080.aspx.

    In order for your add-in to work in 64-bit Project 2010, you'll need to upgrade your add-in project so that it targets one of the following VSTO runtimes:

    • The Visual Studio Tools for the Microsoft Office system (version 3.0 Runtime). To target this rutnime, you need to upgrade your project to an Project 2007 project in Visual Studio 2008.
    • The Visual Studio 2010 Tools for Office runtime. To target this rutnime, you need to upgrade your project to any Project add-in project in Visual Studio 2010).

    If you do upgrade your project so that it can be loaded by 64-bit Project 2010, you should typically set the platform target to Any CPU. For more details, see the information at the bottom of http://msdn.microsoft.com/en-us/library/h2c9cdc0.aspx.


    This posting is provided "AS IS" with no warranties, and confers no rights.

    Tuesday, August 10, 2010 6:30 PM
  • Hi All,

    Thanks a lot for the help.

    My problem solved after upgrdaing my project to Project 2007 in Visual Studio 2008 as McLean suggested.

    Thanks again every one..

    Best Regards,

    Lakmini

    Monday, August 16, 2010 4:15 AM