我的本地环境VS2012
My local environment VS2012
使用 Oracle 10g XE
Using Oracle 10g XE
Dim dbConn As New OleDbConnection
Dim dbComm As OleDbCommand
dbConn.ConnectionString = "Provider=msdaora;Data Source=XE;User ID=scott;Password=tiger"
dbConn.Open()
提示错误:ORA-06413:连接未打开.
Tip error: ORA-06413: Connection not open.
已经检查了 TNSNAMES.ora、SQLNET.ora、LISTENER.ora 并且没有问题.
Already check the TNSNAMES.ora, SQLNET.ora, LISTENER.ora and its nothing wrong.
但是为什么会出现这个错误呢?:(
But why this error appear? :(
错误是由路径名中的括号引起的.
The error is caused by the parenthesis in the pathname.
可能你从 C:\program file (x86) 执行 VS2012...
possibly you execute VS2012 from C:\program file (x86)...
解决方法:创建一个联结链接
workaround: create a junction link
步骤:
来自:命令行执行
from: command line execute
C:>mkLink /j "Program Files x86" "Program Files (x86)"
然后
使用新路径(C:\program filex86...)
fix the (or create a new) shortcut with new path (C:\program file x86...)
这篇关于如何解决错误 ORA-06413:连接未打开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
我应该使用什么 SQL Server 数据类型来存储字节 What SQL Server Datatype Should I Use To Store A Byte[](我应该使用什么 SQL Server 数据类型来存储字节 [])
解释 SQL Server 中 sys.objects 中的类型代码Interpreting type codes in sys.objects in SQL Server(解释 SQL Server 中 sys.objects 中的类型代码)
Typeorm .loadRelationCountAndMap 返回零Typeorm .loadRelationCountAndMap returns zeros(Typeorm .loadRelationCountAndMap 返回零)
如何将“2016-07-01 01:12:22 PM"转换为“2016-07-0How to convert #39;2016-07-01 01:12:22 PM#39; to #39;2016-07-01 13:12:22#39; hour format?(如何将“2016-07-01 01:12:22 PM转换为“2016-07-01 13:1
将多个子查询转换为 on joinConvert multiple sub-queries to on join(将多个子查询转换为 on join)
如何获得 T SQL 中 2 次之间的微小差异?How do I get the minute difference between 2 times in T SQL?(如何获得 T SQL 中 2 次之间的微小差异?)