SharePoint 2010 Ratings Synchronization Timer Job errors in Publishing/Consuming MultiFarm Configuration
Consider the following
scenario:
SharePoint 2010 is configured to consume the User Profile
Service from a separate SharePoint 2010 farm.
In this scenario, you find
errors like the following in the Publishing Farm's ULS log
files:
-----------------------------------
OWSTIMER.EXE
(0x1604) 0x1718 SharePoint
Foundation
General
6t8b
Verbose Looking up site https://ConsumingFarm/News/Pages/RatedPage.aspx
in the farm SharePoint_Config
f19c8895-b179-4f07-8a5e-e343f3d81fe7
OWSTIMER.EXE
(0x1604) 0x1718 SharePoint
Foundation General
88gr Verbose alternateUrl is null
f19c8895-b179-4f07-8a5e-e343f3d81fe7
OWSTIMER.EXE
(0x1604) 0x1718 SharePoint
Foundation Database
tzku Verbose ConnectionString: 'Data
Source=DBServer\instance;Initial Catalog=SharePoint_Config;Integrated
Security=True;Enlist=False;Asynchronous Processing=False;Connect Timeout=15'
ConnectionState: Closed ConnectionTimeout: 15
f19c8895-b179-4f07-8a5e-e343f3d81fe7
OWSTIMER.EXE
(0x1604) 0x1718 SharePoint
Foundation Topology
88gs Verbose hostHeaderSiteInfo is null
f19c8895-b179-4f07-8a5e-e343f3d81fe7
OWSTIMER.EXE
(0x1604) 0x1718 SharePoint
Foundation Topology
88gv Verbose request is not loopback
f19c8895-b179-4f07-8a5e-e343f3d81fe7
OWSTIMER.EXE
(0x1604) 0x1718 SharePoint
Server Social Data
d0rj Unexpected RatingSync: Unexpected exception processing https://ConsumingFarm/News/Pages/RatedPage.aspx.
Error:System.IO.FileNotFoundException: The Web application at https://ConsumingFarm/News/Pages/RatedPage.aspx
could not be found. Verify that you have typed the URL correctly. If the URL
should be serving existing content, the system administrator may need to add a
new request URL mapping to the intended application. at
Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean
contextSite, SPUserToken userToken) at
Microsoft.SharePoint.SPSite..ctor(String requestUrl) at
Microsoft.Office.Server.SocialData.SocialRatingManager.PropagateRating(SocialRatingAverage
ratingAverage)
f19c8895-b179-4f07-8a5e-e343f3d81fe7
-----------------------------------
These
errors are occurring because the https://ConsumingFarm web application does not
exist on the Publishing Farm.
In this configuration, it is important to
know that the two timer jobs related to Social Ratings run in the following
locations:
Social Data Maintenance Job: This must run on the
Publishing Farm where the User Profile Service "lives"
Social
Rating Synchronization Job: This must run on the Consuming Farm where
the Web Applications "live".
NOTE: If the Publishing Farm does not
have any user-accessible web applications, you can disable the "Social Rating
Synchronization Job" timer job without any problems (on the Publishing Farm,
itself).
Comments
Anonymous
February 14, 2011
Thanks for sharing. I am also encountering these errors in the setup with a publishing and consuming farm. What exactly solves this? Turning off the Rating Sync job on the publishing farm as described in your note?Anonymous
March 30, 2015
And you did waht to fix it....