Error Creating User Profile Service

Dec 13, 2012 at 11:00 AM

Hi,

I am having issues with the UPS and am getting a strange error as seen below:

 - Waiting for User Profile Synchronization Service...Exception calling "SetSync
hronizationMachine" with "4" argument(s): "Operation
is not valid due to the current state of the object."
At C:\SP\AutoSPInstaller\AutoSPInstallerFunctions.ps1:2254 char:65
+                     $profileServiceApp.SetSynchronizationMachine <<<< ($env:C
OMPUTERNAME, $profileSyncService.Id, $farmAcct, (ConvertTo-PlainText $farmAcctP
WD))
    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : DotNetMethodException

--------------------------------------------------------------
 - Script halted!
 - Error Provisioning the User Profile Service Application

 

I am using SP1 and the June 2012 CU streamlined into the install, however this didn't seem to work until I included an extra bit of powershell discussed here.

Any help as to how to resolve this would be much appreciated.

Thanks

James

Dec 13, 2012 at 11:36 AM

If I bypass UPS I also get an issue with search. The error message also mentions something about an update conflict. Is it possible the problem lies in the CU streamlining?