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

Application fails with error: 80040154 when attempting to open a doc in Word 2010

Application fails with error: 80040154 when attempting to open a doc in Word 2010.

I have a VB.Net app that uses word to open documents. I am running VS 2008 on my PC with Office 2003. When I build the exe and transfer it over to a PC running Windows 7 and Office 2010 I get the 80040154 error - Retrieveing the COM class factory for component with CLSID {000209FF-0000-0000=c000-000000000000046} failed due to the following error: 80040154.

The Microsoft.Office.Interop.word.DLL gets copied as part of the project build and I have tried botha local and non local copy.

I've been resesarching for 2 days and nothing works.

Any thoughts or Ideas ?
Jul 27 '10 #1

✓ answered by Frinavale

Word has to be installed on the computer where your application is being deployed to. If the DLL that your application is attempting to use is not registered (ie the application is not installed) then you will see this error.

-Frinny

4 4944
Frinavale
9,735 Expert Mod 8TB
Word has to be installed on the computer where your application is being deployed to. If the DLL that your application is attempting to use is not registered (ie the application is not installed) then you will see this error.

-Frinny
Aug 3 '10 #2
Thank you for your response. My clients had advised me that they had word installed and actually displayed it to me. What they didn't tell me was that it was a demo copy only, downloaded form the MS web site, and it uses some form of a virtualized image.
Do once they purchased a real copy of Word, then my project worked as designed.

Thanks
Aug 3 '10 #3
Frinavale
9,735 Expert Mod 8TB
I'm glad you solved your problem :)

Thanks for sharing the reason for why it wasn't working with us. I'm sure it will help others experiencing the same thing!

-Frinny
Aug 3 '10 #4
techww
2
hi
please purchase a paid version

thanks
Aug 17 '10 #5

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

Similar topics

4
by: Martin Franklin | last post by:
I am trying to get a total record count on a Acess 97 mdb database. However I get the following error when I try to load the page: Provider error '80040154' Class not registered...
0
by: Susan Bricker | last post by:
The following error: "The current field must match the join key '?' in the table that seves as t the 'one' side of one-to-many relationship. Enter a record in the 'one' side table with the...
8
by: sudha | last post by:
Hi, To open a word doc from c#, i use the following code : Word.ApplicationClass WordApp = new Word.ApplicationClass (); // give any file name of your choice. object fileName =...
1
by: vikram | last post by:
hello all, I have a small question. I have an application which actually converts binary data to word document and saves on the server. The next phase of the project involves opening the word...
2
by: Graeme Neath | last post by:
I'm having a very bizarre problem. I have a vb.net application which uses the ESRI MapObjects 2.2 component (unmanaged code). When I use the MapObjects built-in function 'CopyMap' to copy the map...
0
by: tmillett | last post by:
Need to drop a set of packages from a Db2 v8 fp8 database on AIX. When attempting the drop package command, I'm getting a -805 sqlcode. I've tried the drop command with the version specified and...
2
by: RodneyAnonymous | last post by:
I've got some code for composing an e-mail from the contents of an RTF box. The first time I execute it, everything works fine. If I close my app and then re-run it, however, I always receive the...
7
by: Peter | last post by:
ASP.NET 2.0 I am trying to open a Word document and Excel document from a dialog web page, what's the best way to do that? I have tried the following: Response.Clear();...
4
by: mojde | last post by:
Hi all, I am using : 1. Windows XP-Visual Studio 2005 2. FastReport Studio Trial (www.fast-report.com) I have used FastReport Studio Trial (FastReport3.dll) in my ASP.NET web Site...
10
by: Meganutter | last post by:
Hello, I have been stuck with this error for a while now and really want to get it fixed. The catch here is, i need to rewrite code and update it. when i use the old code the page loads as its...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.