English 中文(简体)
甲骨质素客户版本的差别不大,导致出现故障。
原标题:Small variation in Oracle client versions causes app to fail
  • 时间:2010-09-21 15:18:14
  •  标签:
  • c#

我有一个使用Oracle客户(特别是Oracle.DataAccess)的小型指挥线。 我在我的开发机器上安装了2.1.7.20版本,但该服务器最终运行的是2.11.7.0版。 当我试图在服务器上操作时,它没有说能够发现电梯或一台电离机(现有组群的明显定义与组装参照不相符)。

我复制了Oracle。 服务器上的数据载到我的机器,改变了该项目,以提及它,并进行了重组。 现在,该系统在服务器上运行良好。

但是,必须采用更清洁的方式处理诸如此类的问题,特别是诸如x.x.0至x.x.x.20等次要问题。 我在伙伴关系中一直在发展。 多年来,你可以网上改变集会的提法。 混淆了类似问题,但这是我第一次“搁置”的申请,没有任何想法可以做。 我试图在视力演播室为参考集会设计的特性下制造“光谱版本”,但似乎没有做任何事情。 我也试图在座标上添加一个编织物,但造成遗嘱立即坠毁。

<runtime>    
  <assemblyBinding> 
    <dependentAssembly> 
      <assemblyIdentity name="Oracle.DataAccess" 
                              publicKeyToken="89b483f429c47342" /> 
      <bindingRedirect oldVersion="2.111.7.20" 
                             newVersion="2.111.7.0"/> 
    </dependentAssembly>         
  </assemblyBinding> 
</runtime>

EDIT:D oh,我把操作时间段作为头块,而不是在编织后。 这个数字不再坠毁,但我仍然有同样的错误。

最佳回答

D oh 我离开了装束机;当我接手时,一切工作都是完美的。 因此,青年可以使用具有约束力的Redirect来回流。

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Oracle.DataAccess"
                          publicKeyToken="89b483f429c47342" culture="neutral" />
        <bindingRedirect oldVersion="2.111.7.20"
                         newVersion="2.111.7.0"/>
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
问题回答

网上等同的台式设备是A.config(将自动复制到您的产出夹中,改名为“组合”。 因此,如果项目帮助的话,你就可以将项目列入申请(也许需要首先把这一档案添加到你的项目中)。

甲骨质客户是一个巨大的痛苦!

Have you looked at alternate Oracle providers like devArt s dotConnect? This driver, as an example, is 100% managed code, supports many advanced Oracle features, provides Entity Framework support (that will come some day in ODP.NET, I m sure).





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签