模型差异中间层 xpand
model difference middle tier xpand
我正在尝试让扩展框架源中提供的演示在位于
"Xpand-Source-17.1.3.6\Demos\Middle Tier\E4035-Remoting" 开箱即用,但我遇到异常 below.Specifically 我想在远程场景中使用模型差异。
对象引用未设置为对象的实例。
服务器堆栈跟踪:
在 DevExpress.ExpressApp.Security.SecurityStrategy.GetObjectSpaces()
在 DevExpress.ExpressApp.Security.SecurityStrategy.RegisterProcessors(Dictionary`2 处理器、对象 permissionsProvider、IObjectSpace 对象空间)
在 DevExpress.ExpressApp.Security.SecurityStrategy.CreateSelectDataSecurityCore(IObjectSpace 对象空间)
在 DevExpress.ExpressApp.Security.SecurityStrategy.CreateSelectDataSecurity(IObjectSpace 对象空间)
在 DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.CreateSerializableObjectLayerCore(IClientInfo clientInfo、IDataLayer dataLayer、IRequestSecurityStrategyProvider securityStrategyProvider、UnitOfWork& result_parentSession、ISecurityRule& securityRule、布尔值 allowICommandChannelDoWithSecurityContext)
在 DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.GetSerializableObjectLayer(IClientInfo clientInfo, UnitOfWork& result_parentSession)
在 DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayerBase.DevExpress.ExpressApp.Security.ClientServer.ISecuredSerializableObjectLayer.LoadObjects(IClientInfo clientInfo、XPDictionaryStub 字典、ObjectStubsQuery[] 查询)
在 System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
在 System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage 消息)
在 [0] 重新抛出异常:
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg)
在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 类型)
在 DevExpress.ExpressApp.Security.ClientServer.ISecuredSerializableObjectLayer.LoadObjects(IClientInfo clientInfo、XPDictionaryStub 字典、ObjectStubsQuery[] 查询)
在 DevExpress.Xpo.SerializableObjectLayerClient.LoadObjects(Session 会话,ObjectsQuery[] 查询)
在 DevExpress.Xpo.Logger.LogManager.Log[T](字符串类别,LogHandler1 handler, MessageHandler
1 createMessageHandler)
在 DevExpress.Xpo.Session.GetObjects(ObjectsQuery 查询)
在 DevExpress.Xpo.Session.GetObjects(XPClassInfo 类信息、CriteriaOperator 条件、SortingCollection 排序、Int32 topSelectedRecords、布尔 selectDeleted、布尔力)
在 DevExpress.Xpo.Helpers.XPObjectTypesManager.GetAllTypes()
在 DevExpress.Xpo.Session.<>c__DisplayClass3a.b__38()
在 DevExpress.Xpo.Logger.LogManager.Log[T](字符串类别,LogHandler1 handler, MessageHandler
1 createMessageHandler)
在 DevExpress.Xpo.Session.GetObjectByKey(类型类类型,对象 ID)
在 DevExpress.ExpressApp.Xpo.XPObjectSpace.GetObjectByKey(类型对象类型,对象键)
在 DevExpress.ExpressApp.Security.ClientServer.ServerSecurityClient.get_User()
在 Xpand.ExpressApp.ModelDifference.DataStore.Queries.QueryUserModelDifferenceObject.get_UsersContainsOperator()
在 Xpand.ExpressApp.ModelDifference.DataStore.Queries.QueryUserModelDifferenceObject.GetActiveModelDifferences(字符串应用程序名称、字符串名称、DeviceCategory 设备类别)
在 Xpand.ExpressApp.ModelDifference.DictionaryStores.XpoUserModelDictionaryDifferenceStore.GetActiveDifferenceObjects(DeviceCategory 设备类别)
在 Xpand.ExpressApp.ModelDifference.DictionaryStores.XpoUserModelDictionaryDifferenceStore.LoadCore(ModelApplicationBase userDiff)
在 DevExpress.ExpressApp.ApplicationModelManager.CreateLayerByStore(字符串 ID,ModelStoreBase 商店)
在 DevExpress.ExpressApp.XafApplication.LoadUserDifferences()
在 DevExpress.ExpressApp.XafApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
在 DevExpress.ExpressApp.Win.WinApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
远程处理是相当古老的技术,因此 E4035 演示既不更新也不经常测试。相反,您可以使用 E4036-WCF 演示,它在每个构建中都是 EasyTested。
我正在尝试让扩展框架源中提供的演示在位于 "Xpand-Source-17.1.3.6\Demos\Middle Tier\E4035-Remoting" 开箱即用,但我遇到异常 below.Specifically 我想在远程场景中使用模型差异。
对象引用未设置为对象的实例。
服务器堆栈跟踪: 在 DevExpress.ExpressApp.Security.SecurityStrategy.GetObjectSpaces() 在 DevExpress.ExpressApp.Security.SecurityStrategy.RegisterProcessors(Dictionary`2 处理器、对象 permissionsProvider、IObjectSpace 对象空间) 在 DevExpress.ExpressApp.Security.SecurityStrategy.CreateSelectDataSecurityCore(IObjectSpace 对象空间) 在 DevExpress.ExpressApp.Security.SecurityStrategy.CreateSelectDataSecurity(IObjectSpace 对象空间) 在 DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.CreateSerializableObjectLayerCore(IClientInfo clientInfo、IDataLayer dataLayer、IRequestSecurityStrategyProvider securityStrategyProvider、UnitOfWork& result_parentSession、ISecurityRule& securityRule、布尔值 allowICommandChannelDoWithSecurityContext) 在 DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayer.GetSerializableObjectLayer(IClientInfo clientInfo, UnitOfWork& result_parentSession) 在 DevExpress.ExpressApp.Security.ClientServer.SecuredSerializableObjectLayerBase.DevExpress.ExpressApp.Security.ClientServer.ISecuredSerializableObjectLayer.LoadObjects(IClientInfo clientInfo、XPDictionaryStub 字典、ObjectStubsQuery[] 查询) 在 System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) 在 System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage 消息)
在 [0] 重新抛出异常:
在 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg)
在 System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 类型)
在 DevExpress.ExpressApp.Security.ClientServer.ISecuredSerializableObjectLayer.LoadObjects(IClientInfo clientInfo、XPDictionaryStub 字典、ObjectStubsQuery[] 查询)
在 DevExpress.Xpo.SerializableObjectLayerClient.LoadObjects(Session 会话,ObjectsQuery[] 查询)
在 DevExpress.Xpo.Logger.LogManager.Log[T](字符串类别,LogHandler1 handler, MessageHandler
1 createMessageHandler)
在 DevExpress.Xpo.Session.GetObjects(ObjectsQuery 查询)
在 DevExpress.Xpo.Session.GetObjects(XPClassInfo 类信息、CriteriaOperator 条件、SortingCollection 排序、Int32 topSelectedRecords、布尔 selectDeleted、布尔力)
在 DevExpress.Xpo.Helpers.XPObjectTypesManager.GetAllTypes()
在 DevExpress.Xpo.Session.<>c__DisplayClass3a.b__38()
在 DevExpress.Xpo.Logger.LogManager.Log[T](字符串类别,LogHandler1 handler, MessageHandler
1 createMessageHandler)
在 DevExpress.Xpo.Session.GetObjectByKey(类型类类型,对象 ID)
在 DevExpress.ExpressApp.Xpo.XPObjectSpace.GetObjectByKey(类型对象类型,对象键)
在 DevExpress.ExpressApp.Security.ClientServer.ServerSecurityClient.get_User()
在 Xpand.ExpressApp.ModelDifference.DataStore.Queries.QueryUserModelDifferenceObject.get_UsersContainsOperator()
在 Xpand.ExpressApp.ModelDifference.DataStore.Queries.QueryUserModelDifferenceObject.GetActiveModelDifferences(字符串应用程序名称、字符串名称、DeviceCategory 设备类别)
在 Xpand.ExpressApp.ModelDifference.DictionaryStores.XpoUserModelDictionaryDifferenceStore.GetActiveDifferenceObjects(DeviceCategory 设备类别)
在 Xpand.ExpressApp.ModelDifference.DictionaryStores.XpoUserModelDictionaryDifferenceStore.LoadCore(ModelApplicationBase userDiff)
在 DevExpress.ExpressApp.ApplicationModelManager.CreateLayerByStore(字符串 ID,ModelStoreBase 商店)
在 DevExpress.ExpressApp.XafApplication.LoadUserDifferences()
在 DevExpress.ExpressApp.XafApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
在 DevExpress.ExpressApp.Win.WinApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
远程处理是相当古老的技术,因此 E4035 演示既不更新也不经常测试。相反,您可以使用 E4036-WCF 演示,它在每个构建中都是 EasyTested。