I was unable to upgrade projects from vb6. I get an error when "invoking upgrade engine". Error occurs in vbu.exe.
Error message: Enexpected exception ocurred during upgrade engine operation: Error in remote procedure call. (Exception from HRESULT: 0x800706BE).
Using:
XP Pro Spanish Version
VB 2005 Express V8.0.50727.42
VB6 projects made with VB6 Enterprise Edition (SP6) Spanish Version.

Upgrading vb6 projects
codekaizen
I have the same problem but one of the files failed to register please advise
see the error
C:\Program Files\Microsoft Visual Studio 8\VB\VBUpgrade>regasm VBUpgrade.Engine.
DLL
Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.42
Copyright (C) Microsoft Corporation 1998-2004. All rights reserved.
RegAsm : warning RA0000 : No types were registered
heldchen
Hi Cristian,
I have not been able to reproduce the problem here so I asked Artinsoft who developed the Visual Basic Upgrade Enginge to help invesitgate the problem.
They have told me that there are two files that if they missing or not registered would cause this problem.
The two files are VBUpgrade.Engine.DLL and Microsoft.VisualBasic.UpgradeExtensions.DLL both of these files are in the ..\Program Files\Microsoft Visual Studio 8\VB\VBUpgrade directory.
I would suggest running Regasm on both of these files.
If that doesn't help please feel free to contact me directly at JohnHart@Microsoft.Com. and I'll help you determine what the problem is.
thanks
John
s_muneer
Tim Greenwood
Hi Cristian,
That is strange that a repair or a clean install did not fix the problem.
I would suggest trying to register VBUpgrade.Engine.DLL manually. You can do this from a command prompt by using the following command:
regasm C:\Program Files\Microsoft Visual Studio 8\VB\VBUpgrade\VBUpgrade.Engine.DLL
That should solve the problem if it doesn't please let me know
Rainman86
I'm thinking the same too. I've tried on 4 PCs and none of them work. Even with a clean install, SO, SP2 & VB, nothing else.
Please let me know if you find a way.
karls123
Hi.
I have the same problem.
I tried all I can, but vbu.exe always do the same.
I have the spanish version of XP SP2 too... I think is this OS version.
Harendra Singh
It sounds to me like the VB Upgrade tool did not get installed correctly. I would suggest going to Add/Remove Programs in the control pannel and doing a repair on VB Express.
Scott Anderson
Hi Samer,
The warning issued from RegAsm for the VBUpgrade.Engine.DLL is expected.
We're actively trying to reproduce the problem here and so far have not been able to. We're working with Cristian offline to determine what exactly is causing the problem.
As soon as we have determine the cause I will let you know.
Niro
VIGILJO
XP Pro SP2 Spanish Version
VB 2005 Express V8.0.50727.42 English Version
VB6 Enterprise Edition (SP6) Spanish Version
Anything else you need to know please feel free to ask.
If you need that I try another version of VB please let me know.
BryanHood
Also please take a quick look at this thread on the forums:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=303774&SiteID=1&mode=1
We found yesterday that for some reason the version number for the UpgradeExtensions is not set correctly.
I hope that helps
PedroMarques
pven
Hi John,
Thank for your answer but that doesn't work.I also tried a clean install on another machine and I got the same error.
Scott Sullivan
I'm still having the same problem. May be the OS version