Advertisement

04.21.2004 at 06:42AM PDT, ID: 20961895
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.1

Problems Deploying an app using Microsoft.Office.Interop.Excel Assembly

Asked by allinb in Microsoft Visual Basic.Net

This is a deployment question in regards to deploying a VB.Net App that uses the Microsoft.Office.Interop.Excel Assembly. I can build in both release and debug and get the following message:

WARNING: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'office.dll'
WARNING: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'Microsoft.Office.Interop.Excel.dll'
WARNING: Unable to find dependency 'mscorlib' (Signature='B77A5C561934E089' Version='1.0.5000.0') of assembly 'Microsoft.Vbe.Interop.dll'

When I take the deployment results and deploy them on my machine everything runs fine, obviously when I deploy to any other machine when it hits the creation of the application object I get the following exceptions:

System.IO.FileNotFoundException: File or assembly name Microsoft.Office.Interop.Excel, or one of its dependencies, was not found.
File name: "Microsoft.Office.Interop.Excel"
   at _401KReport.net.TSCRA401KMain.TSCRA401KReport(String iniPathname, String ExcelPathname, DateTime CheckDate)
   at _401KReport.net.Excel401KMain.RunReportButton_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

=== Pre-bind state information ===
LOG: DisplayName = Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
 (Fully-specified)
LOG: Appbase = C:\Documents and Settings\Administrator.TSCRA_NT\Start Menu\Programs\TSCRA401KReport\
LOG: Initial PrivatePath = NULL
Calling assembly : 401KReport.net, Version=1.0.1566.3678, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: Attempting download of new URL file:///C:/Documents and Settings/Administrator.TSCRA_NT/Start Menu/Programs/TSCRA401KReport/Microsoft.Office.Interop.Excel.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/Administrator.TSCRA_NT/Start Menu/Programs/TSCRA401KReport/Microsoft.Office.Interop.Excel/Microsoft.Office.Interop.Excel.DLL.
LOG: Attempting download of new URL file:///C:/Documents and Settings/Administrator.TSCRA_NT/Start Menu/Programs/TSCRA401KReport/Microsoft.Office.Interop.Excel.EXE.
LOG: Attempting download of new URL file:///C:/Documents and Settings/Administrator.TSCRA_NT/Start Menu/Programs/TSCRA401KReport/Microsoft.Office.Interop.Excel/Microsoft.Office.Interop.Excel.EXE.


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
----------------------------------------
401KReport.net
    Assembly Version: 1.0.1566.3678
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
----------------------------------------
System
    Assembly Version: 1.0.5000.0
----------------------------------------
System.Drawing
    Assembly Version: 1.0.5000.0
----------------------------------------
System.Data
    Assembly Version: 1.0.5000.0
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 7.0.5000.0
----------------------------------------
System.Xml
    Assembly Version: 1.0.5000.0

**********************************************************************
This appears to be a versioning issue and if I read this right but I do not seem to be able to locate why. What I need is some help walking through a debug of this deployment issue so I can understand the process and will be able to handle it if it comes up again.....

Any help on this is as you would expect Greatly appreciated.....
Thanks,
AllenStart Free Trial
[+][-]04.21.2004 at 07:53AM PDT, ID: 10878904

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 08:32AM PDT, ID: 10879447

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 08:33AM PDT, ID: 10879461

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 09:47AM PDT, ID: 10880354

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 10:01AM PDT, ID: 10880519

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 11:54PM PDT, ID: 10886041

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.21.2004 at 11:54PM PDT, ID: 10886043

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.22.2004 at 02:53AM PDT, ID: 10887139

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.22.2004 at 12:53PM PDT, ID: 10892968

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.22.2004 at 06:15PM PDT, ID: 10895382

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.27.2004 at 06:03AM PDT, ID: 10928234

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.27.2004 at 09:02PM PDT, ID: 10935339

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.28.2004 at 05:01AM PDT, ID: 10937935

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.17.2004 at 05:58PM PDT, ID: 11094352

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Sign Up Now!
Solution Provided By: TheLearnedOne
Participating Experts: 4
Solution Grade: B
 
 
[+][-]05.17.2004 at 06:58PM PDT, ID: 11094715

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-44