473,414 Members | 1,567 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,414 software developers and data experts.

Excel Automation: Interop vs. OfficeWriter vs. Work Horse

I've spent the past few weeks looking into various reporting mechanisms that will enable our company to create automated Excel reports in a "better" way.

Currently, we're running a copy of Excel on the server and using VB.NET to create Excel objects through Interop. It works just fine (mostly), but I hate to keep running Excel on the server for the standard reasons.

Basically, I have two alternatives in mind, and I see pluses and minuses to both. I'm wondering if anyone has any experience with either, or has any advice in general.

First, I've been looking into SoftArtisan's OfficeWriter. I've heard good things about it, and it obviously takes the burden off of running Excel on the server. It also integrates with SSRS, which we'll definitely be using in the future. It's a clean solution, isn't terrible processor intensive, and the price isn't bad for the standard version (which is what we'd be interested in purchasing).

Second, we have a lot of old equipment sitting around. One of these old machines could be used as a "work horse" machine, whose job is basically to create the reports from a locally running copy of Excel. A user would request a report through an ASP page, and the request would send a message to the work horse machine that would create the Excel report, etc. This method wouldn't require any further purchase. The maintainability of this option seems to be a bit higher, though. The method also seems to be somewhat archaic.

I go back and forth between the two options. I can see goods and bads in each. Does anyone have any experience of this type that could help sway my decision either way?
Jan 11 '08 #1
3 2005
camel
55
Advice wise, I can't say I would have thought of using any of these mechanisms anytime since 2002 when .Net came out, especially when it sounds like the reports are initiated via ASP which may or may not mean the reports actually run in real time? In fact even pre 2002 I would have used Crystal or Active Reports over Excel as either format can be exported to Excel and is better suited to the report generation task.

Nowadays the obvious candidate from ASP page for me would be create reports via the .Net Report class, which is free and basically the same as SSRS without the server side baggage. Alternatively Crystal is still there and is also relatively free, distribution rights coming as part of a typical VS licence.

In either case you get a report which can a) be presented directly in the browser using a Report Viewer, b) has built in options to export to Excel and c) can be exported to PDF too. Also from perspective of what you are talking about with Excel instances hogging a server, these methods are lightweight and run inside managed environment.
Jan 12 '08 #2
As a clarification, I should say that we'll mainly be doing batch processes whereby we'll generate around 400 reports and distribute them in some way (e.g. by zipping/emailing them out). Based upon what I know about using the .NET report projects, doing batch processes of this type aren't very efficient, and the Excel outputs take a long time to generate from ASP and open afterwards. That's why I've steered clear of these methods thus far. But given my lack of experience with the reporting projects, perhaps I'm missing something.

Any other opinions/thoughts from anyone? Thank you.
Jan 14 '08 #3
camel
55
Its entirely up to you, since you were looking for a different perspective I am happy to provide one. FYI I was batch creating 100s of precompiled reports to send to network folders and by email more than 10 years ago with the then Crystal distribution engine. This is 10 years & umpteen versions on so presumably better, whilst even 7 years ago used Active Reports same way.

Obviously tried various versions of Excel along the way too and with these other tools to compare to I can't see Excel is the best option in terms of scaling up or out. That you get easy ASP access is a bonus, its certainly not main feature.

Guess if specialist reporting tools like these don't offer significant benefits you have to wonder how they have acquired the market share they seem to enjoy.
Jan 16 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: cybertof | last post by:
Hello, Is there a way to connect (through automation) a c# application to a running Excel 2003 instance on a specific workbook ? In the past, i used to use GetObject(...) function in VB6. ...
17
by: Mansi | last post by:
I need to do some research on how to use excel automation from c#. Does anyone know of any good books related to this subject? Thanks. Mansi
7
by: Franck | last post by:
Hi, I'm using an xls file through my web service to print out a pdf file from which I returned path. In this way, got a macro in my XLS file which do the print out. Testing it from the xls file...
3
by: eye5600 | last post by:
I want to read/write Excel files but I am having trouble getting started. Using MS article 302084 as a cookbook, I try to add the reference for MS Excel Object Library. Two versions are listed, 5 &...
2
by: TJ | last post by:
Hi, Basically, I want to create excel file on the fly, then force users to download it without using automation. Here is one of ways.. System.IO.StringWriter sw = new...
4
by: goonsquad | last post by:
I'm writing an Excel Automation app and I'm running to a problem early on with what should be a basic step. Dim oExcel As Object Dim oBook As Object Dim oSheet As Object Dim oRng As...
3
by: Jennyfer Barco | last post by:
Hello, I have a question, how can I open Microsoft Excel from .NET. I only need to open a new file in Excel and paste some information and set the Microsoft Excel as the enabled aplication, so the...
7
by: Eran.Yasso | last post by:
Hi, I have project that automate excel(using Excel COM) which works fine in my home. I took the project from my home to work and tried to build the project but it won't built. I get error "The...
3
by: Vijay | last post by:
Hi, I am using a com component Microsoft excel 11.0 liabry in asp.net appliction and before using i have converted it into .NET component. But when control comes to following statement: ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.