.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Problem with User profile synchronization using BCS connection.

Posted By:      Posted Date: October 06, 2010    Points: 0   Category :SharePoint

I am facing a problem while updating user profile properties through BCS.

I couldnt perform a AD synchronization because the account did not have replication rights.So, i manually added a few user profiles and thought of updating few of their properties using BCS connection to SQL server.

I created a bcs connection and tested it by creating external lists and bcs profile page.It is working fine.

The problem is when i create a  user profile connection with using this bcs connection and do a full synch, the user properties are not updated.

Forefront identity manager shows values of the database being imported. however the mapped propertes are not updated.

Please help.

Thanks in advance.


View Complete Post

More Related Resource Links

User Profile Synchronization Connection disappeared

So I had finally got User Profile Synchronization working by going down the path of using the Domain Admin Active Directory account for everything (SQL service account, SharePoint Farm account, Setup account) and the User Profiles worked based on the walk through I created on SharePointAdminWiki.com.  But now, the User Profile Synchronization Connection has disappeared from the list...and if I click Create to try and recreate it I get this error: "Cannot navigate to the requested page while User Profile Synchronization is running. Please wait for the current Synchronization run to finish." There are no jobs running, and I've left it for a while and still no joy. I even tried restarting the server and still nothing! I've tried this with a Windows Server 2008 SP1 build server AND a Windows Server 2008 R2 server. I have read @jiel's and David Pae's advice on this. Are User Profiles just well and truly broken in the Public Beta? SharePoint Solution Architect, Perth Australia - MCTS WSS Dev, WSS Adm, MOSS Dev, MOSS Adm - Readify - http://wss.made4the.net/- http://www.sharepointdevwiki.com/

User Profile Service Synchronization Connection: Client Timout

Hi, I have scenario on configuring User Profile Synchronization service on customer site as below. Window AD Server 2003 Domain NetBIOS: foo FDQN: foo.bar.com  User Account to connect: foo\ad-connect This account already set permission as describe in http://technet.microsoft.com/en-us/library/ee721049.aspx  when I try to create connection, system took long time to process then return error as "Client Timeout". I try to check FIM and it's seems to work fine (no error return and can get users data). So could anyone told me what's wrong? Since I've didn't have much knowledge on Network and AD, please advice.Theeraphat.P SharePoint Information Worker

User Profile Synchronization Problem


  Here I am, another person with the User Profile problem.  Of course mine is not failing like everyone elses.  Ok here goes.  I followed the following:

So I have installed the WCF from here: http://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=23806 as I am running Windows 2008 R2.

I set Replicating Directory Changes to SharePointDBA (Farm Account) and SharePointCAA (Administration Account)

From there I noticed that User Profile Service was started and User Profile Syncronization Service wasn't.  Stopped the User Profile Service and started it again.  Then started the User Profile Sysncronization Service.  Selected User Profile Service Application.  I then waited about 15 minutes.  Checked the services.mmc and noticed that Forefront Identity M

How do we create new User Profile Synchronization connection so that we can import profiles from AD

We have a requirement to authenticate users against Active Directory LDS in our SP 2010 farm and also import their profiles in user profile store. We are able to setup FBA using AD membership provider to authenticate against AD LDS.

I am interested in importing the users in AD LDS to SharePoint user profile store. 

When I try to create a new connection the options that I am provided are 
1. Active Directory
2. Active Directory Logon Data
3. Active Directory Resource.
4.SunOne (LDAP) 5.2
5.Novell eDirectory (LDAP) 8.7.3
6.IBM Tivoli (LDAP) 6.2

If I select any of the options 1/2/3 I am asked to provide Forest Name and Domain Controller name. Since this is AD LDS there is no Forest or Domain Controller. It’s just a generic LDAP server.  

So the question I am struggling with  is: what are the steps required to create a User Profile Synchronization connection to import users from AD LDS and not from AD DS? 

We are not able to find any information how to do that in SP2010… From other blog entries I am assuming it was supported and documented for MOSS2007.

There is NO “LDAP Directory” connection type in SP2010.

I am wondering if this is supported in SP2010.


User Profile Synchronization - Creating AD Connection "Unable to process Create message"



I have the following error when I try to create a new synchronization connection:  "Unable to process Create message".  Microsoft reports this error as being due to a SUN LDAP error which does not make sense.  While we do have some SUN machines in our environment, I used an LDAP browser to confirm that the Windows AD LDAP  was returning information fine.  We are using a mixed Windows 2008 R2/Windows 2003 domain.

I've searched the internet for the solution and have tried all suggestions.  Have tried recreating the User Profile Service.  Have tried not using the wizard and set everything up manually according to the "Rational User Profile" blog.  Have done as much as I can think of.

Any help would be awesome and very appreciated.

The recurring errors in the Event Log are 3 errors:

FIMSynchronizationService Event 6303

Forefront Identity Manager Event 3 (occurs twice)





Here are the verbage for each error

FIMSynchronizationService Event 6303


The server encountered an unexpected error while performing an operation for the client.
 "BAIL: MMS(4228): parser.cpp(3182): 0x80230910 (E_MMS_SCHEMA_CYCLE_IN_CLASS_HIERA

Unable to start user profile synchronization service

Hello, I have the following problem. user profile synchronization service doesn't start up, with the following error in log: The service encryption keys could not be found. User Action Verify that the service account has permissions to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Forefront Identity Manager\2010\Synchronization Service If the problem persists, run setup and restore the encryption keys from backup. Permissions for registry are availabele. Thank you.    

Critical Error with User Profile synchronization timer job

Hello! We are currently running SharePoint 2010 on Windows 2008 R2 servers. Our User Profile Service and User Profile Sync Service are currently running, and profile imports work fine when kicked off from Central Admin. However, the profile sync timer job always fails with the following Application Event error: Event 6398, SharePoint Foundation The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 340e8ca2-6f3b-4bd8-80f2-0fe011709805) threw an exception. More information is included below. Generic failure Looking at the ManageUserProfileServiceApplication.aspx log, indeed the only imports visible are ones which have been kicked off manually in Central Admin. The failed scheduled imports are not even recorded to this log. The ULS entry associated with this error is as follows: 08/31/2010 17:11:17.32  OWSTIMER.EXE (0x0CD0)                    0x0C04 SharePoint Foundation          Timer                          6398 Critical The Execute method of job definition Microsoft.Office.Server.UserProfiles.UserProfileImportJob (ID 340e8ca2-6f3b-4bd8-80f2-0fe

Configure Synchronization connections with PowerShell (User Profile)

Hi, I was checking the Pshell cmdlets for SPS2010 and wasn't able to configure the sync connection after creating the User Profile SA. Do you know if it's possible to configure this part (AD, filters, etc) in PShell ? Is it done using the "SetupSynchronizationService" method of the User Profile Service Application object ? Thanks ! Wes  

User Profile Synchronization problems suddenly

I installed User Profle Sync and it was working for a few weeks just fine.  No issues with "starting".  I was able to syn the AD users to SharePoint. Now - for some reason, it has decided to stop working and my event viewer is filled with Event ID 5555 errors over and over again.  I have no clue why it decided to stop working or if I changed something that caused it (or what I changed) and I've tried to restart the service several times, but always end up in "Starting" mode now and the errors persist. I'm a beginner and would love some help here.  I followed this page http://www.harbar.net/articles/sp2010ups.aspx when setting it up the first time and it worked perfectly. So now what?  Do I have to do it all again?

User Profile Synchronization: Name of user account / id uses wrong Netbios domain name?!

I've got an interesting situation: I've got a domain e.g. FOOBAR.FI. The Netbios domain is due to historical reasons BARFOO. When I use UPS to import accounts from the FOOBAR.FI domain, the user account names in SharePoint are given the id of FOOBAR\<useraccount>. This works so and so. Users are identified and My Sites is fine. However the organizational chart and other fields where you can specify another user don't work as they should. If the manager is specified from AD, the organizational chart works. However, if I edit a profile and check the manager, it's in the form of FOOBAR\<useraccount>. SharePoint highlights this and a tooltip says that the account cannot be found. As a suggestion, it gives BARFOO\<useraccount>, which is found from the AD. All fine and dandy, until you check the organizational chart, which turns out to be empty at this point. This is because in SharePoint there's no user with the name BARFOO\<useraccount>, but only those FOOBAR\<useraccount> users who've been imported from the AD. So bottom line question is: How does UPS select and set the user account name?

User Profile Sync - Profile Picture Export to AD Problem

To start, I think I've read every post/blog/etc there is on this subject.  Currently I have user profile import to Sharepoint 2010 working.  It imports profile data just fine.  Everything in the FIM Synchronization manager show success even.  Its the export from Sharepoint to AD of the user profile picture that isn't working at all.  I've gone thru the steps of adding the thumbnailphoto export under the picture properties.  I can see the export inside of the FIM manager.  I notice though that in FIM there is there a DS_EXPORT of the objects.  I've looked into the SyncDB and noticed in the metaverse table the SPS_MV_OctetString_PictureURL never gets updated with the information from the PictureURL column of the ProfileDB.  It is always Null.  Actually in FIM it only shows one person with an update, and keep showing the PictureURL property as being not applied, which is probably because it is showing it as blank only.  In the connector for the object in FIM, I get the error that I've seen in some blog posts where it says PictureURL (String) is not compatible with SPS_MV_OctetString_PicutreURL (binary), but that seems to be how Sharepoint builds the connection even though FIM finds it invalid.  I've had that created, deleted several times, so I guess that is ordinary, and not sure that is even the problem.

Problems with AD Connection in User Profile Service

I found a great resource that I have used successfully to set up and configure the User Profile Service: http://www.harbar.net/articles/sp2010ups.aspx I am now tryin to do this in a new environment and everything works until i get to Configure Connection to Do a Sync and click "Populate Containers"  I don't get an AD container for "SharePoint Users" according to the example. Any pointers or assistance you could provide would be greatly appreciated. Thank you, David

User Profile Problem


Hi all,

Im having problems implementing user controls for an ASP.NET site i wish to create.

I would like to take you throught the process i took, can anyone please tell me where i went wrong.

First I ran the aspnet_regsql.exe wizard and I provided details to connect to a SQL Express database that i have created. After doing this, I checked the machine.config, and there where no changes made to add the DB as a profile provider. Then I added this to my web.config:

      <add name="Name" type="System.String" />
      <add name="Surname" type="System.String" />

I then ran the web application. From what I've read, this should add a dynamically created class callled ProfileCommon, and the i should be able to access the profile properties like this:

Profile.Name = TextBox1.Text;

For some reason I can never access the properties created in the web.config using Profile.Name... The ProfileCommon class doesnt seem to be dynamically created.

I've tried this using VS 2008 express (.NET 3.5 sp 1) and VS 2010 Express (.NET 4)

Can anyone please tell me what im doing wrong?


User Profile Synchronization service seems to stop on its own accord. What's usually the cause?


I've noticed in several environments that the UPS service stops every now and then. All I can do is go an restart it in Central Administration, and it usually retains all synchronization connection settings and works fine again. I've been too busy to examine the cause though.

Does this happen for others as well? What is the usual cause for it to stop?

User Profile Synchronization error MOSS MA not found


Configuration User Profile Synchronization  step by step Configure profile synchronization (SharePoint Server 2010) http://technet.microsoft.com/en-us/library/ee721049%28office.14%29.aspx#section0 but get error "MOSS MA not found"

Infopath connection to User Profile Service


I have been following the examples on how to create a data connection to the MOSS User Profile Service and have run into a snag.  Specifically, I am trying to have the Infopath form pre-populate the name of the user who is currently logged in.The two good references I have found are:






I have tried both methids and run into the same problem. When I preview the form, I get nothing.  I ran a sniffer and here is what I get:


HTTP/1.1 401 Unauthorized..Content-Length: 1656..Content-Type: text/html..Server: Microsoft-IIS/6.0..WWW-Authenticate: Nego

User profile synchronization issue in SharePoint 2010 Enterprise


User profile is not getting sync.

We see warning events with following details each day before the schedule task starts.

"The credentials used for the account DC\soft.ac expired on 3/15/2008 1:20:42 AM, and need to be updated. If they are not updated, the system may stop working. The account is used by the following:

Farm Account

Microsoft SharePoint Foundation Sandboxed Code Service User Profile Synchronization Service etc..."

But the account is not expired.

Can anyone help?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend