943,942 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 37926
  • ASP.NET RSS
Apr 6th, 2007
0

Could not load file or assembly 'Microsoft.Office.Interop.Word

Expand Post »
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 find the file specified.


Source Error:


Line 27: <compilation debug="false">
Line 28: <assemblies>
Line 29: <add assembly="Microsoft.Office.Interop.Word,
Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"/>
Line 30: <add assembly="Office, Version=11.0.0.0, Culture=neutral,
PublicKeyToken=71e9bce111e9429c"/>
Line 31:


Source File: E:\hris\crisis\web.config Line: 29


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.


should i install word or vs2005 or what is the reason.how can i fixed
it

i found that adding dll to the assembly cache in the server would solve the problem is it so should i add the dll in the bin file or what dll should i use.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
sajithkahawatta is offline Offline
5 posts
since Apr 2007
May 8th, 2008
0

Re: Could not load file or assembly 'Microsoft.Office.Interop.Word

Download "Primary Interop Assemblies" from the link ->
http://jagsmcp.spaces.live.com/blog/...098!2301.entry

Install the Assembly to the same Folder where gacutil.exe is present in your System.

Then try
using Excel = Microsoft.Office.Interop.Excel; in your Code
Happy Coding !
Reputation Points: 10
Solved Threads: 0
Newbie Poster
RakSaiABI is offline Offline
1 posts
since May 2008
May 7th, 2009
0

Re: Could not load file or assembly 'Microsoft.Office.Interop.Word

I'm running into the same problem. What DLL did you include in the bin folder?

Thanks.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
hermsen is offline Offline
1 posts
since Apr 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: How to update/delete linking table records in SQL server 2005 - Help needed
Next Thread in ASP.NET Forum Timeline: Display a .swf file as header





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC