473,756 Members | 3,390 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using Microsoft.Offic e.Interop.Word not working!

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
=============== ============
Basically I am making an intranet application for my company and this
feature will only be used inside our network to create/open word documents
that can be modified programatically .

ERROR MESSAGE
=============== ============
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 your configuration file appropriately.

Parser Error Message: Could not load file or assembly
'Microsoft.Offi ce.Interop.Word , Version=11.0.0. 0, Culture=neutral ,
PublicKeyToken= 71e9bce111e9429 c' or one of its dependencies. The system
cannot find the file specified.

Source Error:
Line 20: during development.
Line 21: -->
Line 22: <compilation debug="true">
Line 23: <assemblies>
Line 24: <add assembly="Micro soft.Office.Int erop.Word, Version=11.0.0. 0,
Culture=neutral , PublicKeyToken= 71e9bce111e9429 c"/>

Source File: C:\Inetpub\wwwr oot\MyApp\web.c onfig Line: 22

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.Offi ce.Interop.Word , Version=11.0.0. 0,
Culture=neutral , PublicKeyToken= 71e9bce111e9429 c' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\M icrosoft\Fusion !EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\M icrosoft\Fusion !EnableLog].

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.502 15.44; ASP.NET

Feb 27 '06 #1
1 15959
On Mon, 27 Feb 2006 08:10:31 -0800, "R Reyes"
<RR****@discuss ions.microsoft. com> wrote:
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
============== =============
Basically I am making an intranet application for my company and this
feature will only be used inside our network to create/open word documents
that can be modified programatically .

ERROR MESSAGE
============== =============
Configuratio n 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 your configuration file appropriately.

Parser Error Message: Could not load file or assembly
'Microsoft.Off ice.Interop.Wor d, Version=11.0.0. 0, Culture=neutral ,
PublicKeyToken =71e9bce111e942 9c' or one of its dependencies. The system
cannot find the file specified.

Source Error:
Line 20: during development.
Line 21: -->
Line 22: <compilation debug="true">
Line 23: <assemblies>
Line 24: <add assembly="Micro soft.Office.Int erop.Word, Version=11.0.0. 0,
Culture=neutra l, PublicKeyToken= 71e9bce111e9429 c"/>

Source File: C:\Inetpub\wwwr oot\MyApp\web.c onfig Line: 22

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.Offi ce.Interop.Word , Version=11.0.0. 0,
Culture=neutra l, PublicKeyToken= 71e9bce111e9429 c' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\M icrosoft\Fusion !EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind
failure logging.
To turn this feature off, remove the registry value
[HKLM\Software\M icrosoft\Fusion !EnableLog].

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.502 15.44; ASP.NET


My initial guess would be that the PIA for Word and also the other
office PIAs may not have been installed properly. I would first
re-install Office doing a 'Complete' installation and go from there.

http://msdn2.microsoft.com/en-us/library/15s06t57.aspx

Ken Wilson
Seeking viable IT employment in Victoria, BC
Mar 1 '06 #2

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

Similar topics

1
10877
by: bracoute | last post by:
Hello.... can you plz help me ... i'm using vbscript in asp.net and i've referenced the microsoft.office.interop.word.dll so that i can use the wordApplication object to automate MS Word.. the problem is that everytime i try to instantiate a new wordApplication object (and yes i've imported the classes) i get error message: ACCESS IS DENIED.. why? Can you plz help me...
1
3513
by: Alan T | last post by:
VS 2005 and MS Office 2003 installed. I can include Microsoft.Office.Core and Word in the references so I can add the using Microsoft.Office.Interop.Word. However, my workmate cannot do the same thing although he also got VS2005 and MS Office 2003 installed. He can only add Microsoft.Office.Core in the using clause but no Microsoft.Office.Interop.Word.
9
48016
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...
0
1777
by: chovatia.jaydeep | last post by:
Hi, I want to hide Menubar/Toolbar in Word/Excel 2007. I followed steps given in the link: http://msdn2.microsoft.com/en-us/library/aa338202.aspx Following above linke, i created Add-In project in Visual Studio 2005 and added code mentioned here in the application Line 1: Imports Microsoft.Office.Core Line 2: Imports Word = Microsoft.Office.Interop.Word
0
1933
by: kalyanilovesme | last post by:
how to import that name space(Microsoft.Office.Interop.Word) in asp.net with c#.. i added the reference of microsoft.office11.0.object library even though this name space not coming Interop.Word.dll was craeted but the namespace is not coming Microsoft.Office.Interop.Word
1
4963
by: mac73 | last post by:
Hi, I am using asp.net 2.0 application with Microsoft.Office.Interop.Word version 11.0.0.0 on windows server 2003 with IIS 6.0. It works fine with access given to Network service. The scenario is that i open Word document using Microsoft word's application class, insert text and save it. Problem: Text insertion is fine. But when i save it and open it again, all the images that were in the original document are lost. If i use...
1
25141
by: PulkitZery | last post by:
Hello! I am looking to find Microsoft.Office.Interop.Word dll for Office 2007, to include it into my project’s bin folder. I tried to download it from : http://www.microsoft.com/downloads/details.aspx?familyid=59daebaa-bed4-4282-a28c-b864d8bfa513&displaylang=en But my problem is that when I extract the file and run the setup, it does not give me any idea where to get those file or where is it saving those dlls. I even don’t think it is...
0
1262
by: jojee | last post by:
Hi All i have a little problem in my project that is i m using word document for reading the contents from it so i did add the references Microsoft.Word.Object library and in the wen.config file i added <indentity impersonate="true"/> but when i add the reference the word library is set to be off and a yellow spot is visible on it thats why i cannt add the above namspace Microsoft.Office.interop.Word rather then Microsoft.Office.Core which is...
5
11662
by: Alex Dransfield | last post by:
I am trying to add text to a shape but I can't figure out how to do it.. I am using the method public void DrawOnDoc(object oMissing, Microsoft.Office.Interop.Word._Document oDoc) { oDoc.Shapes.AddShape(1, (xPos / 2) + 100, (yPos / 2) + 100, nWidth / 2, nHeight / 2, oMissing); } to add a shape to a document, but I can't find anything about adding text to the shape. Is it possible to do this?
0
9271
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,...
0
10031
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9869
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 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...
0
9708
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 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...
1
7242
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6534
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();...
0
5302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3354
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2665
bsmnconsultancy
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...

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.