asp.net mvc 2 - MVC2 / nHibernate / nUnit Test Failed on Build Server -



asp.net mvc 2 - MVC2 / nHibernate / nUnit Test Failed on Build Server -

i have c# 4.0 mvc 2 application using nunit 2.5, nhibernate 2.1.

i have testfixture passes when ran locally (windows 7 (64bit)), fails when compiled on build server (windows server 2003 (64bit))

the code test fails on defined in [setup]:

_session = nhibernatesession.getdefaultsessionfactory().opensession(); new schemaexport(configuration).execute(false, true, false, _session.connection, null);

the error is:

database not configured through database method. ----> hibernate.hibernateexception : not create driver nhibernate.driver.sqlite20driver.

any help appreciated!!

thanks

you have install sqlite on server running unit test. or @ to the lowest degree add together dll gac.

nhibernate asp.net-mvc-2 nunit 64bit cvs

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

c# - Can ProtoBuf-Net deserialize to a flat class? -

javascript - Change element in each JQuery tab to dynamically generated colors -