......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