473,395 Members | 1,623 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.

using Microsoft.Office.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.Office.Interop.Word, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c' 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="Microsoft.Office.Interop.Word, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c"/>

Source File: C:\Inetpub\wwwroot\MyApp\web.config Line: 22

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.Office.Interop.Word, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\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\Microsoft\Fusion!EnableLog].

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET

Feb 27 '06 #1
1 15909
On Mon, 27 Feb 2006 08:10:31 -0800, "R Reyes"
<RR****@discussions.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
===========================
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.Office.Interop.Word, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c' 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="Microsoft.Office.Interop.Word, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c"/>

Source File: C:\Inetpub\wwwroot\MyApp\web.config Line: 22

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'Microsoft.Office.Interop.Word, Version=11.0.0.0,
Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value
[HKLM\Software\Microsoft\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\Microsoft\Fusion!EnableLog].

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.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
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...
1
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...
9
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...
0
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...
0
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...
1
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...
1
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 : ...
0
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...
5
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) { ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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,...
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
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.