During initial farm setup, creating an initial User Profile Service Application works fine. However, once it's created, I cannot 'manage' it through the Manage Service Applications page in central
admin.
I get a generic error (Sorry, something went wrong / unexpected error) with a correlation ID that doesn't seem to match any ULS log entries. (Yes, I merged logs from all machines in the farm.)
A Windows event log entry says:
A failure was reported when trying to invoke a service application: Endpoint Failure
Also frequent errors in ULS logs: (see below)
- UserProfileApplicationNotAvailableException
- User Profile Application Proxy failed to retrieve partitions from User Profile Application: Micro…
- SPDistributedCache DataCacheException
I did notice that the file 'ProfileService.svc does not exist in SharePoint's web services app at the URL you see in the error. (below)
I also found it interesting that the event log error shows 1 active endpoint and 3 failed endpoints. I have 2 WFEs and 2 app servers. But I'm only trying to get the user profile service app running on the application
servers. I have deleted and recreated this service app several times under various names (deleted/recreated its app pool as well) and wonder if these other failed endpoints could be orphans from previous instances...
Any thoughts on how I might successfully create this service application? I've already been Binging my head against a wall long enough that I would have been better off reinstalling the entire farm... I may still
do that.
FYI, my farm came from a slipstreamed SP1 install package, and received the July CU after several other things were already configured, including the already-failed UP service application.
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Date: 8/8/2014 6:11:54 PM
Event ID: 8313
Task Category:
Topology
Level: Error
Keywords:
User: xyz\sp_farm
Computer: spapp1.xyz.local
Description:
A failure was reported when trying to invoke a service application: EndpointFailure
Process Name: w3wp
Process ID: 4284
AppDomain Name: /LM/W3SVC/560632691/ROOT-1-130519915587486075
AppDomain ID: 2
Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc
Active Endpoints: 1
Failed Endpoints:3
Affected Endpoint:
http://spapp1:32843/3f215b603e634a629875945488863f75/ProfileService.svc
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
<EventID>8313</EventID>
<Version>15</Version>
<Level>2</Level>
<Task>13</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-08-08T23:11:54.738080000Z" />
<EventRecordID>14550</EventRecordID>
<Correlation ActivityID="{02A1AC9C-1125-6026-E124-A52653003266}" />
<Execution ProcessID="4284" ThreadID="16072" />
<Channel>Application</Channel>
<Computer>spapp1</Computer>
<Security UserID="S-1-5-21-499312637-3451022336-10712144539-44056" />
</System>
<EventData>
<Data Name="string0">EndpointFailure</Data>
<Data Name="string1">w3wp</Data>
<Data Name="int2">4284</Data>
<Data Name="string3">/LM/W3SVC/560632691/ROOT-1-130519915587486075</Data>
<Data Name="int4">2</Data>
<Data Name="string5">urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc</Data>
<Data Name="int6">1</Data>
<Data Name="int7">3</Data>
<Data Name="string8">http://spapp1:32843/3f215b603e634a629875945488863f75/ProfileService.svc</Data>
</EventData>
</Event>
Log Name: Application
Source: Microsoft-SharePoint Products-SharePoint Foundation
Date: 8/8/2014 6:51:04 PM
Event ID: 8313
Task Category: Topology
Level: Error
Keywords:
User: VANTAGE\sp_farm
Computer: spapp1.vantage.local
Description:
A failure was reported when trying to invoke a service application: EndpointFailure
Process Name: OWSTIMER
Process ID: 8472
AppDomain Name: DefaultDomain
AppDomain ID: 1
Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc
Active Endpoints: 1
Failed Endpoints:3
Affected Endpoint:
http://spapp2:32843/3f215b603e634a629875945488863f75/ProfileService.svc
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-SharePoint Products-SharePoint Foundation" Guid="{6FB7E0CD-52E7-47DD-997A-241563931FC2}" />
<EventID>8313</EventID>
<Version>15</Version>
<Level>2</Level>
<Task>13</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2014-08-08T23:51:04.938901900Z" />
<EventRecordID>14596</EventRecordID>
<Correlation />
<Execution ProcessID="8472" ThreadID="17360" />
<Channel>Application</Channel>
<Computer>spapp1.vantage.local</Computer>
<Security UserID="S-1-5-21-499312637-3451022336-10712144539-44056" />
</System>
<EventData>
<Data Name="string0">EndpointFailure</Data>
<Data Name="string1">OWSTIMER</Data>
<Data Name="int2">8472</Data>
<Data Name="string3">DefaultDomain</Data>
<Data Name="int4">1</Data>
<Data Name="string5">urn:schemas-microsoft-com:sharepoint:service:3f215b603e634a629875945488863f75#authority=urn:uuid:9f338b52a7b049b193d8f8dc514fdadd&authority=https://spapp1:32844/Topology/topology.svc</Data>
<Data Name="int6">1</Data>
<Data Name="int7">3</Data>
<Data Name="string8">http://spapp2:32843/3f215b603e634a629875945488863f75/ProfileService.svc</Data>
</EventData>
</Event>
20:22:31.94 SharePoint Portal Server User Profiles cm6y High
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 6cd1c1f0-5874-4f8e-9c0a-ed1aff342048 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)
20:22:38.16 SharePoint Portal Server User Profiles d22b High
Failure retrieving application ID for User Profile Application Proxy 'User Profile Service Application': Microsoft.Office.Server.UserProfiles.UserProfileApplicationNotAvailableException: UserProfileApplicationNotAvailableException_Logging
:: UserProfileApplicationProxy.ApplicationProperties ProfilePropertyCache does not have 6cd1c1f0-5874-4f8e-9c0a-ed1aff342048 at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties()
at Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_AppID()
20:22:44.25 SharePoint Foundation DistributedCache ah24v High
[Forced due to logging gap, cached @ 08/08/2014 20:22:38.16, Original Level: Verbose] DistributedCacheClient TransportProperties- ChannelInitializationTimeout '{0}', ConnectionBufferSize '{1}',
MaxBufferPoolSize '{2}', MaxBufferSize '{3}', MaxOutputDelay '{4}',ReceiveTimeout '{5}'.
20:22:55.26 SharePoint Foundation DistributedCache ah24w Unexpected
Unexpected Exception in SPDistributedCachePointerWrapper::InitializeDataCacheFactory for usage 'DistributedViewStateCache' - Exception 'Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0006>:There
is a temporary failure. Please retry later. (One or more specified cache servers are unavailable, which could be caused by busy network or servers. For on-premises cache clusters, also verify the following conditions. Ensure that security permission has been
granted for this client account, and check that the AppFabric Caching Service is allowed through the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater than or equal to the serialized object size sent from the client.). Additional
Information : The client was trying to com...