在上传一个网站的时候把 web publish 后的 PrecompiledApp.config删除
结果发现

application_start没有办法运行到了。

在application_start中我是加载ActiveRecordStarter.Initialize
结果老是提示

An ActiveRecord class (Yardi.LDD.Entities.MenuItemInfo) was used but the framework seems not properly initialized. Did you forget about ActiveRecordStarter.Initialize() ?


把这个 PrecompiledApp.config放上去就ok了

相关文章:

  • 2022-12-23
  • 2021-09-13
  • 2021-05-23
  • 2021-11-04
  • 2021-11-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-30
  • 2021-06-24
  • 2022-12-23
  • 2021-05-13
  • 2021-12-02
  • 2022-12-23
  • 2021-06-19
相关资源
相似解决方案