升级2010 Service Applications,应用程序池异常 [英] Upgrading 2010 Service Applications, applicationpool strangeness

查看:82
本文介绍了升级2010 Service Applications,应用程序池异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的2010元数据和用户配置文件数据库附加/升级到2013年,并且遇到了一个奇怪的问题.下列的 https://technet.microsoft.com/zh-cn/library/jj839719%28v=office.16%29.aspx?f=255&MSPPError=-2147217396.

I'm attaching/upgrading my 2010 Metadata and User Profile dbs into 2013 and running into a curious issue. Following https://technet.microsoft.com/en-us/library/jj839719%28v=office.16%29.aspx?f=255&MSPPError=-2147217396.

首先,创建apppool:

First, apppool creation:

PS C:\...> New-SPServiceApplicationPool -Name SPSvcAppPool -Account domainname\spadmin

Name                                     ProcessAccountName                                                                                        
----                                     ------------------                                                                                        
SPSvcAppPool                             domainname\spadmin                                                                                     

即使没有出错,我也检查了IIS,但它不存在.我通过IIS手动创建了SPSvcAppPool,并手动设置了进程"帐户,确认它已启动并且应用程序"的数量为0. 变量并验证它是否识别出应用池:

Even though it didn't error, I checked IIS and it was not there. I created SPSvcAppPool manually through IIS and set the Process acct manually, verified it was Started and the number of Applications = 0. I went back to powershell to set it as a variable and to verify it recognized the apppool:

PS C:\...> $applicationPool = Get-SPServiceApplicationPool -Identity "SPSvcAppPool"

PS C:\...> Get-SPServiceApplicationPool

Name                                     ProcessAccountName                                                                                        
----                                     ------------------                                                                                        
SecurityTokenServiceApplicationPool      domainname\spadmin                                                                                     
ServiceApplicationPool                   domainname\spadmin                                                                                     
SharePoint Web Services System           domainname\spadmin                                                                                     
SPSvcAppPool                             domainname\spadmin                                                                                     

PS C:\...> Get-Variable applicationpool

Name                           Value                                                                                                               
----                           -----                                                                                                               
applicationPool                SPIisWebServiceApplicationPool Name=SPSvcAppPool 

下一步,我创建服务应用程序和代理:

Next I create the Service Apps and Proxies:

PS C:\...> $mms1 = New-SPMetadataServiceApplication -Name 'Managed Metadata Service' -ApplicationPool $applicationPool -DatabaseName 'ManagedMetadataService'

PS C:\...> New-SPMetadataServiceApplicationProxy -Name 'Managed Metadata Service' -ServiceApplication $mms1 -DefaultProxyGroup

DisplayName          TypeName             Id                                  
-----------          --------             --                                  
Managed Metadata ... Managed Metadata ... aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee

PS C:\...> $upa = New-SPProfileServiceApplication -Name 'domainname User Profile Service' -ApplicationPool $applicationPool -ProfileDBName 'Profile DB' -SocialDBName 'Social DB' -ProfileSyncDBName 'Sync DB'

PS C:\...> New-SPProfileServiceApplicationProxy -Name 'domainname User Profile Service' -ServiceApplication $upa -DefaultProxyGroup

Name                 Type                 Id                                  
----                 ----                 --                                  
domainname User P... User Profile Serv... kkkkkkkk-llll-mmmm-nnnn-oooooooooooo

检查IIS应用程序池SPSvcAppPool并仍然显示0个应用程序.当我检查ServiceApplications.aspx时,在那里有新的服务应用程序,并且该服务应用程序的属性"已将应用程序池"设置为SPSvcAppPool.

Check IIS App Pool SPSvcAppPool and STILL 0 APPLICATIONS. When I check ServiceApplications.aspx, the new service apps are there, and Properties for the service app has Application Pool set to SPSvcAppPool.

IISresets等,仍然为0.当我尝试打开托管元数据服务"或域名用户配置文件服务"时,我得到的关联ID指向ULS日志:

IISresets, etc, still 0. When I try opening 'Managed Metadata Service' or 'domainname User Profile Service' I'm getting correlation IDs pointing to ULS logs:

用户配置文件应用程序代理无法从用户配置文件应用程序检索分区:Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException:UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache在Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()上没有GUID.在Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()处获得. 在Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)

User Profile Application Proxy failed to retrieve partitions from User Profile Application: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have GUID at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext)

用户配置文件应用程序代理用户配置文件服务"的失败检索应用程序ID:Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException:UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache在Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()上没有GUID.在Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_AppID()

Failure retrieving application ID for User Profile Application Proxy 'User Profile Service': Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging :: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have GUID at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()     at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_AppID()

UserProfileServiceUserStatisticsWebPart:LoadControl失败,异常:Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException:该用户配置文件应用程序的连接当前不可用. 应用程序池或用户配置文件服务可能尚未启动.请与您​​的管理员联系.在Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileAdminPage.get_CurrentApplicationProxy()处. 在Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender,EventArgs e)

UserProfileServiceUserStatisticsWebPart:LoadControl failed, Exception: Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: This User Profile Application's connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator.     at Microsoft.SharePoint.Portal.UserProfiles.AdminUI.ProfileAdminPage.get_CurrentApplicationProxy()     at Microsoft.SharePoint.Portal.WebControls.UserProfileServiceStatisticsWebPartBase.LoadControl(Object sender, EventArgs e)

一如既往,谢谢!

推荐答案

您是否启动了服务实例?该池将不会部署到尚未启动使用该池的服务实例的服务器.
Did you start the Service Instance(s)? The Pool will not be deployed to a server where a Service Instance which uses that Pool has not been started.


这篇关于升级2010 Service Applications,应用程序池异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆