Microsoft KB Archive/824013

= &quot;The assembly could not be found&quot; error message when loading an Office 2003 managed code extension in Excel 2003 and in Word 2003 =

Article ID: 824013

Article Last Modified on 2/3/2006

-

APPLIES TO


 * Microsoft Office Excel 2003
 * Microsoft Office Word 2003
 * Microsoft Visual Studio Tools for the Microsoft Office System version 2003

-





SYMPTOMS
When you open a Microsoft Office Word 2003 document or a Microsoft Office Excel 2003 workbook with a managed code extension that was created by using Microsoft Visual Studio Tools for the Microsoft Office System, you may receive the following error message:

The assembly could not be found at or could not be loaded. You can still edit and save the document. Contact your administrator or the author of this document for further assistance.



CAUSE
This error may occur if the assembly name contains a comma.

Note For additional causes of this error, see the &quot;Troubleshooting in Office at Run Time&quot; topic in the Visual Studio Tools for Office documentation.



RESOLUTION
To resolve this behavior, change the assembly name so that the assembly name does not contain the comma character.



STATUS
This behavior is by design.



Steps to reproduce the behavior
 Start Microsoft Visual Studio .NET 2003. On the File menu, point to New, and then click Project.

The New Project dialog box appears. In the Project Types list, double-click Microsoft Office System Projects, and then click Visual Basic Projects. In the Templates list, select Excel Workbook. In the project Name box, type Comma, Test, and then click OK.

Microsoft Office Project Wizard appears.</li> In Microsoft Office Project Wizard, click Finish.</li> On the Debug menu, click Start to build and to run the solution.

Excel 2003 starts and then opens the workbook. However, you may receive the error message that is mentioned in the &quot;Symptoms&quot; section, and the assembly is not loaded. The error message indicates that the assembly cannot be found.</li> Quit Excel 2003. Return to Visual Studio .NET.</li> To resolve this behavior, follow these steps: <ol style="list-style-type: lower-alpha;"> On the Project menu, click Comma, Test Properties.</li> In the Assembly Name box, type Comma Test, and then click OK.</li> On the Debug menu, click Start to build and to run the solution.

Excel 2003 starts and then opens the workbook. You do not receive the error message that is mentioned in the &quot;Symptoms&quot; section.</li></ol> </li></ol>

Keywords: kbnofix kbprb KB824013

-

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

© Microsoft Corporation. All rights reserved.