Hi,

I'm getting an odd error after installing our application into a
Windows Server 2008 R2 environment.

The application works fine running under a development environment
(i.e under Visual Studio 2008) but in QA we get an object reference
exception in the NH proxy generator:


Stack trace:
at NHibernate.ByteCode.Castle.LazyInitializer.Intercept(IInvocation
invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at
INHibernateProxyProxy7465696356794b2c852e35750539cd39.AddConfiguration
(String filename, String section, String configurationName, String
value)

at Domain.AdministrationController.AddUpdateSettings(IDevice device,
IEnumerable`1 latestDeviceSettings, String username, IList`1
instancesToUpdate, IList`1 instancesAdded, Boolean& changesMade,
Boolean& containsSets) in C:\Development\DotNet\Products\Domain
\AdministrationController.cs:line 207

<snip>

at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


I've tried with the LinFu generator and we get the same problem.

I'm thinking its some kind of permissions problem in that the proxy
generator can't do its job properly but I'm not sure where to check.

Has anybody got any ideas?

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to