English 中文(简体)
NHibernate: could not Immediateiate CacheProvider?
原标题:NHibernate: could not instantiate CacheProvider?

我是新来的,正在从事一项伙伴关系。 NET Webforms 项目,其中提到另一个使用NHibernate的集会。 我可以呼吁用我的当地文本使用NHibernate的方法,但当我向测试服务器公布该项目时,我可以这样做:

could not instantiate CacheProvider: NHibernate.Caches.SysCache.SysCacheProvider, NHibernate.Caches.SysCache

I apologize for the vague nature of this question, but, given what little I know about NHibernate at this point, it s all I can really offer. Perhaps a light might come on for some gurus out there who caught on to the fact that it works when debugging locally, but not when published.

If more info is needed on this in order to provide an answer, just let me know what it is.

最佳回答

您是否确认,已出版的项目包括: in the bin /61/3er? 如果没有,则试图增加这一提法和重新出版。 象它这样好,就不了。

问题回答

you need to deploy the nh syscache assembly with the project.





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签