Excel Add in published setup package fail to install
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: Excel Add in published setup package fail to install

  1. #1
    Join Date
    Jun 2014
    Posts
    3

    Excel Add in published setup package fail to install

    hello
    Recently I developed my first add-in in vb.net 2010, I have installed office 2010 and 2013 and visual studio 2010 and 2013, when I press start debugging from visual studio it works with full feature but I can't create installation for it with standard installation in visual studio, I tried your solution to create publish but when I want to install it in my machine i see this error :
    The value of property 'type' cann't be parsed. The error is: Could not load file or assembly 'Microsoft.office.businessApplication.Fba, Version=14.0.0.0, Culture=netural, publickeytoken=71...' or one of it's dependencies.
    The system can't find the file specified. (C:\program files\common files\microsoft shares\VSTO\10.0\VSTOinstaller.exe.config line10)

    please help me really i have big problem with this and it wasted my 1 week.

  2. #2
    Join Date
    Apr 2014
    Location
    in northeast ohio
    Posts
    84

    Re: Excel Add in published setup package fail to install

    The value of property 'type' cann't be parsed. The error is: Could not load file or assembly
    The system can't find the file specified
    .....VSTOinstaller.exe.config line10
    these types of errors may be because of a corrupted config file
    it also could be if you are using MS Visual Studios and added a file
    or you wrote one and added it to your solution but... didn't select in its properties
    copy if newer, or copy always

    sometimes you will get the "can't be parsed" if the file doesn't load
    but that might also mean its gotten corrupted or that value in there is garbage

    the error itself is saying this

    you have a configuration file in this folder path here
    C:\program files\common files\microsoft shares\VSTO\10.0\ the file VSTOinstaller.exe. its type config

    inside it at line 10 their is a value
    or more simply a path written down to another file that needs to get loaded
    but
    when the operating system or application goes to try to find it ...

    "The system can't find the file specified"

    basically some file its trying to load is missing in a folder were line 10 in the installers config file says it should be at
    Last edited by willmotil; June 14th, 2014 at 01:31 AM.

  3. #3
    Join Date
    Jun 2014
    Posts
    3

    Re: Excel Add in published setup package fail to install

    Hello thank you for your time
    this is config line 10:
    type="Microsoft.Office.BusinessApplications.Runtime.DeploymentAction.HttpFbaRequestCreator,Microsoft.Office.BusinessApplications.Runtime,Version=14.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" />

    now what should I do?
    I don't change this until now.

    say me solution please

  4. #4
    Join Date
    Apr 2014
    Location
    in northeast ohio
    Posts
    84

    Re: Excel Add in published setup package fail to install

    k so i did a little looking around on this Microsoft.office.businessApplication
    HttpFbaRequestCreator part of your error as well
    http://msdn.microsoft.com/en-us/libr...ice.14%29.aspx
    from what i can see
    this highly appears to be caused by a improper installation of this vsto office tools
    so its not your app i think ... but ... it looks like.... something your app needs that is installed wrong

    so now you have some options

    i suggest this preferably strongly first
    post a new topic on this site , were you will have someone who can help who is experienced with this problem proper
    http://social.msdn.microsoft.com/For...013?forum=vsto

    or
    if your not depending on this vsto and sharepoint
    you might copy paste it line 10 to a text file
    remove it from that config save and try to run it.
    if that doesn't work replace it save and try something else

    or
    if you know what this is Microsoft.office.businessApplication i dont but
    if you can safely uninstall re-download and reinstall it
    you can try that it might just solve the problem...
    after you uninstall it i would reboot to clear the cache then reinstall
    then try to run your app again

    ...
    if nothing works...
    including suggestions from the guys on that site ...
    ...the final solutions...

    quick one
    save your project to some other folder or somewhere safe other then vs projects
    uninstall vsto reboot reinstall
    recreate a new project same name in vs stuidio projects ,readd all your stuff, run it.
    (could just be a bad dll reference or a damaged dll or something)

    long one
    save your project to some other folder or somewhere safe other then vs projects
    uninstall everything that you think might be related especially that microsoft buisness apps thing and even as far
    as uninstalling .net and if you feel the need to go as far as vs do so...
    reboot the computer (to clear the cache)
    now here this is optional ...
    if its a really bad install or coruption, it could have screwed up reg keys (this part can really suck)
    save your project to thumbdrive or what not, i dont really wanna say this cause its kinda dangerous but
    if you have a registery cleaner and you know how to use it run it at this point
    ... then...
    reboot yet again
    now then finally...
    re-download / reinstall all the programs you need after your done ...yet again reboot
    at that point ...after all that work...
    recreate a new project with the same name in your projects folder
    readd everything all the class files rescources ect from the old project...
    run it
    provided you installed everything correctly.......

    it should work

    hate those kinds of problems
    good luck
    Last edited by willmotil; June 15th, 2014 at 07:24 AM.

  5. #5
    Join Date
    Oct 2014
    Posts
    1

    Re: Excel Add in published setup package fail to install

    I had the same problem.
    Installing the add-inusing "run as administrator" solved the problem for me.
    Let me know whether this worked for you.

    Udo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center