This question is locked. New answers and comments are not allowed.
I am trying to call Telerik.OpenAccess.Database.Get( "database" ) and I am getting the following exception:
I assume that open access is mistakenly thinking it's in some sort of debug mode where it is trying to perform unit tests when it obviously shouldn't be. How do I fix this? Thank you
Could not load file or assembly 'nunit.framework, Version=2.2.0.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The system cannot find the file specified.
[FileNotFoundException: Could not load file or assembly 'nunit.framework, Version=2.2.0.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The system cannot find the file specified.]
System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
System.Reflection.Assembly.Load(AssemblyName assemblyRef) +25
Telerik.OpenAccess.SPI.Util.AssemblyHelper.Load(AssemblyName name) +55
Telerik.OpenAccess.Config.References.ReferencesManager.FillReferences(Assembly[] rootAssemblies, AssemblyProvider asmProvider, ReferenceData[] refs) +1187
Telerik.OpenAccess.Config.References.ReferencesManager.GetReferences(Assembly[] rootAssemblies, XmlElement openAccessNode, AssemblyProvider asmProvider) +48
Telerik.OpenAccess.Config.ConfigManager.Init() +364
Telerik.OpenAccess.Config.ConfigManager.GetConnectionData(String apiUser, String apiPassword, ArrayList mappingXmlNodes, ArrayList mappingSources, Boolean partial) +33
Telerik.OpenAccess.Config.ConfigManager.GetConnectionData(String apiUser, String apiPassword, Boolean partial) +97
Telerik.OpenAccess.Config.ConfigManager.GetConnectionData(String apiUser, String apiPassword) +36
Telerik.OpenAccess.Config.ConfigManager.MapConnectionId2Url() +32
Telerik.OpenAccess.DBRegistry.GetDatabase(String urlOrConnectionId, XmlElement configOverride, Assembly[] entryAssemblies) +244
Telerik.OpenAccess.DBRegistry.GetDatabase(String urlOrConnectionId, XmlElement configOverride) +43
Telerik.OpenAccess.Database.Get(String connectionId) +135
I assume that open access is mistakenly thinking it's in some sort of debug mode where it is trying to perform unit tests when it obviously shouldn't be. How do I fix this? Thank you