今天为了测试Orcas,在虚机上装了Oracle Instant Client,在Visual Studio 2005中仍然无法连接Oracle,而这项工作我过去做过许多遍,过去的问题无非是TNS_ADMIN环境变量与tnsnames.ora文件、Path路径以及Oracle Instant Client目录权限这几个环节,检查了都没有问题,于是再装个PLSQL试试能否连接,结果报告:
plsqldev.exe - Unable To Locate Component
This application has failed to start because MSVCR71.dll was not found. Re-installing the application may fix this problem.
This application has failed to start because MSVCR71.dll was not found. Re-installing the application may fix this problem.
于是从另一台机器上拷来一份,PLSQL正常运行,再试VS2005,也正常了,但msvcr71.dll为什么会缺失就无从得知了。