Could we create a second User Profile Service Application ?

Yes you can but ,
If you have only one server in your farm you can use just one User Profile Service Application (UPA) in this server because the windows Service of User Profile Syncronization Service just configurable only one UPA. So if you have more than one sharepoint server in your farm for example 3 server;  you can create more than 3 UPA but you can only syncronize 3 of them.

For Another scenario, i assume that you have only one server and already provisioned one UPA and configured the syncronization connection. After adding second UPA as you know you can not able to add any Sycronization connection for Second UPA . But if you stop CA-> Services On Server -> User Profile Syncronization Service and restart it will prompt you to select UPA options mean you can change the relation for specific UPA . Still only one UPA can able to sync for one server.

 

 

 

 

 

 

Istanbul Sharepoint Summit 2011

Hello Everyone,

Istanbul Sharepoint Summit 2011 is starting at 6th of December .I will introduce 300 level “Developing and Managing SharePoint Solutions with Visual Studio ” session:

Want to know how to best take advantage of Visual Studio 2010′s built in support for SharePoint?  In this demo heavy session we will explore Visual Studio 2010’s tightly integrated SharePoint development tools.  You will see Visual Studio’s built in support for creating the most common customizations including custom web parts, event receivers, Workflows and more.  We will also see how Visual Studio’s ALM capabilities available in Visual Studio Ultimate and Team Foundation Server can be applied when working with SharePoint.

For more information about event please visit :
http://www.sharepointsummitistanbul.com/en/Pages/default.aspx

See you in the event :)

Create all users’ personal site via Powershell script – Sharepoint 2010

#PowerShell Script - Create All Users Personel Sites - SharePoint 2010 #The scripts is distributet "as-is." Use it on your own risk. 
#Add SharePoint PowerShell SnapIn if not already added if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) {
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
}

[Reflection.Assembly]::LoadWithPartialName("Microsoft.Office.Server")

$mysiteHostUrl = "http://my"
$personalSiteGlobalAdmin = "DOMAIN\padm"
$personalSiteGlobalAdminNot ="padm@bugrapostaci.com"
$personalSiteGlobalAdminDisplayName = "Personel Site admin"
$mysite = Get-SPSite $mysiteHostUrl

$context = [Microsoft.Office.Server.ServerContext]::GetContext($mysite)
$upm =  New-Object Microsoft.Office.Server.UserProfiles.UserProfileManager($context)

$AllProfiles = $upm.GetEnumerator()

foreach($profile in $AllProfiles)
{

    $DisplayName = $profile.DisplayName
    $AccountName = $profile[[Microsoft.Office.Server.UserProfiles.PropertyConstants]::AccountName].Value
       #Add your restrictions for users.        if($Accountname -like "YourDomain*")
       {
          if($profile.PersonalSite -eq $Null)
          {
               write-host "Creating personel site for ", $AccountName
               $profile.CreatePersonalSite()
               #Adding an extra admin for personel sites                $pweb = $profile.PersonalSite.OpenWeb()
               $pweb.AllUsers.Add($personalSiteGlobalAdmin,$personalSiteGlobalAdminNot,$personalSiteGlobalAdminDisplayName,$null);
               $padm= $pweb.AllUsers[$personalSiteGlobalAdmin];
               $padm.IsSiteAdmin = $true;
               $padm.Update();
               $pweb.Dispose();
               write-host "Personal Site Admin has assigned"
          }
          else
          {
               write-host $AccountName ," has already personel site"
          }
   }
}
$mysite.Dispose();

Problem with Security Update for Windows SharePoint Services 2007 (KB2493987), 64-bit Edition

After  kb2493987 installed unable to connect sharepoint sites getting error Service Unavailable.
Unable to run IIS application pools getting error.

Application pools stop when a request arrives with the following error in the system logs:
A process serving application pool terminated unexpectedly process exit code was 0xffffffff
Checked the IIS file versions and there are a lot of DLLs do not match SP2 version.
I have asked customer to re-install SP2 and it solved the issue.

After IIS working correctly this time sharepoint site getting error of  404 not found error.
First check DisableLoopbackCheck issue.

Don’t forget when a security updates patched  need to run configuration wizard until not to do so.

CAUSE
===================
kb2493987 Automatically instaled windows update.

SOLUTION
====================
net stop MSSQL$MICROSOFT##SSEE
net start MSSQL$MICROSOFT##SSEE
psconfig -cmd upgrade -inplace b2b -wait -force

For More Information:
http://support.microsoft.com/kb/2493987
http://blogs.technet.com/b/sbs/archive/2010/06/18/companyweb-and-sharepoint-central-admin-not-accessible-after-installing-kb983444.aspx
http://support.microsoft.com/kb/944267

Getting Process Monitor logs for MS Support services

 In this article i descibe how to get process monitor log for sending Microsoft Support Services .

1)      Download Process Monitor from this link and install it on your Client Machine.
http://technet.microsoft.com/en-us/sysinternals/bb896645

2)      Run Process Monitor. Please  dont define any filter. And select red rectangled options on screenshoot.

3)      Quickly reproduce the error or the issue as fast as possible.

4)      After that for saving please select File->Save and open save dialog window
Select “All events”
And for Format select “Native Process Monitor Format (PML)

5)      Upload the log files

NOTE: If you need to transfer these files to Microsoft File Services , please compress files in zip file. If zip file size is bigger than  5GB please spearate multiple files that lower than 5GB.

Follow

Get every new post delivered to your Inbox.