BUG: A "The memory could not be 'read'" error or a "Freedom Engine COM Server has encountered a problem" error may occur when you upgrade a Visual Basic 6.0 project to Visual Basic .NET (837226)
The information in this article applies to:
- Microsoft Visual Basic .NET (2003)
- Microsoft Visual Basic .NET (2002)
SYMPTOMSWhen you use the Microsoft Visual Basic .NET Upgrade Wizard
to upgrade a Microsoft Visual Basic 6.0 project that contains conditional
compilation directives, you may receive either of the following error messages. Error Message 1The instruction at "0x73d71805" referenced
memory at "0x00000000". The memory could not be "read".
Click on OK to
terminate the program Click on CANCEL to debug the program If you
click OK, the Visual Basic .NET Upgrade Wizard does not quit. Error Message 2Freedom Engine COM Server has encountered a
problem and needs to close. CAUSEYou may notice this problem if your Visual Basic 6.0 code
contains several blank lines before the conditional compilation directives.
Typically, you may notice this problem if your code contains at least two
conditional compilation blocks and at least three blank lines before each
conditional compilation directive.
Note You may notice this problem even if your code does not contain
any blank lines before the first conditional compilation
directive.WORKAROUNDTo work around this problem, remove all blank lines that are
present before any conditional compilation directives in your Visual Basic 6.0
code.STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web sites:
Modification Type: | Minor | Last Reviewed: | 2/9/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbwizard kbUpgrade kbbug KB837226 kbAudDeveloper |
---|
|