Microsoft KB Archive/839519

= You receive an &quot;Unhandled Exception&quot; error when you deploy a program in Office Live Communications Server 2003 =

Article ID: 839519

Article Last Modified on 3/31/2004

-

APPLIES TO


 * Microsoft 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:   Create a file that contains the following: 







, 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=&quot;C:\Program Files\Microsoft LC\Server\ServerAgent.dll&quot;

 Save the file as .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.

Additional query words: ServerAgent dependencies deploy

Keywords: kbprb KB839519

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.