Error Event ID 1511 on SharePoint 2010

In this post I'll write about how I've resolved the following error event with id 1511 from User Profile Service source with following description on SharePoint 2010 server :

Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
Several IIS application pools were running with regular domain user account on this SharePoint 2010 server. For some of these application pools identities local profile was not created instead temporary profile was used. Domain user account with temporary profile created for that application pool is logged in the same event id 1511 under user section.
Fixing this behavior is simple, and the point is to create the user's profile before application pool is started. I guess, the easiest way to achieve that, is to start the command prompt under that "problematic" domain user account.
So, after stopping the SharePoint services and IIS, and deleting the temp profile from C:\Users folder, I ran the runas command:
runas /user:domain\apooluser cmd
After typing the correct password for that domain user, command prompt will open under user's context and local profile will be created for that user in C:\Users folder. Reboot the server and error event with 1511 id will not be log since IIS application pool will start and will use the previously created local profile in C:\Users folder.
 

1 comment:

  1. So useful experience you shared to us. I would like to say my warm thanks for contributing such practical facing problem to online that might bring some help and support to your users and fans. The error event ID on sharepoint you experience and solved was really tech knowledgeable. I like the way you delivered all the information. Though my browsing story was to learn more about online id theft protection, I was totally satisfied with what I lesson I was able to pick up here.

    ReplyDelete

How to check EMBG (Unique Master Citizen Number) using regex

In this post, I will share my implementation of how to check if some number looks like EMBG or Unique Master Citizen Number. For those of yo...