Hi,
We are using NHibernate with Fluent mapping to build a WebForms application.
In our model, we have a simple References
relationship with Cascade.All()
set. When we save the entity, NH behaves as expected and 1) saves the referenced entity, 2) updates the parent entity setting the child key.
Deploying this same version to our production server (Win Server 2008) and pointing the application to the same database, though, produces a different output. NH 1) saves the referenced entity and.. and.. that's it, nothing else happens!!
I know that our test and production enviroments should be the same, etc, etc.. but we are deploying right now and I simply can't figure out how this can be happening.
Is there any known issue with NH in Win 2008 Server regarding assembly permissions or something like? Looks like the proxy isn't working properly for some reason, but I really can't tell why!
EDIT 1: Analysing NH log files I could find that NH doesn't note that the referenced property changed in Win Server 2008. Why? No idea, but it looks like more and more a proxy problem.
Any help is really appreciated.
Filipe