gpt4 book ai didi

entity-framework - ComponentActivator : could not instantiate Repository","ExceptionType":"CaSTLe. MicroKernel.ComponentActivator.ComponentActivatorException

转载 作者:行者123 更新时间:2023-12-02 01:48:42 27 4
gpt4 key购买 nike

我在 MVC5 应用程序中使用温莎城堡。将 Web 服务部署到 IIS 后,出现以下错误

{"$id":"1","Message":"发生错误。","ExceptionMessage":"ComponentActivator: 无法实例化 XXXRepository","ExceptionType":"CaSTLe.MicroKernel.ComponentActivator.ComponentActivatorException "

如果我使用 VS 内置服务器运行上面的代码,它工作正常。

任何建议/指示将不胜感激。

最佳答案

以上问题通过添加EntityFramework.SQLServer.dll文件解决

关于entity-framework - ComponentActivator : could not instantiate Repository","ExceptionType":"CaSTLe. MicroKernel.ComponentActivator.ComponentActivatorException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24055353/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com