Crm Exception: Message: User Was Not Found, ErrorCode: -2147220969
-
2009년 3월 18일 수요일 오후 3:11We installed Rollup 3 on our system on Monday, and since then we have been getting various errors regarding permissions. These have slowly been resolved, but we still have 1 issue which occurs 90% of the time.
When creating a record in CRM (usually a Task), and selecting Save and Close. we get an error stating that Microsoft CRM has encountered an error. Do you want to send an error report to MS.
We have enabled the trace feature within CRM, and whenever this error occurs via IE. This is what is outputted to the trace file.
>Crm Exception: Message: User Was Not Found, ErrorCode: -2147220969
[2009-03-18 14:57:08.2] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread: 10 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error | CrmException..ctor
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException, Boolean enableTrace)
at ServerLocatorService.GetCrmUserIdFromDatabase(Guid organizationId, String authenticationInfo)
at ServerLocatorService.GetCrmUserId(Guid organizationId, String authenticationInfo)
at LocatorService.GetCrmUserId(Guid organizationId, String authenticationInfo)
at SecurityLibrary.GetUserInfoInternal(WindowsIdentity identity, IOrganizationContext context, UserAuth& userInfo)
at SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId)
at CrmWindowsIdentity.DoRecognizeUser(String userToken, Guid organizationId)
at BaseCrmIdentity.RecognizeCrmUser(Guid organizationId)
at CrmWindowsIdentity.RecognizeCrmUser(Guid organizationId, Guid callerId)
at AuthenticationProvider.Authenticate(CrmAuthenticationToken token)
at SoapHeaderAuthenticationProviderBase.Authenticate(HttpApplication application)
at AuthenticationStep.Authenticate(HttpApplication application)
at AuthenticationPipeline.Authenticate(HttpApplication application)
at AuthenticationEngine.Execute(Object sender, EventArgs e)
at SyncEventExecutionStep.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)
If I access CRM via IE which with a machine on the domain, then no errors occur. If I try accessing using just a standard web connection, the error occurs every time.
Any suggestions on what could be causing this. It was all running smoothly pre-Rollup 3.
Thanks
Craig
모든 응답
-
2009년 3월 18일 수요일 오후 3:34소유자If you want to stop receiving the error message you can change the CRM options to automatically send the error report and I think you will stop receiving this message. Take a look at the privacy tab under CRM Options and you will find the setting. Select the option to Automatically send the report.
How exactly are you connecting with this method "standard web connection".
Best Regards, Donna -
2009년 3월 19일 목요일 오전 4:02중재자
If by "standard web connection" you mean via the internet (not on your network) and you have not enabled IFD (internet facing deployment), you will see a lot of these errors. If you have enabled IFD, it should behave the same way that it does over your network.
- 답변으로 표시됨 Jim Glass Jr 2009년 3월 23일 월요일 오후 7:52
-
2009년 7월 29일 수요일 오전 4:38I had this exactly issue today. But the client in subject was on 4.0 RTM, not RUs (yet).
This was fixed by changing the identity that runs the CrmAppPool from a crm service account to Network Service.
Sun - MSCRM Specialist @ Intergen, Sunny (slightly breezy)Wellington, New Zealand. http://sundium.wordpress.com -
2012년 4월 24일 화요일 오전 11:19
I'm also facing same type of errors
>Not an error. System LabelDictionary was loaded for language 1033 from organization {xxxxxx-xxxxxx-xxxxxxx-xxxxxxx-xxxxxx} with 19299 labels
[2012-04-24 02:42:21.575] Process:CrmAsyncService |Organization:xxxxxx-xxxxxx-xxxxxxx-xxxxxxx-xxxxx |Thread: 24 |Category: Exception |User: xxxxxx-xxxxxx-xxxxxxx-xxxxxxx-xxxxx |Level: Error | SystemLabelDictionaryCacheLoader.LogDetails
at SystemLabelDictionaryCacheLoader.LogDetails(Int32 languageCode, Int32 totalLabels, IOrganizationContext context)
at LabelDictionaryCacheLoader.LoadCacheData(Int32 languageCode, IOrganizationContext context)
at BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context)
at LabelCacheLabelCollection.GetLabel(Int32 languageCode, IOrganizationContext context)
at OptionSetValueAttributeConverter.ConvertFromBusinessEntity(IAttributeInfo attributeInfo, Dictionary`2 nameToChildAttributes, ICrmConversionContext context, Entity target)
at BusinessEntityToEntityConverter.Convert(ICrmConversionContext conversionContext, BusinessEntity businessEntity)
at ExtensiblePlatformMessageDispatcher.UpdateWithInvocationSource(BusinessEntity entity, FilterExpression filter, Int32 invocationSource, ExecutionContext context)
at ExtensiblePlatformMessageDispatcher.Update(BusinessEntity entity, FilterExpression filter, ExecutionContext context)
at BusinessProcessObject.UpdateWithPipelineAndExtensions(IBusinessEntity entity, ExecutionContext context)
at ReportServiceInternal`1.UpdateInternal(Report entity, Report origReport, ExecutionContext context)
at ReportServiceInternal`1.CreateInternal(IBusinessEntity entity, Boolean isScheduledReport, ExecutionContext context)
at ReportPublisher.UploadReportInternal(IBusinessEntity report, Int32[] relatedEntitiesArray, Int32[] categoriesArray, Int32[] visibilitiesArray, Guid organizationId, Boolean isProvisioning)
at ReportPublisher.UploadReport(String reportFolder, String reportName, String fileName, String description, Int32 languageCode, Int32[] categoriesArray, Int32[] relatedEntitiesArray, Int32[] visibilitiesArray, Object parentId, Guid signatureId, Version version, Guid organizationId, Hashtable reportsPublished, String reportNameOnSrs, Boolean isProvisioning)
at ReportPublisher.UploadReports(Guid organizationId, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress, Boolean isProvisioning)
at ReportProvisioningPublisher.UploadReports(Guid organizationId, String reportFolder, Int32 languageCode, Int32 matchCategoryNumber, Int32 addCategoryNumber, IProgressEventSource progress, ReportVersionCompareHandler versionComparer, Boolean isProvisioning)
at Reports.UploadReports(ReportProvisioningContext context, String reportFolder, IProgressEventSource progress, ReportVersionCompareHandler handler)
at LanguageActivation.ProcessReports(String path, Int32 language, String versionInMuiPack, String versionInDB, String crmVersion)
at LanguageActivation.Provision(Boolean reprovision, String basePath, Int32 language, String versionInMuiPack, String versionInDB, String crmVersion, XmlDocument newImportDom, XmlDocument newMasterImportDom, OrganizationLanguagePackService langService, PropertyBag propertyBag)
at LanguageActivation.ProvisionLanguage(Int32 language)
at LangProvisioningService.ProvisionLanguage(Int32 language, ExecutionContext context)
at RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType 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 InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Pipeline.Execute(PipelineExecutionContext context)
at MessageProcessor.Execute(PipelineExecutionContext context)
at InternalMessageDispatcher.Execute(PipelineExecutionContext context)
at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)
at ProvisionLanguagePackOperation.InternalExecute(AsyncEvent asyncEvent)
at AsyncOperationCommand.Execute(AsyncEvent asyncEvent)
at PoolHandler.ProcessAsyncEvent(AsyncEvent asyncEvent)
at PoolHandler.InvokeHandlerInPool(Object state)
at ExecutionContext.runTryCode(Object userData)
at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at ThreadPoolWorkQueue.Dispatch()
at _ThreadPoolWaitCallback.PerformWaitCallback()