|
We recently upgraded our solution to VS 2010, .NET 4, DevForce 2010, & SL4 and all works as expected when built in Debug mode and deployed to a test server (Windows Server 2008 R2 / IIS 7). However when we build in Release mode and then deploy to the same server we receive the following Exception the first time we execute an EntityQuery:
{EntityServerException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at IdeaBlade.EntityModel.NavigationListEntityProperty`2.GetEntityReference(EntityWrapper wrapper) at IdeaBlade.EntityModel.NavigationListEntityProperty`2.GetValueForSerialization(EntityWrapper ew) at PBI.Workspace.Objects.MetaDatabase.get_ChildFields() in C:\BuildServer\Build\Projects\Idaho_v6.0.20102_Daily\Desktop\PBI.Workspace\Objects\MasterEDM.IB.Designer.cs:line 2001 at lambda_method(Closure , Object ) at System.Data.Objects.Internal.EntityProxyFactory.<>c__DisplayClass5.<CreateBaseGetter>b__4(Object entity) at System.Data.Objects.Internal.PocoPropertyAccessorStrategy.GetNavigationPropertyValue(RelatedEnd relatedEnd) at IdeaBlade.EntityModel.EntityManager.HandleEntityServerException(Exception pException, Boolean pTryToHandle, PersistenceOperation pOperation) at IdeaBlade.EntityModel.EntityManager.<ExecuteQueryAsyncCore>b__4e[T](EntityQueryOperation`1 op) at IdeaBlade.EntityModel.AsyncProcessor`1.<Execute>b__5(Object x)}
We realize this most likely is not an issue being caused directly by DevForce however wanted to see if anyone else had run into similar problems or had any insights.
Thanks!
|