My Oracle Support Banner

Unhandled Exceptions Running C# CODE USING 64 BIT Windows ASDK (Doc ID 1518469.1)

Last updated on JULY 07, 2015

Applies to:

COREid Access - Version to
Information in this document applies to any platform.


We have installed 64 bit Access Gate in windows. When trying to access this from C# application, it is throwing following error.

Unhandled Exception: System.IO.FileLoadException: Could not load file or
assembly 'obaccess_api_mgd.dll' or one of its dependencies. The application
has failed to start because its side-by-side configuration is incorrect.
Please see the application event log or use the command-line sxstrace.exe
tool for more detail. (Exception from HRESULT: 0x800736B1)
at AccessMgr_API_Test.Main(String[] args)
Press any key to continue . . .


Sxstrace shows


Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = AMD64
CultureFallBacks = en-US;en
ManifestPath = C:\Windows\assembly\GAC_64\obaccess_api_mgd\\obaccess_api_mgd.dll
AssemblyDirectory = C:\Windows\assembly\GAC_64\obaccess_api_mgd\\
Application Config File =
INFO: Parsing Manifest File C:\Windows\assembly\GAC_64\obaccess_api_mgd\\obaccess_api_mgd.dll.
INFO: Manifest Definition Identity is (null).
INFO: Reference: Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"
INFO: Reference: Microsoft.VC80.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762"
INFO: Resolving reference Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
INFO: Resolving reference for ProcessorArchitecture amd64.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: No publisher policy found.
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC80.DebugCRT\8.0.50727.762__1fc8b3b9a1e18e3b\Microsoft.VC80.DebugCRT.DLL.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\obaccess_api_mgd\\Microsoft.VC80.DebugCRT.DLL.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\obaccess_api_mgd\\Microsoft.VC80.DebugCRT.MANIFEST.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\obaccess_api_mgd\\Microsoft.VC80.DebugCRT\Microsoft.VC80.DebugCRT.DLL.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\obaccess_api_mgd\\Microsoft.VC80.DebugCRT\Microsoft.VC80.DebugCRT.MANIFEST.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
ERROR: Cannot resolve reference Microsoft.VC80.DebugCRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
ERROR: Activation Context generation failed.
End Activation Context Generation.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.