找不到指定的模块。 (异常来自 HRESULT:0x8007007E)

Yang_ 2008-10-29 11:25:21
找不到指定的模块。 (异常来自 HRESULT:0x8007007E)
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.IO.FileNotFoundException: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:


[FileNotFoundException: 找不到指定的模块。 (异常来自 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: 找不到指定的模块。 (异常来自 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) +83
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




--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053



拷贝的ASP.NET网站,出现如上错误,直觉是少了什么DLL,但是和正常机器比较过,完全一样。

安装一个几乎一样的网站也能正常。



...全文
22099 51 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
51 条回复
切换为时间正序
请发表友善的回复…
发表回复
金华缘 2012-08-05
  • 打赏
  • 举报
回复
同求啊。有谁知道啊、
hsxqy 2012-06-24
  • 打赏
  • 举报
回复
我是来找答案的
金华缘 2012-05-19
  • 打赏
  • 举报
回复
看看回复的答案能不能解决我的问题
zichunteng 2012-05-06
  • 打赏
  • 举报
回复
看看需要回复的答案
simon3panda 2012-03-22
  • 打赏
  • 举报
回复
求答案啊~~
kkqinkang 2012-03-15
  • 打赏
  • 举报
回复
怎么解决
diy2005 2011-10-17
  • 打赏
  • 举报
回复
我也遇到了 怎么办呢
yinchao0121 2011-08-17
  • 打赏
  • 举报
回复
我也遇到此问题,求答案
liwhera 2011-08-17
  • 打赏
  • 举报
回复
dsfdsfds
shubin2009 2011-07-28
  • 打赏
  • 举报
回复
我也遇到过
sunmoonfly 2011-06-13
  • 打赏
  • 举报
回复
test
wikichoe 2011-05-29
  • 打赏
  • 举报
回复
囧。。。
真郁闷~~~
fzsyshow 2011-04-16
  • 打赏
  • 举报
回复
违法停车噚
民工_小牛 2011-03-09
  • 打赏
  • 举报
回复
我也遇到了,第一次运行是可以的,但是再次运行的时候运行到Application.Run(new MainForm())就报这个错了,直接走不到MainForm的构造函数。
xiaobaihaohaode 2011-03-03
  • 打赏
  • 举报
回复
[Quote=引用 28 楼 microren 的回复:]
看个答案,还需要回复
[/Quote]
就是看个答案还需要回复,真抠门
xiaobaihaohaode 2011-03-03
  • 打赏
  • 举报
回复
搞定了。需要注册jmail。
1.注册jmail组件
在命令行下执行:regsvr32 F:\jmail.dll
2.注意:把jmail.dll放在f盘后是不可以删除或移动的,否则出现斑竹的错误。(亲身经历,已经测试成功)
sgchen 2011-02-24
  • 打赏
  • 举报
回复
检查一下是否有需要注册安装的控件没有安装?一般都是这个问题
juyamei126 2011-01-18
  • 打赏
  • 举报
回复
哎 看了半天也没看到解决办法
heyjustin 2011-01-07
  • 打赏
  • 举报
回复
没明白
diagochen 2010-11-29
  • 打赏
  • 举报
回复
出现这样的问题,真是束手无策呀,不知道怎样解决
加载更多回复(31)

111,098

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • AIGC Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧