Article ID: 927511 - Last Review: October 8, 2011 - Revision: 5.0 FIX: Visual Studio 2005 may exit unexpectedly when you import a generic type in a Visual Basic 2005 application, and an interface member may be reimplemented incorrectly when you compile a Visual Basic 2005 application
Important This article contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986
(http://support.microsoft.com/kb/256986/
)
Description of the Microsoft Windows registry Important notesFor users who have Microsoft Visual Studio 2005 Service Pack 1 installedVisual Studio 2005 Service Pack 1 (SP1) is now available for download. This service pack includes all the Microsoft Visual Basic 2005 hotfixes that have been created to date. Visual Studio 2005 SP1 provides you the best overall performance and stability when you are developing in Visual Basic 2005.For more information about Visual Studio 2005 SP1, visit the following Microsoft Developer Network (MSDN) Web site: http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx
(http://msdn2.microsoft.com/en-us/vstudio/bb265237.aspx)
The hotfix that is described in this article provides the same improvements for the Visual Basic 2005 command-line compiler (Vbc.exe) that are included with Visual Studio 2005 SP1. If you have Visual Studio 2005 SP1 installed, and if one of the following conditions is true, you must apply only the .NET Framework 2.0 hotfix that is included with this hotfix package:
For users who do not have Visual Studio 2005 SP1 installedIf you do not have Visual Studio 2005 SP1 installed, and you are experiencing the symptoms that are described in this article, you must apply both the hotfixes that are included in this hotfix package. For more information, see the "File information" section.On This PageSYMPTOMSIn Visual Studio 2005, you may experience the following problems. Problem 1When you import a generic type in a Visual Basic 2005 application, Visual Studio 2005 may exit unexpectedly (crash). Additionally, you may receive the following error message:Microsoft Visual Basic Compiler has encountered a problem and needs to close. We are sorry for the inconvenience. Problem 2Under some special conditions, an interface member may be reimplemented incorrectly when you recompile a Visual Basic 2005 application.RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for Visual Studio 2005. For more information, click the following article number to view the article in the Microsoft Knowledge Base:929697
(http://support.microsoft.com/kb/929697/
)
How to obtain the latest Visual Studio 2005 service pack
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix. To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site: http://code.msdn.microsoft.com/KB927511
(http://code.msdn.microsoft.com/KB927511)
Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language. Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
PrerequisitesYou must have the Microsoft .NET Framework 2.0 and Visual Studio 2005 installed to apply this hotfix.Restart requirementYou do not have to restart the computer after you apply this hotfix.Hotfix replacement informationThis hotfix replaces the hotfixes that are described in the following Microsoft Knowledge Base articles:915038
(http://support.microsoft.com/kb/915038/
)
FIX: You may receive Visual Basic compiler error messages when you are developing a Visual Basic 2005 project in Visual Studio 2005
917452
(http://support.microsoft.com/kb/917452/
)
FIX: You may experience performance issues when you use solutions that contain large Visual Basic projects in Visual Studio 2005
919904
(http://support.microsoft.com/kb/919904/
)
FIX: You may receive an error message when you try to build a Web project that references a .NET Compact Framework 2.0 assembly in Visual Basic 2005
920145
(http://support.microsoft.com/kb/920145/
)
FIX: You may receive an error message when you consume an assembly that has an obfuscated generic type in Visual Studio 2005
920805
(http://support.microsoft.com/kb/920805/
)
FIX: You may experience slow performance when you work with a Visual Basic solution that contains many projects in Visual Studio 2005
924162
(http://support.microsoft.com/kb/924162/
)
FIX: The Visual Basic 2005 compiler unexpectedly exits when you expand an item in the Visual Studio 2005 Watch window after you install the hotfix from KB article 920805
926405
(http://support.microsoft.com/kb/926405/
)
FIX: The Visual Basic 2005 compiler unexpectedly exits when you work with a Visual Basic 2005-based project in Visual Studio 2005
926970
(http://support.microsoft.com/kb/926970/
)
FIX: You may experience a performance problem when you debug a Visual Basic 2005 application in Visual Studio 2005 if the source code is on a network share
Registry informationWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.If you have Visual Studio 2005 SP1 installed, you do not have to change the registry. If you do not have Visual Studio 2005 SP1 installed, you must add and then enable the OptimizePDB registry entry to obtain the improved performance that this hotfix provides. To add the OptimizePDB registry entry, follow these steps:
File informationThis hotfix package includes the following hotfixes:
If you do not have Visual Studio 2005 SP1 installed, and you are experiencing the symptoms that are described in this article, you must apply both these hotfixes. The English version of this hotfix package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel. Visual Studio 2005 hotfix, x86-based versionsCollapse this table
The .NET Framework 2.0 hotfix, x86-based versionsCollapse this table
Visual Studio 2005 hotfix, x64-based versionsCollapse this table
The .NET Framework 2.0 hotfix, x64-based versionsCollapse this table
Visual Studio 2005 hotfix, Itanium-based versionsCollapse this table
The .NET Framework 2.0 hotfix, Itanium-based versionsCollapse this table
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Visual Studio 2005 Service Pack 1. MORE INFORMATIONSteps to reproduce the problemProblem 1
Problem 2
C2.A C3.A C1's implementation of I1.A C1's implementation of I1.A 824684
(http://support.microsoft.com/kb/824684/
)
Description of the standard terminology that is used to describe Microsoft software updates
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top
