我在MVC5應用程序中使用溫莎城堡。將Web服務部署到IIS後,出現以下錯誤ComponentActivator:無法實例化存儲庫「,」ExceptionType「:」Castle.MicroKernel.ComponentActivator.ComponentActivatorException
{「$ id」:「1」,「Message」:「發生錯誤」,「ExceptionMessage」:「ComponentActivator:could not instantiate XXXRepository「,」ExceptionType「:」Castle.MicroKernel.ComponentActivator.ComponentActivatorException「
如果我使用VS內置服務器運行上述,其工作正常。
任何建議/指針將不勝感激。
內部異常會告訴你什麼是潛在的問題。 –