问题描述
我们已经按照以下结构安装了 MS Dynamics CRM 365:
2 前端(子网 1) 2 后端(子网 2) 1 个部署服务器(子网 2) 2 个 sql 服务器集群(子网 3)
创建组织并导航后打开门户 http://localhost/test
发生错误。
再次尝试此操作。如果问题仍然存在,请查看 Microsoft Dynamics 365 社区以获取解决方案或联系您组织的 Microsoft Dynamics 365 管理员。最后,您可以联系 Microsoft 支持。
事件查看器错误:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 12/21/2020 4:17:46 PM
Event time (UTC): 12/21/2020 1:17:46 PM
Event ID: 721f2fbf17df4bc2929208fa2b1f7c77
Event sequence: 11
Event occurrence: 5
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/ROOT-1-132530280420389099
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files\Dynamics 365\CRMWeb\
Machine name: zzzzzzz
Process information:
Process ID: 7400
Process name: w3wp.exe
Account name: domain\eeeeee
Exception information:
Exception type: CrmException
Exception message: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Crm.ServerLocatorService.GetSiteSetting[T](String settingName,Boolean defaultOnError)
at Microsoft.Crm.Caching.OrganizationSettings.LazyLoadPrivGroup()
at Microsoft.Crm.Caching.OrganizationSettings.get_PrivilegeUserGroupSid()
at Microsoft.Crm.BusinessEntities.SecurityLibrary.CheckPrivilegeGroupForOrganization(WindowsIdentity identity,IOrganizationContext context)
at Microsoft.Crm.BusinessEntities.SecurityLibrary.TryCheckPrivilegeGroupForOrganization(ExecutionContext context,Boolean checkImpersonatePrivilege)
at Microsoft.Crm.Extensibility.ExternalMessagedispatcher.VerifyCallerOrigin(ExecutionContext context)
at Microsoft.Crm.Extensibility.ExternalMessagedispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory,IPlatformMessagedispatcherFactory dispatcherFactory,Guid callerRegardingObjectId,Int32 invocationSource,Version endpointVersion,OrganizationRequest request,OrganizationInternalRequest organizationInternalRequest)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.dispatchRequest(OrganizationRequest request,OrganizationInternalRequest organizationInternalRequest,SdkResponseDescription responseDescription,SdkPerformanceCounterContext sdkPerformanceCounterContext)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequestRequestWithInstrumentation(OrganizationRequest request,OrganizationInternalRequest organizationInternalRequest)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.<>c__displayClass17_0.<ExecuteRequest>b__0()
at Microsoft.PowerApps.CoreFramework.activityloggerExtensions.Execute[TResult](ILogger logger,EventId eventId,ActivityType activityType,Func`1 func)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger,XrmTelemetryActivityType activityType,Func`1 func)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request,CorrelationToken correlationToken,CallerOriginToken callerOriginToken,WebServiceType serviceType,UserAuth userAuth,Guid targetUserId,Guid targetCallerRegardingObjectId,UserType targetUserType,OrganizationContext context,Boolean returnResponse,Boolean checkAdminMode)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequestInternal(OrganizationRequest request,Boolean checkAdminMode,ExecutionContext executionContext)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request,ExecutionContext executionContext)
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Execute(OrganizationRequest request,ExecutionContext executionContext): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #87E0490D
at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute()
at Microsoft.Crm.Application.Platform.DataSource.RetrieveMultiple(QueryExpression query,Boolean retrieveLatest,Boolean useSystemUserContext,IOrganizationContext context)
at Microsoft.Crm.Application.Caching.CustomresourceLoader.GetCustomresources(IOrganizationContext context,Int32 cacheKey)
at Microsoft.Crm.Application.Caching.CustomresourceLoader.LoadCacheData(Int32 key,IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.CreateEntry(TKey key,IOrganizationContext context)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.<>c__displayClass19_0.<LookupEntry>b__2()
at Microsoft.PowerApps.CoreFramework.activityloggerExtensions.Execute(ILogger logger,Action action)
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger,Action action)
at Microsoft.Crm.Caching.CrmMultiOrgCacheBase`2.LookupEntry(TKey key,IOrganizationContext context)
at Microsoft.Crm.Application.ResourceManager.CustomresourceManager.TryGetCustomString(String name,CultureInfo culture,IOrganizationContext context)
at Microsoft.Crm.Application.ResourceManager.CustomresourceManager.TryGetCultureString(String name,IOrganizationContext context)
at Microsoft.Crm.Application.ResourceManager.BasicResourceManager.GetCultureString(String name,IOrganizationContext context)
at Microsoft.Crm.Controls.Header..ctor(Boolean isControlHeader)
at Microsoft.Crm.Controls.BasicHeader..ctor()
at Microsoft.Crm.Application.Controls.AppHeader..ctor()
at ASP.test5_default_aspx.__BuildControlcrmHeader()
at ASP.test5_default_aspx.__BuildControlTree(test5_default_aspx __ctrl)
at ASP.test5_default_aspx.FrameworkInitialize()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint,Boolean includeStagesAfterasyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,Boolean& completedSynchronously)
Request information:
Request URL: http://zzzzzzz/Test5/default.aspx
Request path: /Test5/default.aspx
User host address: 172.16.xx.xxx
User: domain\eeeeee
Is authenticated: True
Authentication Type: Negotiate
Thread account name: domain\eeeeee
Thread information:
Thread ID: 165
Thread account name: domain\eeeeee
Is impersonating: True
Stack trace: at Microsoft.Crm.Application.Platform.ServiceCommands.PlatformCommand.XrmExecuteInternal()
at Microsoft.Crm.Application.Platform.ServiceCommands.RetrieveMultipleCommand.Execute()
at Microsoft.Crm.Application.Platform.DataSource.RetrieveMultiple(QueryExpression query,Boolean& completedSynchronously)
Custom event details:
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)