locked
Export Image into Excel while there is no MS-Office on server in ASP.Net RRS feed

  • Question

  • User-1875449188 posted

    Hi,

    On my ASP.Net Production Server, there is no MS-Office but for working with Excel (Like Reading and Exporting textual Table) we have installed AccessDatabaseEngine_x64.exe .

    Now While Exporting textual Table we also want to export dynamic image formed by MS-Chart on .aspx page.

    Paralelly we can not use Microsoft.Office.Interop.Excel.dll as we do not have installed MS-Office on Production Server.

    So how we can export such type of dynamic MS-Chart image with data only in Excel ?

    If anybody knows please let me know ?. It is highly appreciable.

    Thanks in Advance

    Rajesh Singh

    Friday, January 25, 2013 2:01 AM

Answers

  • User3866881 posted

    Paralelly we can not use Microsoft.Office.Interop.Excel.dll as we do not have installed MS-Office on Production Server.

    Hi,

    It would be better if you can install Office program.

    If you don't wanna install Office, you have to use javascript——document.print to print the whole WebPage.

    Reguards!

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 26, 2013 8:19 PM

All replies

  • User3866881 posted

    Paralelly we can not use Microsoft.Office.Interop.Excel.dll as we do not have installed MS-Office on Production Server.

    Hi,

    It would be better if you can install Office program.

    If you don't wanna install Office, you have to use javascript——document.print to print the whole WebPage.

    Reguards!

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, January 26, 2013 8:19 PM
  • User-1199946673 posted

    It would be better if you can install Office program.

    No, it is NOT, because you shouldn't use Office Interop on a web server:

    "Microsoft does not currently recommend, and does not support, Automation of Microsoft Office applications from any unattended, non-interactive client application or component (including ASP, ASP.NET, DCOM, and NT Services), because Office may exhibit unstable behavior and/or deadlock when Office is run in this environment."

    http://support.microsoft.com/default.aspx?scid=kb;EN-US;q257757#kb2

     

    Sunday, January 27, 2013 2:39 PM
  • User-1875449188 posted

    Hi ,

    Thanks for your suggetion .we are not much more interested in Printing the page or Garph.

    we are more interested in exporting the image with a Table ( this table are alraedy exporting) ,so that client can change the values and redraw the another Chart and compares this generated chart with old one of Exported MS-Chart.

    Thanks

    Wednesday, February 13, 2013 6:42 AM
  • User-1875449188 posted

    Hi ,

      Thanks for replying. So what will be the solution ? 

    Wednesday, February 13, 2013 6:43 AM