Hi All,
I have created an ASP.NET project and for one of the pages I want to
pop open a word template and fill in some info. In Visual Studio
2005, I added the COM reference Microsoft Office 11.0 Object library.
This adds a few dll's to the \bin directory. When I run the code from
visual studio, it works fine. When I copy it to the server (dll's and
all), I get the following error when I navigate to the page:
Retrieving the COM class factory for component with CLSID
{00020906-0000-0000-C000-000000000046} failed due to the following
error: 80080005
Any ideas? I'm sure it has to do with how I added the assembly, but I
have very limited experience in this area. I have done similar
projects using windows forms and you can use 'Copy Local' to move the
assembly reference into the working directory. How can I do something
similar with ASP.NET?
Thanks,
Ryan 6 3541
On Sep 20, 5:11 pm, rwie...@iastate .edu wrote:
Hi All,
I have created an ASP.NET project and for one of the pages I want to
pop open a word template and fill in some info. In Visual Studio
2005, I added the COM reference Microsoft Office 11.0 Object library.
This adds a few dll's to the \bin directory. When I run the code from
visual studio, it works fine. When I copy it to the server (dll's and
all), I get the following error when I navigate to the page:
Retrieving the COM class factory for component with CLSID
{00020906-0000-0000-C000-000000000046} failed due to the following
error: 80080005
Any ideas? I'm sure it has to do with how I added the assembly, but I
have very limited experience in this area. I have done similar
projects using windows forms and you can use 'Copy Local' to move the
assembly reference into the working directory. How can I do something
similar with ASP.NET?
Thanks,
Ryan
The COM object (in this case, Word) needs to be installed on the
server. You can do this by installing Word/Office on the server.
This will work but I think they're encouraging people to use the
PIAs...
Well, since office is already on the server and it still doesn't work,
I think the message is pretty clear. I will take Mark's suggestion
and not do it that way.
Thank you both for your replies.
Does anybody know of anything any cheaper than Aprose? $900 for one
customer site seems awfully steep. And I don't have enough customers
requesting this to amke it worth buying the OEM.
<rw*****@iastat e.eduwrote in message
news:11******** **************@ w3g2000hsg.goog legroups.com...
Does anybody know of anything any cheaper than Aprose?
No.
What are your actual requirements for this? There are probably other ways of
doing things...
--
Mark Rae
ASP.NET MVP http://www.markrae.net
The user is requesting a shipment from this company. The Word doc (or
PDF) is basically going to be a receipt with the information from the
shipment request. So, the receipt is a template that will get some
blanks filled in.
Mark, thanks a lot. You were a big help.
-Ryan
"Mark Rae [MVP]" <ma**@markNOSPA Mrae.netwrote in message
news:em******** **********@TK2M SFTNGP04.phx.gb l...
>
What are your actual requirements for this? There are probably other ways
of doing things...
I need to replace a DCOM application running on Windows 2003. It is using
Word for mailmerge with SQL data to create a file for the client
application. How to do this better? This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Helene Day |
last post by:
I am trying to access the Word Objects from a .NET project.
I have some sample from
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_vsto2003_ta/html/WordObject.asp
and I have MS Office 2003. However I don't know which file I need to
reference for the MS Word 11.0 Object Library.
Or what else do I need to install/download from MS to be able to create MS
Office 2003 Projects.
|
by: pmud |
last post by:
Hi,
I need to use an Excel Sheet in ASP.NET application so that the users can
enter (copy, paste ) large number of rows in this Excel Sheet. Also, Whatever
the USER ENETRS needs to go to the SQL DATABASE, probably by the click of a
button.
Is this possible? & what is the BEST APPROACH for doing this? & also if any
links are there do tell those to me too coz I have no idea how to go about
doing it.
|
by: R Reyes |
last post by:
Can someone please explain to me why I can't get the MS Word Interop assembly
to work in my VS2005 project? I'm trying to manipulate MS Word from my Web
Form application and I can't get passed this screen below. Please help,
thanks in advance...
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify...
|
by: R Reyes |
last post by:
ISSUE (reposted)
===========================
Can someone please explain to me why I can't get the MS Word Interop assembly
to work in my VS2005 project? For many people, they say they add the
reference and it works, however when I add the reference the application
can't find it. Not sure why it says the system cannot find the file when it
exists in that location? Please help, thanks in advance...
GOAL
===========================
|
by: R Reyes |
last post by:
ISSUE (reposted)
===========================
Can someone please explain to me why I can't get the MS Word Interop assembly
to work in my VS2005 project? For many people, they say they add the
reference and it works, however when I add the reference the application
can't find it. Not sure why it says the system cannot find the file when it
exists in that location? Please help, thanks in advance...
GOAL
===========================
| |
by: Mike in Santa Rosa |
last post by:
I'm trying to get a simple c# app built that can launch/manipulate an excel
workbook, sheet. I've chased down several examples and can't any of them to
work. So I must be doing somethnig obviouslt wrong.
Most examples to get things started include something:
using Microsoft.Office.Interop.Excel;
or
using Excel;
or
using Excel = Microsoft.Office.Interop.Excel;
|
by: live |
last post by:
Hi,
when i try to open document word for reading and writing with C#, the
program stop on this line
And the program give me this error :
'DefaultDomain' : chargé
|
by: Alan T |
last post by:
private Interop.Word.Application _wordApp;
What is the differences betwenn
_wordApp.Quit(...)
and _wordApp.Application.Quit(...) ?
|
by: sajithkahawatta |
last post by:
my web page C#.net is work properly in my iis .but when i publish in another server it give errers.i used vs2005 and ms word 2003.
but in the server there is no vs2005 or word installed. it has only .net frame work installed.folowing the error,
Parser Error Message: Could not load file or assembly 'Microsoft.Office.Interop.Word, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot...
|
by: Luft |
last post by:
I'm just starting to work with VSTO and Word 2007 but I've run into a problem when trying to create an add-in.
I get the warning: This project references the primary interop assembly for Microsoft Office Word 2007, but this primary interop assembly is not installed.
I have installed the interop assembly by running: PrimaryInteropAssembly.exe
I also set a project reference to the Microsoft Word 12.0 Object Library but I still get this...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |