CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/21/2006 3:33:48 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 6 Views: 238 Favorited: 0 Favorite
7 Items, 1 Pages 1 |< << Go >> >|
Dracarnion
Asp.Net User
Microsoft.Office.Interop.Word4/21/2006 3:33:48 PM

0

       Hello I am new to this forum.  I have been learning .NET for a new job.  I wrote an application to find all word documents in a directory and change their template to normal. (long story) Anyway, I imported the Microsoft Office 11.0 Object Library which on my bosses computer, includes the necessary (Microfot.Office.Interop.Word), but on my computer it apparently doesn't.  I got it to run fine while debugging, but when running the executable from outside visual studio, I get the following error:

System.IO.FileNotFoundException: Could not load file or assembly 'Interop.Word, Version=8.3.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

I have reinstalled Microsoft Office but to no avail.  I have also confirmed that I have Visual Studio Tools installed.  If anyone has any ideas, I would greatly appreciate it.  Thanks in advance.
Mikhail Arkhipo
Asp.Net User
Re: Microsoft.Office.Interop.Word4/21/2006 10:42:21 PM

0

When running in VS the Office assembly is available to the application. When running outside, it may or may not be visible, depending on multiple factorss. You need to create proper setup project that will detect dependencies and deploy referenced assemblies along with the main application executables and install everything correctly.
Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
Dracarnion
Asp.Net User
Re: Microsoft.Office.Interop.Word4/24/2006 3:53:54 PM

0

Hey Mikhail - Thanks for the reply.  I have created a setup.exe to install the prerequisite as seen by the application(MS.NET Framework 2.0)  Even outside of VS, the program runs fine on my computer, but when i try it on the server it is complaining about:

Unable to install or run the application.  The application requires that assembly office Version 11.0.0.0 be
instaled in the Global Assembly Cache (GAC) first.

I tried to use the setup files to update the prerequisite but the same came thing up again.  Any ideas?  Thanks in advance for your help.      
Mikhail Arkhipo
Asp.Net User
Re: Microsoft.Office.Interop.Word4/24/2006 4:54:08 PM

0

I guess you may have to install Office on the server.
Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
abadincrotch
Asp.Net User
Re: Microsoft.Office.Interop.Word4/26/2006 4:28:52 PM

0

Mikhail Arkhipov (MSFT):
I guess you may have to install Office on the server.

or at least the interop assemblies.

Mikhail Arkhipo
Asp.Net User
Re: Microsoft.Office.Interop.Word4/26/2006 5:42:59 PM

0

You may want to check the license agreement. I am not sure if it is OK to install parts of the Office on other machines.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
abadincrotch
Asp.Net User
Re: Microsoft.Office.Interop.Word4/26/2006 6:24:58 PM

0

Mikhail Arkhipov (MSFT):

You may want to check the license agreement. I am not sure if it is OK to install parts of the Office on other machines.

probably correct. I'm in an environment where licensing isn't a concern ... even so, we opted to avoid using VSTO stuff on our servers, and minimizing, for now, the interaction we have with Excel to ODBC.

7 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
The Microsoft Office Web Components Black Book with .Net Authors: Alvin J. Bruney M. V. P., Pages: 568, Published: 2005
Visual Studio Tools for Office: Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath Authors: Eric Carter, Eric Lippert, Pages: 992, Published: 2006
Sharepoint 2007: The Definitive Guide Authors: James Pyles, Christopher M. Buechler, Bob Fox, Murray Gordon, Michael Lotter, Jason Medero, Pages: 794, Published: 2007
Microsoft Visual C++ .NET 2003: Kick Start Authors: Kate Gregory, Pages: 318, Published: 2003
Microsoft .NET Development for Microsoft Office Authors: Andrew Whitechapel, Pages: 504, Published: 2004
Professional VSTO 2005: Visual Studio 2005 Tools for Office Authors: Alvin Bruney, Pages: 313, Published: 2006
Microsoft Visual C# 2005 Unleashed Authors: Kevin Hoffman, Pages: 692, Published: 2006
Professional C# 2008 Authors: Christian Nagel, Bill Evjen, Jay Glynn, Karli Watson, Morgan Skinner, Pages: 1782, Published: 2008
Microsoft Sharepoint: Building Office 2007 Solutions in VB 2005 Authors: Scot P. Hillier, Pages: 519, Published: 2007
Pro SQL Server 2005 Integration Services: Intergration Services Authors: James Wightman, Pages: 548, Published: 2007

Web:
MSDN Visual C# General using Word = Microsoft.Office.Interop.Word using Word = Microsoft.Office.Interop.Word. ... In using statment you including: . using Word=Microsoft.Office.Interop.Word; ...
Microsoft.Office.Interop.Word Namespace Word Primary Interop Assembly Reference. Microsoft.Office.Interop.Word Namespace ...... Microsoft Office Word Primary Interop Reference · Microsoft.Office. ...
Office 2003 Update: Redistributable Primary Interop Assemblies is ... Office.Interop.VisOcx.dll. •, Microsoft.Office.Interop.Word.dll. •, Microsoft. Vbe.Interop.dll. •, Microsoft.Vbe.Interop.Forms.dll. •, Mscomctl.dll ...
Easily utilise Microsoft Word functionality in your .NET ... Dim word As New Microsoft.Office.Interop.Word.Application ..... Office.word or Imports Microsoft.Office.Interop.Word. i'm getting an error as Namespace or ...
Application Interface (Microsoft.Office.Interop.Word) Word Primary Interop Assembly Reference. Application Interface. Represents the Microsoft Office Word application. Namespace: Microsoft.Office.Interop.Word ...
Creating and Editing Office Documents with .NET Jul 20, 2005 ... using Word = Microsoft.Office.Interop.Word;. When working with Word or Excel object models, almost everything must be an object and you must ...
Could not load file or assembly 'Microsoft.Office.Interop.Word ... May 15, 2008 ... 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 ...
Import Microsoft.Office.Interop.Word component ASP.NET 2 - DevX ... I have been trying to use namespace : Import Microsoft.Office.Interop.Word but not managed to specify it on the ASP.NET form. The further I got was IMPORTS ...
Could not load file or assembly 'Microsoft.Office.Interop.Word ... Could not load file or assembly 'Microsoft.Office.Interop.Word - ASP.NET Community and Forum - Our ASP.NET forum is the place for Q&A-style discussions ...
Microsoft.Office.Interop Word/Excel Manipulation - vbnet Aug 19, 2008 ... Office.Interop.Word.Application Get Return Me._worApp End Get Set(ByVal value As Microsoft.Office.Interop.Word.Application) Me. ...






help please on parent or child portal

can't download from gooddogs repository module

dnn3: questions for skinobject css class and <%= skinpath %> image path

traslation for resource file of dnn 3.x in italian

expand vertical menu - select vertical menu sub link - execute app - return menus are collapsed

module container size limitations and errors

validaterequest only for html module

default values for modulesettings

dnn running on tomcat/postgresql/linux

error converting: tabs: column does not allow nulls.

3.0.8 copyright notice

dnn 1.0.10 on tacticalsystems.com

dnn 2.1.2 does not have users online

error happening after (succesfull) upgrade to dnn3

upgrade issues 2.0.4 to 2.1.2

dotnetnuke event in dublin on 5th april

dnn3 one css file for all skins in skin package...

dnn 3.0.9 bug: host tabs not working

cannot change file permissions

changing the template for dotnetnuke

default dnn3 skins re-distribution?

how to customize login messages?

dnn3 tttcompany authentication module error

dnn and sap integration?

help on scheduler (aspnet_wp.exe unhandled error)

cannot access dotnetnuke sub-projects forums

new panes

changing fonts etc in documents module

dnn (3.0.13) - problem with creation new portal

my wesite loads very slow.how i can make it fast.

   
  Privacy | Contact Us
All Times Are GMT