积极答复者
CRM站点隔一段时间会出现错误不能访问,回收应用程序池就好啦

问题
-
Event code: 3005 Event message: 发生了未处理的异常。 Event time: 2010/2/3 13:33:07 Event time (UTC): 2010/2/3 5:33:07 Event ID: 3ecba58e654848e48de2f97aeaec9d37 Event sequence: 1037 Event occurrence: 2 Event detail code: 0 Application information: Application domain: /LM/W3SVC/1/ROOT-1-129095661164686808 Trust level: Full Application Virtual Path: / Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ Machine name: IWS-OA Process information: Process ID: 5300 Process name: w3wp.exe Account name: IWSTECH\crmadmin Exception information: Exception type: COMException Exception message: 试图在标记为删除的注册表项上进行不合法的操作。 Request information: Request URL: http://iws-oa:5555/default.aspx Request path: /default.aspx User host address: 10.2.3.170 User: IWSTECH\qzwang Is authenticated: True Authentication Type: Negotiate Thread account name: IWSTECH\crmadmin Thread information: Thread ID: 3 Thread account name: IWSTECH\crmadmin Is impersonating: True Stack trace: 在 System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) 在 System.DirectoryServices.DirectoryEntry.Bind() 在 System.DirectoryServices.DirectoryEntry.get_AdsObject() 在 System.DirectoryServices.PropertyValueCollection.PopulateList() 在 System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) 在 System.DirectoryServices.PropertyCollection.get_Item(String propertyName) 在 Microsoft.Crm.BusinessEntities.SecurityUtils.GetDirectoryObjectPath(AdSearchType searchType) 在 Microsoft.Crm.BusinessEntities.SecurityUtils.GetDirectorySearcher(AdSearchType searchType) 在 Microsoft.Crm.BusinessEntities.SecurityUtils.GetGuidFromServerName(String serverName) 在 Microsoft.Crm.BusinessEntities.SecurityUtils.GetLocalSystemGuid() 在 Microsoft.Crm.Caching.OrganizationSettingsCacheLoader.LoadCacheData(Guid key, ExecutionContext context) 在 Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context) 在 Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context) 在 Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context) 在 Microsoft.Crm.BusinessEntities.SecurityLibrary.IsOrganizationSpecialUser(Guid organizationId, Guid userId, ExecutionContext context) 在 Microsoft.Crm.Caching.UserDataCacheLoader.LoadCacheData(Guid key, ExecutionContext context) 在 Microsoft.Crm.Caching.ObjectModelCacheLoader`2.LoadCacheData(TKey key, IOrganizationContext context) 在 Microsoft.Crm.Caching.BasicCrmCache`2.CreateEntry(TKey key, IOrganizationContext context) 在 Microsoft.Crm.Caching.BasicCrmCache`2.LookupEntry(TKey key, IOrganizationContext context) 在 Microsoft.Crm.BusinessEntities.SecurityLibrary.GetUserInfoInternal(WindowsIdentity identity, IOrganizationContext context, UserAuth& userInfo) 在 Microsoft.Crm.BusinessEntities.SecurityLibrary.GetCallerAndBusinessGuidsFromThread(WindowsIdentity identity, Guid organizationId) 在 Microsoft.Crm.Authentication.CrmWindowsIdentity..ctor(WindowsIdentity innerIdentity, Boolean publishCrmUser, Guid organizationId) 在 Microsoft.Crm.Authentication.WindowsAuthenticationProvider.Authenticate(HttpApplication application) 在 Microsoft.Crm.Authentication.AuthenticationStep.Authenticate(HttpApplication application) 在 Microsoft.Crm.Authentication.AuthenticationPipeline.Authenticate(HttpApplication application) 在 Microsoft.Crm.Authentication.AuthenticationEngine.Execute(Object sender, EventArgs e) 在 System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
答案
-
- 已标记为答案 Jim Wang (Microsoft)Microsoft employee, Moderator 2010年2月10日 9:57
全部回复
-
你可以在IIS里删除CRM App Pool,然后用相同的Run As 帐户重新创建一个。
还有,你的系统有没有安装Rollup?
Jim Wang - MVP Dynamics CRM - http://jianwang.blogspot.com, http://www.mscrm.cn -
- 已标记为答案 Jim Wang (Microsoft)Microsoft employee, Moderator 2010年2月10日 9:57