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 1 15954
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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.
|
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: 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
|
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
| |
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...
|
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...
|
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...
|
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?
|
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: 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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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...
| |