Upon establishing a User Profile Service Application Proxy connection to a User Profile Service Application published from another farm, your SharePoint 2010 sites crash with the dreaded unexpected error message:
Upon reviewing the ULS logs, you will notice there is also a login failed error related to the database associated with the User Profile Service Application on the publishing farm:
System.Data.SqlClient.SqlException: Cannot open database "
SqlError: 'Login failed for user '
I have noticed this issue occurs primarily when using SQL aliasing.
Solution
1)
Create a SQL alias on the consuming farm that
matches the alias on the publishing farm. For example, if you have an alias
name of SQLDev on the publishing
farm, create an alias with the name of SQLDev
on the consuming farm, both pointing to database server for the publishing
farm.
2)
Restart IIS on each server in the consuming farm. iisreset /noforce.
3)
Restart the Timer service on each server in the consuming
farm. net stop sptimerv4 and net start sptimerv4.
No comments:
Post a Comment