SharePoint 2010 – User profile – event id 1004 and 1001 –

Had some errors appearing during Profile Sync which even Spence has not got logged anywhere… While I’m not sure why the problem appeared and I cannot make it reappear, it’s an easy problem to fix.

The Problem:

Errors were appearing in the event log, describing an inability for the Network Service account to access a file contained within the folder. Upon investigation it looked like the service account in question did not have access to the folder, which is why it could not see the file…

The Error:

The following events are logged on the application event log:

Log Name: Application
Source: MsiInstaller
Date: 26/10/2011 03:40:43
Event ID: 1004
Task Category: None
Level: Warning
Keywords: Classic
User: <WEB APP ACCOUNT>
Computer: <computer name>

Description:
Detection of product ‘{90140000-104C-0000-1000-0000000FF1CE}’, feature ‘PeopleILM’, component ‘{1C12B6E6-898C-4D58-9774-AAAFBDFE273C}’ failed. The resource ‘C:\Program Files\Microsoft Office Servers\14.0\Service\Microsoft.ResourceManagement.Service.exe’ does not exist.

Log Name: Application
Source: MsiInstaller
Date: 26/10/2011 03:40:43
Event ID: 1001
Task Category: None
Level: Warning
Keywords: Classic
User: <WEB APP ACCOUNT>
Computer: <computer name>

Description:
Detection of product ‘{90140000-104C-0000-1000-0000000FF1CE}’, feature ‘PeopleILM’ failed during request for component ‘{1681AE41-ADA8-4B70-BC11-98A5A4EDD046}’

Solution:

Go into the folder settings and add the named service account (or Network Service, if you are running a single server solution) to have Read and Execute permissions on that folder and all it contains (you can give it full permissions if it makes it easier).

Navigate to C:\Program Files\Microsoft Office Servers\14.0\

Right-click on the Service folder and go to the security tab in the folder’s properties…

Add Network Service / Your Web App Account with Full Control rights

Done! A french guy called Benoit also reported this issue last year, but when searching the interwebz I found hardly anybody discussing this issue, so it must be an “edge case”… SharePoint 2010 – User profile – event id 1004 and 1001 – Benoit’s corner

Cheers!

Advertisements

About Brad Saide

I'm a SharePoint consultant. I'm also slowly going bald, seem to have a permanent spare tyre around my waist and enjoy socialising with friends over a beer or 10. The last 2 may possibly be related. Started working with SharePoint when the first version was in limited beta release (participated in the Technology Adoption Program while at Woolworths) and have been committed to the adoption of the technology as a business enabler ever since.
This entry was posted in Uncategorized. Bookmark the permalink.

3 Responses to SharePoint 2010 – User profile – event id 1004 and 1001 –

  1. It happens also every time you install part of sharepoint in “x:\program files” 🙂
    network service needs “read” rights to execute binaries in that folder. Also probably for FIM.

  2. Brad Saide says:

    I’m guessing you mean “Choose another installation folder that is not C:\Program Files\” for the Application binaries… because by default they go to C:\Program Files (and when you don’t change the installation settings things “just work”).

    Either way, the installation, site deployment and / or application configuration scripts should really be a little more intelligent when they are configuring the security… DCOM is another thing I “just check” every time I implement SharePoint, because 9 times out of 10 it’s not right.

  3. Exactly 🙂

    there’s a codeplex project to script the installation, and harbar has made a script to automate the user profile service creation, but afaik, permissions are still a pain when you use any serious configuration. As microsoft said in “planning security…”, make an excel file with the accounts and write down the permissions needed, else, headache 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s