加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net-mvc – Ninject mvc3无法从程序集加载WebActivator.Appl

发布时间:2020-12-16 07:22:48 所属栏目:asp.Net 来源:网络整理
导读:我正在使用ninject for mvc3和asp.net mvc 3应用程序.当我尝试运行该应用程序时,我收到此错误.我关闭了cassini服务器并再次运行了vs-debugger,错误仍然存??在.它以前工作过,它发生在以前,但我不知道它是如何重新开始工作的.我不确定这是随机还是什么. 我所知
我正在使用ninject for mvc3和asp.net mvc 3应用程序.当我尝试运行该应用程序时,我收到此错误.我关闭了cassini服务器并再次运行了vs-debugger,错误仍然存??在.它以前工作过,它发生在以前,但我不知道它是如何重新开始工作的.我不确定这是随机还是什么.

我所知道的是我休眠了电脑并将其唤醒并试图在我收到错误时重新加载网站.我还没有重新启动我的电脑.

错误:

无法从程序集“WebActivator,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = null”加载类型“WebActivator.ApplicationShutdownMethodAttribute”.

我在visual studio中看到了这个:

Locating source for 'D:CodeBitbucketWebActivatorWebActivatorPreApplicationStartCode.cs'. Checksum: MD5 {ca d6 fb 32 7f 34 6 22 5d 1f 1a 40 37 e8 da 47}
The file 'D:CodeBitbucketWebActivatorWebActivatorPreApplicationStartCode.cs' does not exist.
Looking in script documents for 'D:CodeBitbucketWebActivatorWebActivatorPreApplicationStartCode.cs'...
Looking in the projects for 'D:CodeBitbucketWebActivatorWebActivatorPreApplicationStartCode.cs'.
The file was not found in a project.
Looking in directory 'C:Program FilesMicrosoft Visual Studio 10.0VCcrtsrc'...
Looking in directory 'C:Program FilesMicrosoft Visual Studio 10.0VCatlmfcsrcmfc'...
Looking in directory 'C:Program FilesMicrosoft Visual Studio 10.0VCatlmfcsrcatl'...
Looking in directory 'C:Program FilesMicrosoft Visual Studio 10.0VCatlmfcinclude'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: D:CodeBitbucketWebActivatorWebActivatorPreApplicationStartCode.cs.
The debugger could not locate the source file 'D:CodeBitbucketWebActivatorWebActivatorPreApplicationStartCode.cs'.

解决方法

您已部署了错误版本的WebActivator.版本1.4是必需的

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读