Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problems with OWC11 interop publishing to development server

Posted on 2006-01-10
9
Medium Priority
?
2,292 Views
Last Modified: 2008-08-20
Good morning,

On my local development machine, I added a reference to OWC11 and .NET automatically created the Interop stuff.  I compiled and pushed all of the code to my development server for testing using xcopy like I normally do.

Before I did that I installed the OWC11 Web Components I just downloaded from Microsoft.

When I try to run the page, though, I get the following error:

File or assembly name Microsoft.Office.Interop.Owc11, or one of its dependencies, was not found.

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Office.Interop.Owc11, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
 (Fully-specified)
LOG: Appbase = file:///E:/inetpub/test/Web
LOG: Initial PrivatePath = bin
Calling assembly : test, Version=1.0.2201.19480, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Office.Interop.Owc11, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/efbcf085/16840ac9/Microsoft.Office.Interop.Owc11.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/efbcf085/16840ac9/Microsoft.Office.Interop.Owc11/Microsoft.Office.Interop.Owc11.DLL.
LOG: Attempting download of new URL file:///E:/inetpub/test/Web/bin/Microsoft.Office.Interop.Owc11.DLL.
LOG: Attempting download of new URL file:///E:/inetpub/test/Web/bin/Microsoft.Office.Interop.Owc11/Microsoft.Office.Interop.Owc11.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/efbcf085/16840ac9/Microsoft.Office.Interop.Owc11.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/efbcf085/16840ac9/Microsoft.Office.Interop.Owc11/Microsoft.Office.Interop.Owc11.EXE.
LOG: Attempting download of new URL file:///E:/inetpub/test/Web/bin/Microsoft.Office.Interop.Owc11.EXE.
LOG: Attempting download of new URL file:///E:/inetpub/test/Web/bin/Microsoft.Office.Interop.Owc11/Microsoft.Office.Interop.Owc11.EXE.

 

Stack Trace:


[FileNotFoundException: File or assembly name Microsoft.Office.Interop.Owc11, or one of its dependencies, was not found.]
   test.Emt.charting.prospect.drillQueuePieWorkingInv.Page_Load(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +35
   System.Web.UI.Page.ProcessRequestMain() +750

 
0
Comment
Question by:dentyne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
9 Comments
 
LVL 3

Expert Comment

by:jphillips247
ID: 15664063
On your local machine see if the reference is made to the GAC or c:\windows\assemblies if it is ensure that the interop is in the GAC of your test machine if it is not there review your installation and check this link out.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_wrcore/html/wrtskinstallingofficeprimaryinteropassemblies.asp

And go here to locate the download for the Primary Interops installation:
http://www.microsoft.com/downloads/details.aspx?FamilyID=3c9a983a-ac14-4125-8ba0-d36d67e0f4ad&DisplayLang=en

Thanks.
0
 
LVL 1

Author Comment

by:dentyne
ID: 15664115
Thanks for the response.  Can you help me in determining if the reference is to the GAC or C:\windows\assemblies please?  This GAC and interop stuff is new territory for me.

Thanks for the help.  This problem has really shut down a critical piece of functionality.
0
 
LVL 3

Expert Comment

by:jphillips247
ID: 15665367
Are you working with Visual Studio?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 1

Author Comment

by:dentyne
ID: 15665857
Visual Studio .NET.  In ASP.NET. I went to "References" and then chose Microsoft Office Web Components 11.  I guess that somehow created some interop, because I use:

using Microsoft.Office.Interop.Owc11;

It works locally, but when I xcopy to the development server it does not.

0
 
LVL 1

Author Comment

by:dentyne
ID: 15665919
I also looked at the links you sent.  I am using Office Web Components but I didn't see anything in the article about them.  Would the office web be included in the office PIAs?  I am also conceptually lost as to what these are.  Thanks again.
0
 
LVL 1

Author Comment

by:dentyne
ID: 15665950
I also see that Microsoft.Office.Interop.Owc11 exists in C:\Windows\Assembly, but it does not on the server.  Can I just cut and paste this in there?  
0
 
LVL 1

Author Comment

by:dentyne
ID: 15666202
I downloaded the Office Interop PIAs but the setup won't run because it tells me that I need to install Office 2003 first.  I am not interested in the whole Microsoft Office Installation...just the Office Web Components. Is it possible to just transfer my interop from my GAC to the server's GAC?
0
 
LVL 3

Accepted Solution

by:
jphillips247 earned 2000 total points
ID: 15666547
Yes, you can do this by using start->run type c:\windows\assembly\gac  do not try to browse to it you cannot get there. hit Enter.
Next copy the folder called  Microsoft.Office.Interop.Owc11 to a location that you can reach from the server.  Log on to the server and then use the start->Run type c:\windows\assembly\gac once there copy the folder into it.  This should fix the problem.
0
 
LVL 1

Author Comment

by:dentyne
ID: 15670562
Hi JPhillips,

Thank you so much for your courage, effort, and dedication in answering my question.   I have gotten the charting to work on my development and production servers.  You have solved my issue and the awarding of 500 points certainly doesn't convey my appreciation for this enough.


 
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have developed many web applications with asp & asp.net and to add and use a dropdownlist was always a very simple task, but with the new asp.net, setting the value is a bit tricky and its not similar to the old traditional method. So in this a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question