......Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found


Release版安裝發布包,可以在目錄C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\vcredist_x86

下找到vcredist_x86.exe,拷貝到目標機器上安裝即可,也可以從微軟官網下載

http://www.microsoft.com/en-us/download/search.aspx?q=redistributable%20package%202008


Debug版拷貝相關文件
先從目標機器上運行一下,出錯后從系統日志查看詳細信息:
“...\mysqlcppconn.dll”的激活上下文生成失敗。 找不到從屬程序集 

Microsoft.VC90.DebugCRT,processorArchitecture="x86",

publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"。

 請使用 sxstrace.exe 進行詳細診斷。
到本地目錄C:\Program Files\Microsoft Visual Studio 9.0\VC\redist\Debug_NonRedist\x86\Microsoft.VC90.DebugCRT
下拷貝四個文件到目標機器,與程序放在同一目錄,並打開Microsoft.VC90.DebugCRT.manifest文件

找到version="9.0.30729.1" 改為錯誤日志中提示的版本號 version="9.0.21022.8"

 

 

由於應用程序配置不正確,應用程序未能啟動"

http://blog.csdn.net/denglei265/article/details/2049973

另幾篇參考文章:

 

http://blog.csdn.net/fengbingchun/article/details/6449241  (很詳細)

 

http://blog.csdn.net/woxincd/article/details/7462596

 

http://qiusuoge.com/8139.html

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM