User Profiles–again.

by | Jul 29, 2011 | SharePoint | 0 comments

As you can read I was fighting with user profile service for SharePoint 2010. Today I faced a new problem. With new SharePoint installation I’ve created new service application for user profiles. No problem. Now it’s time to start User Profile Service… A few minutes and nothing??? What’s going on? Entry in SharePoint logs or windows logs has some strange entries like this:

The Forefront Identity Manager Service cannot connect to the SQL Database Server.

Microsoft.ResourceManagement.Service: System.TypeInitializationException: The type initializer for ‘Microsoft.ResourceManagement.WebServices.ResourceManagementServiceHostFactory’ threw an exception. —> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.TypeInitializationException: The type initializer for ‘Microsoft.ResourceManagement.WebServices.ResourceManagementServiceSection’ threw an exception. —> System.Configuration.ConfigurationErrorsException: Required attribute ‘externalHostName’ not found….

When I try to start manually Forefront Identity Manager Synchronization Service after a few minutes I get an error that  some files are missing. What’s up?

The clue was that I was trying to do my SharePoint installation more secure and I used two different accounts: one for SharePoint installation and the second for SharePoint farm, which is later marked as system account.

When I’ve added my farm account to local administrator group SharePoint was able to configure user profile service without any problem.

Written by Tomasz Szulczewski

Hi, my name is Tomasz Szulczewski, and I have been in love with information technology for over 25 years, but I still have an IT passion and feel like a geek. I am a person who is problem solver who thinks that not all people must be experts in IT.

Related Posts

What is SharePoint in Office 365?

What is SharePoint in Office 365?

What is SharePoint in Office 365, and why is SharePoint for small business the critical product? So you bought a Microsoft 365 license, and your tenant is online. You open a browser, and you have no idea what to do next? Don't worry; I will try to give you a few...

read more
Hubfly

Hubfly

A few days ago I have a chance to play with SharePoint online solution called Hubfly and I was really impressed with his capabilities. And here is my review. So let’s start from the begging. I wrote a few times on this blog that the main problem with SharePoint is...

read more

0 Comments

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.