作者ruthertw (督人无数就是我)
看板C_Sharp
标题[问题] VS 2022 Community + Oracle Cloud Infra
时间Wed Dec 6 17:46:06 2023
因缘际会,
安装好VS 2022 Community之後,
想要使用C#连接Oracle Database,
发现居然是一件超级复杂的事情.
先使用Oracle SQL Developer确定连线一切正常,
也能下SQL Scripts捞出Data.
然後依照Oracle官方的教学说明文件,
https://reurl.cc/QZy0eq
每个步骤都弄好後,
得到以下错误讯息:
at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString
csWithDiffOrNewPwd, Boolean bGetForApp, OracleConnection connRefForCriteria,
String affinityInstanceName, Boolean bForceMatch)
at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString
csWithNewPassword, Boolean bGetForApp, OracleConnection connRefForCriteria,
String affinityInstanceName, Boolean bForceMatch)
at
OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString
cs, PM conPM, ConnectionString pmCS, SecureString securedPassword,
SecureString securedProxyPassword, OracleConnection connRefForCriteria)
at Oracle.ManagedDataAccess.Client.OracleConnection.Open()
在程式码异常抛出的侦错显示为:
Connection request timed out
看了VS 2019的安装教学,
(确定是使用VS 2022,但是微软官方是连接到VS 2019的安装步骤)
https://www.youtube.com/watch?v=PCBUk4ZivnM
安装完微软官方VS 2022的安装包,
Oracle.VsDevTools.17.0.vsix
没用.
下载完微软官方说的VS 2019 zip压缩包,
却怕装错,
不太敢安装.
想请问VS 2022 Community + Oracle Cloud Infrastructure,
正常安装方式?
请问有相关的教学连接吗?
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 59.120.147.64 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/C_Sharp/M.1701855968.A.034.html
1F:→ airtsubasa: 没用ef? 12/08 19:03
2F:推 cancelpc: 记得要用oracle 的 client 工具设定好别名 02/12 03:01