日韩欧美国产精品免费一二-日韩欧美国产精品亚洲二区-日韩欧美国产精品专区-日韩欧美国产另-日韩欧美国产免费看-日韩欧美国产免费看清风阁

LOGO OA教程 ERP教程 模切知識(shí)交流 PMS教程 CRM教程 開發(fā)文檔 其他文檔  
 
網(wǎng)站管理員

請問為什么VB.NET2005里使用升級VB6功能會(huì)直接報(bào)錯(cuò)?

admin
2012年11月24日 18:39 本文熱度 5672
總之是什么引擎錯(cuò)誤的:
{
標(biāo)題:Visual Basic升級向?qū)уe(cuò)誤
內(nèi)容:升級引擎過程中出現(xiàn)意外異常:無法綁定到源(異常來自HRESULT:0x8004000A(OLE_E_CANT_BINDTOSOURCE))
}
悲劇的是,每一個(gè)VB6的項(xiàng)目都是這樣……

該文章在 2012/11/24 18:39:29 編輯過

全部評論5

admin
2012年11月24日 22:34

http://social.msdn.microsoft.com/forums/en-US/vbgeneral/thread/191b47ab-65b4-410c-a00b-959ac5ca402f

When I run the VB6 upgrade wizard in Visual Studio 2005 I get an error.  It is not related to the application I am upgrading, because I even get the error if I run it on a "blank" vb6 app.  I've re-installed, and still no luck.  The entire error reads:

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

Answers

Hi,

Based on my research, I found a known issue, you may have a try to see if that works for you.

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
When attempting to upgrade a VB6 project to VB2005 on a 32bit machine, the
following error is displayed as the wizard is initializing:

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

Cause:
The Regmon log shows we are looking for VBExpress on a 64bit machine:

vbu.exe:2344 OpenKey HKLM\SOFTWARE\Wow6432Node\Microsoft\VBExpress\8.0 NOT FOUND
vbu.exe:2344 OpenKey HKLM\SOFTWARE\Wow6432Node\Microsoft\VBExpress\8.0\VBUpgrade\Sou
rce Language Drivers NOT FOUND

The following key had been erroneously added to the registry during the
installation:

      HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node

and contained one entry for SQL Server. This key should only be present on a 64bit
machine. If this key exists on a 32bit machine, VBU.exe wrongly searches the node
for the components and fails even though the correct entries exist elsewhere in the registry.

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
*** Resolution *** Apr  7 2006  1:12PM robdil

Export and delete the HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node key.

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


If you still have any concern, please feel free to post here.

Best regards,
Peter Huang


該評論在 2012/11/24 22:37:00 編輯過
admin
2012年11月24日 22:38

I don't have the Wow6432Node key.  And the problem is still there.

After a bit more research / hacking (using the great Regmon log) I've found that my problem was fixed after adding these missing keys;

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\VBUpgrade]
"HelpLink"="ms-help://MS.VSCC.v80/MS.MSDNQTR.80.en/commoner/redir/redirect.htm?keyword="

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\VBUpgrade\Source Language Drivers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\VBUpgrade\Source Language Drivers\Visual Basic]
@="Visual Basic 6.0"
"FileLocation"="VBSLD"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\VBUpgrade\Target Language Drivers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\VBUpgrade\Target Language Drivers\VB7]
@="Visual Basic 7"
"FileLocation"="vb7tld"

I noticed that the keys were correctly in the "VBExpress" location so I just exported them at the "VBUpgrade" point and then edited the .reg file by replacing the "VBExpress" with "VisualStudio".

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VBExpress\8.0\VBUpgrade]
"HelpLink"="ms-help://MS.VSCC.v80/MS.MSDNQTR.80.en/commoner/redir/redirect.htm?keyword="

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VBExpress\8.0\VBUpgrade\Source Language Drivers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VBExpress\8.0\VBUpgrade\Source Language Drivers\Visual Basic]
@="Visual Basic 6.0"
"FileLocation"="VBSLD"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VBExpress\8.0\VBUpgrade\Target Language Drivers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VBExpress\8.0\VBUpgrade\Target Language Drivers\VB7]
@="Visual Basic 7"
"FileLocation"="vb7tld"

Hope this helps the next guy.

Todd


該評論在 2012/11/24 22:38:42 編輯過
admin
2012年11月24日 22:41

I had the same problem of the upgrade wizard halting on 'initialisation', no matter what size the program was.  After reading Todd's (vb6-2-vb2005) post I did some investigating and found that I had a similar problem, but the opposite way round.  I had to export, rename, and import the keys from VBUpgrade to VBExpress.

That then gave me an error when running the upgrade wizard, although I forget the error message now.   I then performed yet another re-installation, and hey-presto!   All working fine now.

Don't know if the problem was related to a problem I had with the SQL Server Express installation prior to this.  It had got to a state where I couldn't uninstall it, re-installation would fail with a message saying there where no changes to be made to the installation, and it wouldn't start as a service.   I had to manually search and remove the whole Registry for any SQL Server keys.   All seems to working OK with SQL Server after re-installing it.

Hope this helps.   Good luck to all.


該評論在 2012/11/24 22:41:40 編輯過
admin
2012年11月24日 22:42

i just create a registry modifier like this, go to start/execute and type notepad then press ENTER in the notepad copy this

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\8.0\VBUpgrade]
"HelpLink"="ms-help://MS.VSCC.v80/MS.MSDNQTR.80.en/commoner/redir/redirect.htm?keyword="

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\8.0\VBUpgrade\Source Language Drivers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\8.0\VBUpgrade\Source Language Drivers\Visual Basic]
@="Visual Basic 6.0"
"FileLocation"="VBSLD"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\8.0\VBUpgrade\Target Language Drivers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\8.0\VBUpgrade\Target Language Drivers\VB7]
@="Visual Basic 7"
"FileLocation"="vb7tld"

then go to save as. select type "all files" and enter the name that you want and with this extension ".reg". after saved you must execute and select yes to de messagebox and that´s all, enjoy i hope you can update your projects. Bye 

ppkapo


該評論在 2012/11/24 22:43:24 編輯過
admin
2012年11月24日 22:45

I had to do the following to fix this problem

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\9.0\VBUpgrade]
"HelpLink"="ms-help://MS.VSCC.v80/MS.MSDNQTR.80.en/commoner/redir/redirect.htm?keyword="

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\9.0\VBUpgrade\Source Language Drivers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\9.0\VBUpgrade\Source Language Drivers\Visual Basic]
@="Visual Basic 6.0"
"FileLocation"="VBSLD"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\9.0\VBUpgrade\Target Language Drivers]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\visualstudio\9.0\VBUpgrade\Target Language Drivers\VB7]
@="Visual Basic 7"
"FileLocation"="vb7tld"

Thanks to the person who did the research and found out what was missing.


Ross Howatson

該評論在 2012/11/24 22:53:06 編輯過
關(guān)鍵字查詢
相關(guān)文章
正在查詢...
點(diǎn)晴ERP是一款針對中小制造業(yè)的專業(yè)生產(chǎn)管理軟件系統(tǒng),系統(tǒng)成熟度和易用性得到了國內(nèi)大量中小企業(yè)的青睞。
點(diǎn)晴PMS碼頭管理系統(tǒng)主要針對港口碼頭集裝箱與散貨日常運(yùn)作、調(diào)度、堆場、車隊(duì)、財(cái)務(wù)費(fèi)用、相關(guān)報(bào)表等業(yè)務(wù)管理,結(jié)合碼頭的業(yè)務(wù)特點(diǎn),圍繞調(diào)度、堆場作業(yè)而開發(fā)的。集技術(shù)的先進(jìn)性、管理的有效性于一體,是物流碼頭及其他港口類企業(yè)的高效ERP管理信息系統(tǒng)。
點(diǎn)晴WMS倉儲(chǔ)管理系統(tǒng)提供了貨物產(chǎn)品管理,銷售管理,采購管理,倉儲(chǔ)管理,倉庫管理,保質(zhì)期管理,貨位管理,庫位管理,生產(chǎn)管理,WMS管理系統(tǒng),標(biāo)簽打印,條形碼,二維碼管理,批號管理軟件。
點(diǎn)晴免費(fèi)OA是一款軟件和通用服務(wù)都免費(fèi),不限功能、不限時(shí)間、不限用戶的免費(fèi)OA協(xié)同辦公管理系統(tǒng)。
Copyright 2010-2025 ClickSun All Rights Reserved

主站蜘蛛池模板: 日本中文字幕人成中文字幕 | 亚洲第一精品电影网 | 精品国产一区二区三区四不卡在线 | 亚洲伊人色综合www962 | 日韩亚洲成a人片在线观看 国产日产成人免费视频在线观看 | 精品二区中文字幕播放 | 国产视频高清在线观看 | 国产人妖ts视频在线观看 | 亚洲熟女乱综合一区二区 | 国产女饥渴熟女专区九色 | 欧美日韩国产一区二区三区欧 | 亚洲熟肉一区二区三区 | 国产日韩高清制服一区 | 影视大全| 亚洲一级在线中文字幕 | 亚洲最新中文字幕aⅴ天堂 亚洲成aⅴ人的天堂在线观看女人 | 91小视频| 真实国产日韩欧美全部综合视频 | 夜夜未满十八勿进的爽爽影院 | 99视频在线精品66 | 国产福利爱福利微拍视频 | 最近2025最新中文字幕免费看 | 欧美大成色www永久网站婷 | 男女羞羞的事在线观看 | 亚洲欧美日韩国产精选在线观看 | 国产欧美一区二区樱花在线观看 | 人成在线v网站 | 99精品视频免费在线观看 | 国产激情影视综合 | 2025精品国产自在现线看 | 欧美精品国产日韩综合在线 | 免费大片aⅴ入口 | 一区二区三区精品视频免费播放 | 国产精品进线69影院在线 | 91精品国产亚洲爽啪在线观看 | 69精品人人人人人人人人人 | 欧美最猛黑人xxxxx猛交 | 亚洲欧美另类天天更新影院 | 国产高清亚洲 | 亚洲v欧洲v| 免费动漫网站 |