我试图让扩展框架源代码中提供的Demo能够在“Xpand- source -17.1.3.6\Demos\中间层\E 4035- remoting”中工作,但我得到了异常below.Specifically,我想在远程处理场景中使用模型差异。
对象引用未设置为对象的实例。
服务器堆栈跟踪:在DevExpress.ExpressApp.Security.SecurityStrategy.GetObjectSpaces() at DevExpress.ExpressApp.Security.SecurityStrategy.RegisterProcessors(Dictionary`2处理器,Object permissionsProvider,IObjectSpace objectSpace(在DevExpress.ExpressApp.Security.SecurityStrategy.CreateSelectDataSecurityCore(IObjectSpace objectSpace)在DevExpress.ExpressApp.Security.SecurityStrategy.CreateSelectDataSecurity(IObjectSpace objectSpace),at DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.CreateSerializableObjectLayerCore(IClientInfo clientInfo,IDataLayer dataLayer,IRequestSecurityStrategyProvider securityStrategyProvider,UnitOfWork& result_parentSession,ISecurityRule& result_parentSession,布尔DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.CreateSerializableObjectLayerCore(IClientInfo)( DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.GetSerializableObjectLayer(IClientInfo,( DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayerBase.DevExpress.ExpressApp.Security.ClientServer.ISecuredSerializableObjectLayer.LoadObjects(IClientInfo clientInfo上的UnitOfWork& result_parentSession(UnitOfWork& result_parentSession),System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage md上的XPDictionaryStub字典,ObjectStubsQuery[]查询),System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg上的Object[] args,对象服务器,Object[]& outArgs) )
异常重新引发于: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData,Int32 type) at DevExpress.ExpressApp.Security.ClientServer.ISecuredSerializableObjectLayer.LoadObjects(IClientInfo clientInfo,XPDictionaryStub字典,ObjectStubsQuery[]查询)在DevExpress.Xpo.SerializableObjectLayerClient.LoadObjects(Session会话中,( DevExpress.Xpo.Logger.LogManager.LogT at DevExpress.Xpo.Session.GetObjects(ObjectsQuery查询) at DevExpress.Xpo.Session.GetObjects(XPClassInfo classInfo,CriteriaOperator准则,SortingCollection排序,Int32 topSelectedRecords,布尔selectDeleted,布尔力) at DevExpress.Xpo.Helpers.XPObjectTypesManager.GetAllTypes() at DevExpress.Xpo.Session.<>c__DisplayClass3a.b__38() at DevExpress.Xpo.Logger.LogManager.LogT at DevExpress.Xpo.Session.GetObjectByKey(键入classType,( DevExpress.ExpressApp.Xpo.XPObjectSpace.GetObjectByKey(Type objectType,Object key) at DevExpress.ExpressApp.Security.ClientServer.ServerSecurityClient.get_User() at Xpand.ExpressApp.ModelDifference.DataStore.Queries.QueryUserModelDifferenceObject.get_UsersContainsOperator() at Xpand.ExpressApp.ModelDifference.DataStore.Queries.QueryUserModelDifferenceObject.GetActiveModelDifferences(String applicationName,字符串名称
发布于 2017-10-09 23:31:16
远程处理是相当老的技术,因此E4035演示程序不会经常更新或测试。相反,您可以使用E 4036-WCF演示程序,它是每个构建上的EasyTested。
https://stackoverflow.com/questions/46642875
复制相似问题