473,320 Members | 1,868 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,320 software developers and data experts.

Export to EXCEL / WORD - Interoperability Setup Problem


Hi ,
I need to export some of the reports to MS EXCEL & MS WORD
in a WEB

APPLICATION.I also need to LOCK some of the Columns in
EXCEL-sheet.Right now I need to

run the Interoperability setup on the machine where the software will
run.The machine

also needs to have MS OFFICE 2003 installed.The setup fails for any
lower MS OFFICE

version.
Following entry gets created in WEB.CONFIG - <assemblytag,

<add assembly="Microsoft.Office.Interop.Word, Version=11.0.0.0,
Culture=neutral,

PublicKeyToken=71e9bce111e9429c"/>
I have few Questions regarding this:

<1When I tried to run setup of my WEB APPLICATION on a machine which
doesn't have
..NET framewrok installed,the Interoperability setup was successful..but
though OFFICE

2003 was installed there , 'EXPORT TO EXCEL' functionality of my WEB
application is

not working ...Why is it so ? Do I need to install .NET framework there
?

<2I guess when u run Interoperability setup ,the dll gets registered
in GAC..Is it

possible to have a private assembly (dll) which I can simply put in the
'BIN' folder ?
So that I dont have to run that setup.And I should be able to create
EXCEL- sheet & WORD

object..and format it as per my requirements...

Any help will be appreciated.
Thanks in advance.

Regards....
.... Pradnya Patil

Jan 10 '07 #1
1 1589
"Pradnya Patil" <pr************@gmail.comwrote in message
news:11**********************@i56g2000hsf.googlegr oups.com...
Why is it so?
Because it's not designed to work this way... Microsoft strongly advises
against any server-side automation of Office, and won't actually support any
application which uses it...
http://support.microsoft.com/default...US;q257757#kb2
Any help will be appreciated
1) Create the Office documents in their XML format:
http://www.microsoft.com/downloads/d...displaylang=en

2) Use Aspose:
http://www.aspose.com/Products/Aspos...s/Default.aspx
http://www.aspose.com/Products/Aspos...s/Default.aspx
Jan 10 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: PerryC | last post by:
Is there a way to export an MS Access Report to Word/Excel that looks EXACTLY like it appears in Access? When I export to Excel, only certain data appears, titles, headings... all missing. The...
5
by: Jonny | last post by:
Hello, I have created a button on my form which when pressed does the following : 1) Run a pre-defined Macro, which is picking up a query and running my data to excel. However, I need the...
2
by: Danny | last post by:
I am trying to export my access 2002 table to excel using transfer spreadsheet. It works fine but in excel, there is an apostrophe before each word in all cells. How can I avoid this? I tried...
7
by: MLH | last post by:
A97 has menu options that support exporting table data to ms excel data file format. Is this easily implemented from within code? Any examples? I looked in A97 HELP for the TransferSpreadsheet...
4
by: Lewis Edward Moten III | last post by:
I have a file that users can download through a web page protected by forms authentication: Download.aspx?ID=45 and within that file ... FileInfo fileToDownload = new FileInfo(fileName);
10
by: Steve | last post by:
I am trying to create a DLL in Visual Studio 2005-Visual Basic that contains custom functions. I believe I need to use COM interop to allow VBA code in Excel 2002 to access it. I've studied...
4
by: dinoo | last post by:
I would appreciate if some one could help me out with this problem. I am trying to export the datagrid to an excel file in ASP.NET. The functionality works fine. But I would like to setup the...
7
by: Vanessa | last post by:
hi Everyone, I have two questions on exporting data to Excel using ASP (w/o converting formatted excel file into web page and then plug in the dynamic data): 1. Can we export data into...
0
by: Pradnya Patil | last post by:
Hi , I need to export some of the reports to MS EXCEL & MS WORD in a WEB APPLICATION.I also need to LOCK some of the Columns in EXCEL-sheet.Right now I need to run the Interoperability...
2
by: =?Utf-8?B?Um9iZXJ0?= | last post by:
About the time we installed Windows Server 2003 SP2 on our Web servers, our exports to Excel stopped working from Crystal Reports .NET within all our ASP.NET applications. However, the exports to...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.