Oracle.DataAccess.dll在 ASP.NET中的加载过错ITeye - 乐橙lc8

Oracle.DataAccess.dll在 ASP.NET中的加载过错ITeye

2019-01-11 11:01:09 | 作者: 宛亦 | 标签: 加载,过错,程序 | 浏览: 541

如题:rn过错信息如下:rn绑定也没有用.求高手了只能.rn[code=text]rn“/”使用程序中的服务器过错。rn未能加载文件或程序集“Oracle.DataAccess”或它的某一个依靠项。企图加载格局不正确的程序。rn阐明: 履行当时 Web 恳求期间,呈现未经处理的反常。请查看仓库盯梢信息,以了解有关该过错以及代码中导致过错的出处的详细信息。rnrn反常详细信息: System.BadImageFormatException: 未能加载文件或程序集“Oracle.DataAccess”或它的某一个依靠项。企图加载格局不正确的程序。rnrn源过错:rnrn履行当时 Web 恳求期间生成了未经处理的反常。能够运用下面的反常仓库盯梢信息确认有关反常原因和发作方位的信息。rnrn程序集加载盯梢: 下列信息有助于确认程序集“Oracle.DataAccess”未能加载的原因。rnrnrn=== 预绑定状况信息 ===rn日志: DisplayName = Oracle.DataAccessrn (Partial)rn正告: 为程序集供给了部分绑定信息:rn正告: 程序集称号: Oracle.DataAccess | 域 ID: 13rn正告: 当仅供给程序集显现称号的一部分时,将发作部分绑定。rn正告: 这或许导致联编程序加载过错的程序集。rn正告: 主张为程序集供给彻底指定的文字标识,rn正告: 并由简略称号、版别、区域性和公钥符号组成。rn正告: 有关此问题的详细信息和常见解决方案,请拜见白皮书 http://go.microsoft.com/fwlink/?LinkId=109270。rn日志: Appbase = file:///D:/乔虎跃/Work/Project/ArchstarMES/trunk/Archstar.MES.WEB/rn日志: 初始 PrivatePath = D:\乔虎跃\Work\Project\ArchstarMES\trunk\Archstar.MES.WEB\binrn调用程序集: (Unknown)。rn===rn日志: 此绑定从 default 加载上下文开端。rn日志: 正在运用使用程序配置文件: D:\乔虎跃\Work\Project\ArchstarMES\trunk\Archstar.MES.WEB\web.configrn日志: 运用主机配置文件: rn日志: 运用 C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config 的计算机配置文件。rn日志: 此刻没有为引证使用战略(私有、自定义、分部或根据方位的程序集绑定)。rn日志: 测验下载新的 URL file:///C:/Users/Joe/AppData/Local/Temp/Temporary ASP.NET Files/root/45605b01/e03bc9d0/Oracle.DataAccess.DLL。rn日志: 测验下载新的 URL file:///C:/Users/Joe/AppData/Local/Temp/Temporary ASP.NET Files/root/45605b01/e03bc9d0/Oracle.DataAccess/Oracle.DataAccess.DLL。rn日志: 测验下载新的 URL file:///D:/乔虎跃/Work/Project/ArchstarMES/trunk/Archstar.MES.WEB/bin/Oracle.DataAccess.DLL。rn过错: 未能完结程序集的装置(hr = 0x8007000b)。勘探停止。rnrnrn仓库盯梢:rnrnrn[BadImageFormatException: 未能加载文件或程序集“Oracle.DataAccess”或它的某一个依靠项。企图加载格局不正确的程序。]rn System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0rn System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +34rn System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +152rn System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +77rn System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark stackMark, Boolean forIntrospection) +16rn System.Reflection.Assembly.Load(String assemblyString) +28rn System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +38rnrn[ConfigurationErrorsException: 未能加载文件或程序集“Oracle.DataAccess”或它的某一个依靠项。企图加载格局不正确的程序。]rn System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +736rn System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +217rn System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +130rn System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +170rn System.Web.Compilation.BuildManager.GetPreStartInitMethodsFromReferencedAssemblies() +91rn System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean isRefAssemblyLoaded) +108rn System.Web.Compilation.BuildManager.ExecutePreAppStart() +153rn System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +516rnrn[HttpException (0x80004005): 未能加载文件或程序集“Oracle.DataAccess”或它的某一个依靠项。企图加载格局不正确的程序。]rn System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9909940rn System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101rn System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +456rnrnrn版别信息: Microsoft .NET Framework 版别:4.0.30319; ASP.NET 版别:4.0.30319.32559 [/code]

版权声明
本文来源于网络,版权归原作者所有,其内容与观点不代表乐橙lc8立场。转载文章仅为传播更有价值的信息,如采编人员采编有误或者版权原因,请与我们联系,我们核实后立即修改或删除。

猜您喜欢的文章