Microsoft Knowledge Base Email Alertz

(839519) - Describes how to resolve a problem where you receive an error when you load a program in Office Live Communications Server 2003.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 839519 - Last Review: March 31, 2004 - Revision: 1.1

You receive an "Unhandled Exception" error when you deploy a program in Office Live Communications Server 2003

SYMPTOMS

When you deploy a program in Microsoft Office Live Communications Server 2003, you may receive the following error message:
Unhandled Exception: System.IO.FileNotFoundException: File or assembly name ServerAgent, or one of its dependencies, was not found.

CAUSE

This problem may occur if the ServerAgent.dll file is not installed in the global assembly cache. If your program and the ServerAgent.dll file are not installed in the same folder, the ServerAgent.dll file cannot be found.

RESOLUTION

To resolve this problem, create a configuration file that points to the ServerAgent.dll file, and put this file in the same folder as your program. To do this, follow these steps:
  1. Create a file that contains the following:
    <configuration>
    
       <runtime>
    
          <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    
             <dependentAssembly>
    
                <assemblyIdentity name="ServerAgent"
    
                                  publicKeyToken="31bf3856ad364e35"
    
                                  culture="neutral" />
    
                <codeBase version="1.0.0.0"
    
                    href="LCS installation folder\ServerAgent.dll"/>
    
             </dependentAssembly>
    
          </assemblyBinding>
    
       </runtime>
    Note For LCS installation folder, use the full path of the ServerAgent.dll file that was installed with the server. For example, if the full path of the ServerAgent.dll file is C:\Program Files\Microsoft LC\Server\ServerAgent.dll, use:
    href="C:\Program Files\Microsoft LC\Server\ServerAgent.dll"
  2. Save the file as filename.extension.config in the same folder as your program.

    For example, if the name of the program file is MyApp.exe, name the file MyApp.exe.config, and save the file in the save folder as MyApp.exe.

APPLIES TO
  • Microsoft Office Live Communications Server 2003
Keywords: 
kbprb KB839519
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate