问题描述
昨天,2016 年 5 月 11 日,我在 .NET 4.6 上的 C# 代码使用 nuget 的 Oracle.ManagedDataAccess 驱动程序版本 12.1.24160419 愉快地从 Oracle 读取数据.今天该死的东西正在寻找这个文件时抛出一个 FileNotFound 错误:Oracle.DataAccess.Common.Configuration.Section.xsd
我的各种机器都没有那个文件.从来没有听说过这件事.知道为什么我的代码突然在寻找这个文件吗?
我在调试时跳过了这个异常,它正确连接到我的数据库.我假设这是处理可选配置方法的内部异常.
在Exceptions..."对话框中取消选择Common Language Runtime Exceptions
后它就消失了,所以我相信忽略它是安全的,它不应该冒泡到您的异常处理程序中.>
Yesterday May 11, 2016, my C# code on .NET 4.6 was happily reading data from Oracle using the Oracle.ManagedDataAccess drivers version 12.1.24160419 from nuget. Today the damned thing is throwing a FileNotFound error looking for this file: Oracle.DataAccess.Common.Configuration.Section.xsd
None of my various machines have that file. Never heard of this thing. Any idea why all of a sudden my code is looking for this file?
I stepped over this exception while debugging and it connected to my db correctly. I assume this is an internal exception handling an optional configuration method.
It went away after unselecting Common Language Runtime Exceptions
in the "Exceptions..." dialogue, so I believe it is safe to ignore, it should not bubble up to your exception handler.
这篇关于Oracle 数据访问 FileNotFound:Oracle.DataAccess.Common.Configuration.Section.xsd的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!