Microsoft KB Archive/908004

= FIX: You cannot run a customization that was created in Microsoft Visual Studio Tools for the Microsoft Office System version 2003 =

Article ID: 908004

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft .NET Framework 2.0
 * Microsoft Visual Studio Tools for the Microsoft Office System version 2003

-





SYMPTOMS
You cannot run a customization that was created in Microsoft Visual Studio Tools for the Microsoft Office System version 2003. This problem occurs when the following conditions are true:
 * You update the computer to the Microsoft .NET Framework 2.0.
 * You log on to the computer by using a user account that does not have administrator rights.



CAUSE
Because of a bug in the .NET Framework 2.0, customizations that were created in Visual Studio Tools for the Office System version 2003 no longer work after the .NET Framework 2.0 is installed on the computer. This problem occurs when you run a customization and you log on to the computer by using a user account that does not have administrator rights.



Visual Studio Tools for the Office System version 2003 developers and administrators
To resolve this problem, install the update for Office 2003 (KB907417). For more information about the update for Office 2003 and the .NET Framework 2.0, click the following article number to view the article in the Microsoft Knowledge Base:

907417 Description of the update for Office 2003: November 8, 2005

A redistributable version of the update for Office 2003 (KB907417) is also available in the following languages. The following files are available for download from the Microsoft Download Center:

English
Download the office2003-kb907417redist-ENU.exe package now.

French
Download the office2003-kb907417redist-FRE.exe package now.

Japanese
Download the office2003-kb907417redist-JPN.exe package now.

German
Download the office2003-kb907417redist-DEU.exe package now.

Chinese (Traditional)
Download the office2003-kb907417redist-CHT.exe package now.

Chinese (Simplified)
Download the office2003-kb907417redist-CHS.exe package now.

Korean
Download the office2003-kb907417redist-KOR.exe package now.

Italian
Download the office2003-kb907417redist-ITA.exe package now.

Spanish
Download the office2003-kb907417redist-SPA.exe package now.

For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Note This update must be installed by a user who has administrator rights.

To use this update, follow these steps:
 * 1) Download and run the executable file.
 * 2) Accept the Microsoft Software License Terms.
 * 3) Specify a temporary directory on the computer where you want to save the redistributable update.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
By default, customizations that were created in Visual Studio Tools for the Office System version 2003 should use CLR version 1.1. The following outcomes are possible for customizations that were created in Visual Studio Tools for the Office System version 2003:
 * When you install the .NET Framework 2.0 and you have not applied the update that is mentioned in the &quot;Resolution&quot; section, customizations that were created in Visual Studio Tools for the Office System version 2003 accidentally try to use CLR version 2.0. The customizations do not run.
 * When you install the .NET Framework 2.0 and you apply the update that is mentioned in the &quot;Resolution&quot; section, customizations that were created in Visual Studio Tools for the Office System version 2003 use CLR version 1.1. The customizations run as intended.

For more information about the update for Office 2003 and the .NET Framework 2.0, click the following article numbers to view the articles in the Microsoft Knowledge Base:

908002 BUG: Add-ins, smart documents, or smart tags that you create by using Microsoft Visual Studio 2005 do not work in Microsoft Word or in Microsoft Excel

908003 FIX: Office 2003 crashes when you try to close a Word document or an Excel spreadsheet from a WinForm control in a Visual Studio Tools for the Office System version 2003 solution

Steps to reproduce the problem

 * 1) Use Visual Studio Tools for the Office System version 2003 to create a customization for Microsoft Office Excel 2003 or for Microsoft Office Word 2003.
 * 2) Deploy the customization on a computer that does not have the .NET Framework 2.0 installed.
 * 3) Log on to the computer by using a user account that does not have administrator rights.
 * 4) Run the customization on the computer. The customization runs.
 * 5) Deploy the .NET Framework 2.0 to the computer.
 * 6) Try to run the same customization on the computer. The customization does not run as expected.

Additional query words: VSTO v1, VSTO2003, VSTO 2003

Keywords: kbbug kbfix kbqfe KB908004

-

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

© Microsoft Corporation. All rights reserved.