This discussion is archived
1 Reply Latest reply: Oct 9, 2012 5:28 AM by Tridus RSS

Build issue regarding missing Oracle.DataAccess.Client.dll ... where is it

966911 Newbie
Currently Being Moderated
I'm building a new .sln file and it gave me an error in a file that referenced the following:

<Schema Namespace="Model.Store" Alias="Self" Provider="Oracle.DataAccess.Client" ProviderManifestToken="11.2" xmlns:store="" xmlns="">

It seemed to be complaining that it could not fine the assembly associated with the provider. I installed the Oracle Data Provider installation package and rebuilt and it was working fine. What I wanted to know is where is this assembly. I cannot locate it on my laptop. I did see a reference regarding "Configuration File Support and Search Order for Unmanaged DLLs". It stated:

The Oracle.DataAccess.dll searches for dependent unmanaged DLLs (such as Oracle Client) based on the following order:
1.     Directory of the application or executable.
2.     DllPath setting specified by application config or web.config.
3.     DllPath setting specified by machine.config.
4.     DllPath setting specified by the Windows Registry.
HKEY_LOCAL_ MACHINE\Software\Oracle\ODP.NET\version\DllPath
5.     Directories specified by the Windows PATH environment variable.

I did see where the installation package modified the machine..config file. Can somebody tell me how the reference tot eh "missing" assembly is resolved?

Thanks, Eric


  • Correct Answers - 10 points
  • Helpful Answers - 5 points