none
Click-once deployment utility Throwing System.NullReferenceException RRS feed

  • Question

  •  have an VSTO excel 2007 Add in. For this I have created a Click-once deployment utility. I distributed this various clients who can just double click the .vsto file or set-up.exe and install the add in. It has worked fine for all clients except one. Clearly it has something to do with the particular client system but as I don't have rights to log in and check my hands are tied.

    The exception is shown below. has anyone had a similar situation ? Since the message does not have much info I am a bit stuck.

     

    Customization URI: file:///C:/gxsaddin/ConsumeWebServiceCS.vsto
    
    Exception: Object reference not set to an instance of an object.
    
     
    
     
    
    ************** Exception Text **************
    
    System.NullReferenceException: Object reference not set to an instance of an object.
    
       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.GetManifests(TimeSpan timeout)
    
       at Microsoft.VisualStudio.Tools.Applications.Deployment.ClickOnceAddInDeploymentManager.InstallAddIn()

    My experience with VSTO clickonce install is not extensive but I know that this is not a VSTO / installer issue but issue with machine or security settings. FYI all client are local admins.

     

     

     

     

     


    Ashwani Roy

    Blog

    Twitter

    Please click the Mark as Answer button if a post solves your problem!

    Tuesday, July 26, 2011 4:15 PM

Answers

  • Got it resolved by reinstalling Dot Net framework 3.5 SP1

    Ashwani Roy

    Blog

    Twitter

    Please click the Mark as Answer button if a post solves your problem!

    • Marked as answer by Ashwani Roy Wednesday, July 27, 2011 8:44 AM
    Wednesday, July 27, 2011 8:44 AM

All replies