Thank you very much for the first problem!!!
About the problem with "no connect to the DB at another machine".
A started profiler and din't see any attempt of connection from the machine with NHibernate. I tutned off all firewalls. And checked that I can connect with same connection string to this DB from other applications.
Could be the problem with .NET security? (I heared about such problems, when DLL not trusted by .NET can't do something).
Should I do some additional steps with NHibernate dlls or just copy them
and add references in the project?
I checked one more time all rights settings in DB, they are the same in both cases. But when the DB is remote I become the message "SQL Server does not exist or access denied" by the first attempt to execute some query to DB via NHibernate (ISession is loaded succesfully).
Best regards,
Sergey Gerasimov
sergey wrote:
Your first problem is caused by the fact that NHibernate no longer configures logging itself, you have to do it yourself, either by calling log4net.XmlConfigurator.Configure() or using an assembly attribute, or by other means.
As for the second problem, looks like you have something misconfigured on your side.