VB 2005 Express upgrade from VB6

I cannot upgrade a VB6 project in VB 2005 Express. The upgrade wizard opens and at the point where upgrading starts it thows and exception:

"Unexpected exception occurred during upgrade engine operation: Not able to bind to the source (Exception from HRESULT: 0x8004000A (OLE_E_CANT_BINDTOSOURCE))"

I tried the upgrade wizard on a simple VB6 project that contains 1 form with 1 command button on and the same message comes up. The VB6 and the upgrade folder are both on C:

I can't find any reference to this error message anywhere in the Knowledge Base or MSDN sites

Chris



Answer this question

VB 2005 Express upgrade from VB6

  • Pablomano

    I have uninstalled and reinstalled twice so far. I also tried the command line vbupgrade program and that also won't work.

    I'm starting to pull my hair out with frustration.

    Chris


  • jmsp

    Try reinstalling vb express


  • LSF

    Try it using .NET 2003 and then from .NET 2003 to 2005.
    It will work.

    Let me know

  • Vijay2kr

    I have found a solution to the problem, however, I cannot find the specified registry key.

    forums.microsoft.com/MSDN/ ShowPost.aspx PostID=406334&SiteID=1

    I will continue to resolve the problem.


  • Riyaz

    Have you made any progress on this one yet Please let me know then, I am having the same problem.
  • Lawrence Ricci

    I will get that error in vbExpress because the db files are not in the new project directory files......try copying the old db files to the new project directory if you can.

    seems vb express or sql express won't or can't find em if they are in any other folder.

    That stupid error has got me more than once.

  • EmilianoCapoccia

    Anyone figured this one out yet I even tried converting a simple "hello world" app in vb6 and i still get that error.

  • ondy1985

  • George Papadopoulos

    Chris,

    I know that for Visual Studio 2003 you can use a command line tool called VBUpgrade.exe, It resides in "Program Files\Microsoft Visual Studio .NET 2003\Vb7\VBUpgrade" folder, try looking for a similar looking folder in your VB 2005 Express installation for the upgrade wizard. Run it from the command line and see if it still throws that error.

    Amit


  • VB 2005 Express upgrade from VB6