How to deploy a VB.NET Project For Excel Automation?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David Corey

    #1

    How to deploy a VB.NET Project For Excel Automation?

    I have created a VB.NET program using VS2010 that opens 6 spread sheets in two instances of excel and runs macros in the .xlsm workbooks. This program Works perfect when I run it in the VS2010 runtime environment. When I go to install the program I get the following install errors:


    Application cannot be started -
    ERROR DETAILS
    Following errors were detected during this operation.
    * [10/20/2010 5:55:22 AM] System.Argument Exception
    - Value does not fall within the expected range.
    - Source: System.Deployme nt
    - Stack trace:
    at System.Deployme nt.Application. NativeMethods.C orLaunchApplica tion...
    at System.Deployme nt.Application. ComponentStore. ActivateApplica tion...
    at System.Deployme nt.Application. SubscriptionSto re.ActivateAppl ication...
    at System.Deployme nt.Application. ApplicationActi vator.Activate. .
    at System.Deployme nt.Application. ApplicationActi vator.PerformDe ploymentActivat ion...
    at System.Deployme nt.Application. ApplicationActi vator.ActivateD eploymentWorker ...


    Any ideas what could be keeping this project from being installed?
Working...