升级.netcore3.1到.net5,连oracle数据库报异常,退回到.netcore3.1连oracle数据库没问 返回
升级.netcore3.1到.net5,连oracle数据库报异常,退回到.netcore3.1连oracle数据库没问
热忱回答(11)
-
fate stay night VIP0
2020/11/13先试试什么错,在看驱动原生代码是否可以执行
0 回复 -
□ZM□ VIP0
2020/11/13One or more errors occurred. (English Message : Connection open error . Exception has been thrown by the target of an invocation.
Chinese Message : 连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先Google错误信息:Exception has been thrown by the target of an invocation..)
0 回复 -
□ZM□ VIP0
2020/11/13@fate stay night:
One or more errors occurred. (English Message : Connection open error . Exception has been thrown by the target of an invocation.
Chinese Message : 连接数据库过程中发生错误,检查服务器是否正常连接字符串是否正确,实在找不到原因请先Google错误信息:Exception has been thrown by the target of an invocation..)
0 回复 -
fate stay night VIP0
2020/11/13@□ZM□:new oracleconnection(连接字符串).open() 能成功吗
0 回复 -
□ZM□ VIP0
2020/11/13@fate stay night:可以的。我使用的是BCVP(Blog.Core&Vue Project)这个项目使用oracle数据库,升级到.net5就报以上异常了,退回到.netcore3.1没问题。其他数据库没问题
0 回复 -
fate stay night VIP0
2020/11/13@□ZM□:暂时没环境 什么时候远程给你看
0 回复 -
fate stay night VIP0
2020/11/13可以加好我好友
0 回复 -
□ZM□ VIP0
2020/11/13@fate stay night:好的,谢谢,怎么加好友
0 回复 -
fate stay night VIP0
2020/11/17M&I 11:40:48
.net5.0的安全策略问题
M&I 11:41:08
https://github.com/dotnet/aspnetcore/issues/27872
M&I 11:41:24
https://aka.ms/BinaryFormatter/draft已经有方案了
0 回复 -
fate stay night VIP0
2020/11/17


0 回复 -
□ZM□ VIP0
2020/11/18@fate stay night:好的,谢谢
0 回复