Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Any negatives to generating ms excel report on the web?

Any negatives to generating ms excel report on the web?

Scheduled Pinned Locked Moved ASP.NET
questionsysadminhelpworkspace
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Goalie35
    wrote on last edited by
    #1

    One of our clients wishes to view company MS Excel reports through their corporate intranet so to accomodate this, I'm referencing the "Microsoft Office 11 Object Library" DLL in vs2005. Through this DLL, I can create any ms excel report I wish. One of my co-workers however, strongly believes generating ms excel reports by using a copy of ms office on the server is a bad idea, however, up to this point, I've been unable to find any bugs in my sample application. So my question is, are there any serious downsides to generating ms excel reports on the web this way? The only problem I've come up with so far is the fact that ms office is not a multi-threaded application. Meaning I had to setup some code so that if one user is currently generating a report, a 2nd user cannot begin their report generation until the 1st user is finished. Other than that though, I haven't had any problems however this is going to be a very involved application (they use 57 different excel reports) so I don't want to spend the next month developing an app using this process only to find out it was the wrong approach to take. Thanks. -Goalie35

    I 1 Reply Last reply
    0
    • G Goalie35

      One of our clients wishes to view company MS Excel reports through their corporate intranet so to accomodate this, I'm referencing the "Microsoft Office 11 Object Library" DLL in vs2005. Through this DLL, I can create any ms excel report I wish. One of my co-workers however, strongly believes generating ms excel reports by using a copy of ms office on the server is a bad idea, however, up to this point, I've been unable to find any bugs in my sample application. So my question is, are there any serious downsides to generating ms excel reports on the web this way? The only problem I've come up with so far is the fact that ms office is not a multi-threaded application. Meaning I had to setup some code so that if one user is currently generating a report, a 2nd user cannot begin their report generation until the 1st user is finished. Other than that though, I haven't had any problems however this is going to be a very involved application (they use 57 different excel reports) so I don't want to spend the next month developing an app using this process only to find out it was the wrong approach to take. Thanks. -Goalie35

      I Offline
      I Offline
      indianet
      wrote on last edited by
      #2

      http://support.microsoft.com/kb/257757[^]

      G 1 Reply Last reply
      0
      • I indianet

        http://support.microsoft.com/kb/257757[^]

        G Offline
        G Offline
        Goalie35
        wrote on last edited by
        #3

        Thanks for the link indianet. After reading that article, I'll definately be avoiding server-side excel automation. Can anyone then recomend an alternative to this problem? Creating a CSV file isn't really an option because the reports this company uses contain tabs, background colors, a few pivottables, and an image or two. Our current backup plan is to use Crystal reports which can be exported in xls format however there are a ton of headaches associated with this approach also such as the ability to properly align all of the cells and how to create tabs. Thanks again. -Goalie35

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups