CRM系统从3.0升级到4.0后,新建实体报错(多次操作,ID不同,查了下是formid),Trace到的Exception:
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace)
at CrmException..ctor(String message, Int32 errorCode)
at CrmObjectNotFoundException..ctor(BusinessEntityMoniker moniker)
at BusinessProcessObject.DoRetrievePublishableSingle(BusinessEntityMoniker moniker, EntityExpression entityExpression, Boolean includeUnpublished, ExecutionContext context)
at BusinessProcessObject.RetrieveUnpublished(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
at OrganizationUIService.RetrieveUnpublished(BusinessEntityMoniker moniker, EntityExpression entityExpression, ExecutionContext context)
at OrganizationUIService.RetrieveOldFormXml(BusinessEntityMoniker moniker, ExecutionContext context)
at OrganizationUIService.ExtractAndSaveFormLabels(IBusinessEntity entity, ExecutionContext context)
at OrganizationUIService.Create(IBusinessEntity entity, ExecutionContext context)
at OrganizationUIHelper.CreateHelper(EntityCreateInfo entityCreateInfo, ExecutionContext context)
at EntityService.CreateInternal(EntityCreateInfo entityInfo, ExecutionContext context)
at EntityService.Create(EntityCreateInfo entityInfo, ExecutionContext context)
at EntityService.Create(EntityCreateInfo entityInfo)
at EntityCreate.Execute(IUser user, ParameterBag paramBag)
at SystemCustomization.CreateEntity(XmlNode data)
at RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at LogicalMethodInfo.Invoke(Object target, Object[] values)
at WebServiceHandler.Invoke()
at WebServiceHandler.CoreProcessRequest()
at SyncSessionlessHandler.ProcessRequest(HttpContext context)
at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at ApplicationStepManager.ResumeSteps(Exception error)
at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
>Crm Exception: Message: organizationui With Id = 53878a69-e3af-47dc-9756-f9090811c0cf Does Not Exist, ErrorCode: -2147220969