Using OWC11 - Activex

Discussion in 'ASP.NET / ASP.NET Core' started by pedrademoco, Jun 1, 2011.

  1. Is anything special required to access OWC11 on server?

    I have interop.owc11.dll in bin directory, and same code that I have used successfully on another hosting site to create spreadsheet object
    set x = CreateObject("OWC11.Spreadsheet")

    Error message I get says cannot Create ActiveX component.

    [Exception: Cannot create ActiveX component.]
    Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName) +211
    ADS.Pedra.Web.Business.DealEvaluation.Eval.InitializeSpreadsheet() in C:\projects\Pedra\DealEvaluation\Eval.vb:62
     

Share This Page