Article ID: 896292 - View products that this article applies to.
When you use a wizard to upgrade a Microsoft Visual Basic 6.0 project to Microsoft Visual Basic .NET or Microsoft Visual Basic 2005 in Microsoft Visual Studio .NET 2003 or Microsoft Visual Studio 2005, the upgrade fails. When this behavior occurs, you receive an error message that is similar to the following:
Unexpected exception occurred during upgrade engine operation: The remote procedure call failed.
This behavior occurs because the VBU.exe tool has compatibility issues with the Data Execution Prevention (DEP) option.
Note The VBU.exe tool starts when you upgrade the Visual Basic 6.0 project by using the Visual Basic Upgrade Wizard in the Microsoft Visual Studio .NET IDE.
To work around this behavior, add the VBU.exe tool to the DEP exclusion list. To do this, follow these steps:
Steps to reproduce the behavior
Article ID: 896292 - Last Review: December 6, 2006 - Revision: 2.5