Microsoft KB Archive/891396

= You receive &quot;The Add-in 'Faculty Course Tools' failed to load&quot; error message or &quot;The Add-in 'Student Course Tools' failed to load&quot; error message when you start Visual Studio .NET 2003 Academic Edition =

Article ID: 891396

Article Last Modified on 2/24/2006

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Academic Edition

-





Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
On a computer that is running Microsoft Visual Studio .NET 2003 Academic Edition, you receive one of the following error messages:  If you install Visual Studio .NET Academic Teaching Tools 2003, you receive the following error message. You receive the following error message when you try to start Visual Studio .NET:

The Add-in 'Faculty Course Tools' failed to load or caused an exception. Would you like to remove this Add-in? If you choose yes, you will need to reinstall the Add-in to use it again.

Error Message: Class not registered

Error number: 80040154

 If you install the Visual Studio .NET Academic Student Tools 2003, you receive the following error message. You receive the following error message when you try to start Visual Studio .NET:

The Add-in 'Student Course Tools' failed to load or caused an exception. Would you like to remove this Add-in? If you choose yes, you will need to reinstall the Add-in to use it again.

Error Message: Class not registered

Error number: 80040154





CAUSE
This problem occurs if you install the Microsoft .NET Framework 1.1 Service Pack 1 (SP1) after you install either of the following:
 * Visual Studio .NET Academic Teaching Tools 2003
 * Visual Studio .NET Academic Student Tools 2003

This problem occurs because the Faculty Course Tools DLL registration or the Student Course Tools DLL registration is missing some required entries.



RESOLUTION
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this problem, register the Faculty Course Tools component or the Student Course Tools component. To do this, use one of the following methods: === Method 1

Use a command-line command ===

To register the Faculty Course Tools component, follow these steps:
 * 1) Click Start, point to All Programs, point to Microsoft Visual Studio .NET 2003, point to Visual Studio .NET Tools, and then click Visual Studio .NET 2003 Command Prompt.
 * 2) At the command prompt, type cd %VSInstallDir%, and then press ENTER.
 * 3) Type regasm Microsoft.VisualStudio.Academic.FacultyTools.dll, and then press ENTER.
 * 4) Type exit, and then press ENTER to quit the command prompt.

To register the Student Course Tools component, follow these steps:
 * 1) Click Start, point to All Programs, point to Microsoft Visual Studio .NET 2003, point to Visual Studio .NET Tools, and then click Visual Studio .NET 2003 Command Prompt.
 * 2) At the command prompt, type cd %VSInstallDir%, and then press ENTER.
 * 3) Type regasm Microsoft.VisualStudio.Academic.StudentTools.dll, and then press ENTER.

=== Method 2

Use a registry file ===

Alternatively, you can create a registry key to enter the component information in the registry. To register the Faculty Course Tools component, follow these steps:  Start a text editor such as Notepad. Put the following information in the text editor window:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}] @=&quot;Microsoft.VisualStudio.Academic.FacultyTools.VS7AddIn&quot;

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\Implemented Categories]

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\InprocServer32] @=&quot;mscoree.dll&quot; &quot;ThreadingModel&quot;=&quot;Both&quot; &quot;Class&quot;=&quot;Microsoft.VisualStudio.Academic.FacultyTools.VS7AddIn&quot; &quot;Assembly&quot;=&quot;Microsoft.VisualStudio.Academic.FacultyTools, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; &quot;RuntimeVersion&quot;=&quot;v1.1.4322&quot;

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\InprocServer32\7.0.5000.0] &quot;Class&quot;=&quot;Microsoft.VisualStudio.Academic.FacultyTools.VS7AddIn&quot; &quot;Assembly&quot;=&quot;Microsoft.VisualStudio.Academic.FacultyTools, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; &quot;RuntimeVersion&quot;=&quot;v1.1.4322&quot;

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\ProgId] @=&quot;Microsoft.VisualStudio.Academic.FacultyTools.VS7AddIn&quot;

</li> Save the file with a .reg file name extension.

For example, save the file as Faculty.reg.</li> Double-click the .reg file, and then click Yes when you receive the following message:

Are you sure you want to add the information in

\ .reg to the registry?

</li> Click OK when you receive the following message:

Information in \ .reg has been successfully entered into the registry.

</li></ol>

To register the Student Course Tools component, follow these steps: <ol> Start a text editor such as Notepad.</li> Put the following information in the text editor window:

<pre class="fixed_text">Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}] @=&quot;Microsoft.VisualStudio.Academic.StudentTools.VS7AddIn&quot;

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\Implemented Categories]

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}]

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\InprocServer32] @=&quot;mscoree.dll&quot; &quot;ThreadingModel&quot;=&quot;Both&quot; &quot;Class&quot;=&quot;Microsoft.VisualStudio.Academic.StudentTools.VS7AddIn&quot; &quot;Assembly&quot;=&quot;Microsoft.VisualStudio.Academic.StudentTools, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; &quot;RuntimeVersion&quot;=&quot;v1.1.4322&quot;

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\InprocServer32\7.0.5000.0] &quot;Class&quot;=&quot;Microsoft.VisualStudio.Academic.StudentTools.VS7AddIn&quot; &quot;Assembly&quot;=&quot;Microsoft.VisualStudio.Academic.StudentTools, Version=7.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a&quot; &quot;RuntimeVersion&quot;=&quot;v1.1.4322&quot;

[HKEY_CLASSES_ROOT\CLSID\{20FBFD58-936B-3031-8E40-30F7E3AEDC06}\ProgId] @=&quot;Microsoft.VisualStudio.Academic.StudentTools.VS7AddIn&quot;

</li> Save the file with a .reg file name extension.

For example, save the file as Student.reg.</li> Double-click the .reg file, and then click Yes when you receive the following message:

Are you sure you want to add the information in

\ .reg to the registry?

</li> Click OK when you receive the following message:

Information in \ .reg has been successfully entered into the registry.

</li></ol>

Additional query words: VS 2003

Keywords: kberrmsg kbtshoot kbprb kbvs2005swept kbvs2005doesnotapply KB891396

-

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

© Microsoft Corporation. All rights reserved.