指定的模块无法找到。 (来自HRESULT的异常:0x8007007E)包含.dll文件时。 [英] The specified module could not be found. (Exception from HRESULT: 0x8007007E) When include .dll file.

查看:88
本文介绍了指定的模块无法找到。 (来自HRESULT的异常:0x8007007E)包含.dll文件时。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

感谢您的阅读。



我正在尝试使用ICU4net的ASP.net项目示例 https://code.google.com/p/icu4net/ [ ^ ]

我的操作系统是带有IIS7的Win7 32位,但当我包含ICU4NET.dll和其他.dll(s)作为解释来自示例。

当我运行项目时,它会发生此错误,如下所示。



Thank you for reading.

I''m craeting an ASP.net project using ICU4net fom examplehttps://code.google.com/p/icu4net/[^]
My OS is Win7 32 bit with IIS7 but when i include the ICU4NET.dll and other .dll(s) as explaines from the example.
when I run the project, it occurs this error as show below.

Server Error in '/service' Application.

The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Stack Trace: 


[FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
   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) +43
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +127
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +142
   System.Reflection.Assembly.Load(String assemblyString) +28
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +46

[ConfigurationErrorsException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +613
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +203
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +105
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +178
   System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +163
   System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +53
   System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +175
   System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +86
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +261
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +101
   System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +126
   System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +62
   System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +33
   System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +160
   System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155





我不知道为什么asp.net项目无法知道或找到这些模块。而且我不知道如何解决问题。

如果有任何身体遇到这个问题,请建议谢天谢地。



I don''t know that why asp.net project cannot know or find these module. and i don''t know ways to fix.
If any body was experienced this problem, please suggest will be thankfull.

推荐答案

谢谢你,我找到了最好的解决方案



http://www.dotnetspider.com/resources/29888-NET-Error-specified-module-could-not-be.aspx [ ^ ]



只需从C:\ Windows \ System32复制msvcr71.dll并将其传递到应用程序的bin文件夹。
Thank you for myself, I have found the greatest solution on

http://www.dotnetspider.com/resources/29888-NET-Error-specified-module-could-not-be.aspx[^]

by just copy the msvcr71.dll from C:\Windows\System32 and past it to application''s bin folder.


这篇关于指定的模块无法找到。 (来自HRESULT的异常:0x8007007E)包含.dll文件时。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆