Limitations in SharePoint 2010

Recently I stumbled upon browsing Technet over some tables of limitations of SharePoint 2010 which are good to know. Here are some of the most useful examples.

Web Application limits:

Limit Maximum value Limit type Notes
Content database 300 per Web application Supported With 300 content databases per Web application, end user operations such as navigating to the site or site collections are not affected. But administrative operations such as creating a new site collection will experience performance degradation. We recommend that you use Windows® PowerShell™ to manage the Web application when a large number of content databases are present, because the management interface becomes slow and difficult to navigate.
Zone 5 per Web application Boundary The number of zones defined for a farm is hard coded to 5. Zones include Default, Intranet, Extranet, Internet, and custom.
Managed path 20 per Web application Supported Managed paths are cached on the Web server, and CPU resources are used to process incoming requests against the managed path list. If you plan to exceed twenty managed paths in a given Web application, we recommend that you test for acceptable system performance.

Read the full post…

HowTo: Install SharePoint 2010 (Beta) on a domain controller

Die neuesten Beta Bits auf Microsoft Connect lassen sich zwar auf einem Domänen Controller installieren. Allerdings ist die Farm Option nicht mehr verfügbar. Das heisst, man kann den SharePoint 2010 Server nur noch in der Standalone Version installieren. Für Test- und Demoumgebungen wäre genau das aber wünschenswert. Mit einem kleinen Umweg geht es aber trotzdem:
1: Zuerst das von Connect heruntergeladene Installationsfile (.exe) auf dem Domänencontroller extrahieren. Dies geschieht durch den Befehl:
OfficeServer_none_ship_x64_de-de.exe /extract:c:\Install
2: Im erstellten Ordner befindet sich die Applikation „PrerequisiteInstaller.exe“. Mit diesem kann man die für SharePoint Server 2010 nötigen Bits auf dem Domänencontroller installieren.
3: Wenn das geschehen ist, sucht man ebenfalls in dem erstellten Ordner, den Ordner „Files“ und dort den Ordner „SetupFarm“. Darin befindet sich die Datei config.xml. Dieser Datei fügt man die eigene SharePoint 2010 Server Seriennummer hinzu.
4: Nun kann man den extrahierten Installer mit dieser Config-Datei ausführen:
setup.exe /config \Install\files\setupfarm\config.xml
Der Installer läuft nun durch bis man zum SharePoint Configuration Wizard kommt. Dabei wurde SharePoint Server 2010 Beta im Farmmodus installiert und konfiguriert.

The newest Beta Bits on Microsoft Connect can be installed on a domain controller, but the farm option won’t be available anymore. This means that you can just install SharePoint 2010 (Beta) as standalone. For test and demo environments it would be nice to install SharePoint 2010 on a domain controller in farm mode. This post shows, how this can be done.

1. Download the installation file from Microsoft Connect and extract the file (.exe) on the domain controller with the command:

OfficeServer_none_ship_x64_de-de.exe /extract:c:\Install

2. In the just created folder you can find the application “Prerequisiteinstaller.exe”. With this tool, you can install all the needed Bits for SharePoint Server 2010 on the domain controller.

3. When this is done, look for the folder “SetupFarm” in the created “Files” folder. There you can find the config.xml file where you need to insert your own SharePoint 2010 (Beta) serial number.

4. Now execute the installer with the config.xml as a parameter with this command:

setup.exe /config \Install\files\setupfarm\config.xml

The installer is now running until the SharePoint Configuration Wizard is being triggered. Now the SharePoint 2010 (Beta) Server has been installed in farm mode.

Reset passphrase in SharePoint 2010

Mit SharePoint 2010 wird neu eine Passphrase verausgesetzt. Eine Passphrase ist mit einem Kennwort vergleichbar, in der Regel aber länger, um die Sicherheit zu steigern. Damit werden die Anmeldeinformationen von Konten verschlüsselt, die in Sharepoint 2010 registriert sind.
Zum Beispiel beim Ausführen des Konfigurations-Assistenten zum hinzufügen einer neuen Rolle in die SharePoint Farm. Haben Sie die Passphrase vergessen bleibt nur die Möglichkeit diese zu reseten. Die Option Auslesen ist leider nicht vorhanden. Was auch verständlich ist da es sonst ein Sicherheitsloch wäre.
Technet empfiehlt darum folgenden Sicherheits-Kriterien beim Passwort zu erfüllen:
Passphrase besteht aus mindestens acht Zeichen
Passphrase enthält mindestens drei der folgenden vier Zeichengruppen:
Großbuchstaben (A bis Z)
Kleinbuchstaben (a bis z)
Nummernzeichen (0 bis 9)
Nicht alphabetische Zeichen (z. B. !, $, # oder %)
Zur Passphrase reseten öffnen Sie als Administrator im Startmenü die ”SharePoint 2010 Management Shell”. Folgende Kommandos sind nötig um die Passphrase zu reseten.

In SharePoint 2010 is new a passphrase needed. You can compare a passphrase with a password, but it is longer to raise security. With a passphrase, the account information which are registered in SharePoint 2010, are being encrypted.

An example: If you want to add a new role to your SharePoint farm through the configuration assisstant and you have forgot the passphrase, the only way to resolve this problem is to reset the passphrase. You cannot fetch the passphrase from somewhere else because of security reasons.

Technet recommends following security criterias while entering a passphrase:

  • Passphrase must be at least 8 digits
  • Passphrase contains at least three of the following character groups:
  • Capital letter (A to Z)
  • Letters (a to z)
  • Nummernzeichen (0 bis 9)
  • Non alphabetic characters (E.g. !, $, # oder %)

If you want to reset a passphrase open as an administrator the “SharePoint 2010 Management Shell”. Enter following commands to reset the passphrase:

  1. $passphrase = ConvertTo-SecureString -asPlainText -Force
  2. Insert new passphrase and accept with “Enter”
  3. Set-SPPassPhrase -PassPhrase $passphrase -Confirm
  4. Re-enter new passphrase and accpept with “Enter”
  5. Type Y (Yes) and “Enter”, now you have reseted your passphrase

SP 2010 Management shell

Installation of PDF iFilter in SharePoint 2010

PDF Dokumente werden mit der Installation von SharePoint 2010 immer noch nicht automatisch indexiert. Dazu braucht es von einem Drittanbieter einen PDF iFilter. Diese werden zum Beispiel von den Firmen Adobe, Foxit Corporation oder PDFlib GmbH angeboten. Ausser bei Adobe sind aber die iFilter kostenpflichtig und werden unterschiedlich nach Prozessorkernen oder einem Anzahl Server lizenziert.
Wie sieht es aber bei der Leistung aus? Einen guten Vergleich zwischen Adobe und Foxit habe ich bei Jie Li gefunden. Aus diesen Tests wird ersichtlich, dass Adobe für eine Testumgebung zwar ausreicht, bei einer produktiven Umgebung aber Foixit installiert werden sollte.
Bei der Installation unterscheiden sich die beiden aber nicht. Für meine Testumgebung und die Beschreibung dieses Artikels verwende ich daher aus kostengründen den Adobe PDF iFilter.
Für die Step by Step Installation folgen Sie den aufgeführten Punkten.
1. Download 64 Bit Adobe PDF iFilter
2. Installieren von PDFiFilter64installer.zip
3. PDF Icon 17 x 17 downloaden und in folgendes Verzeichnis “Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Images” mit folgendem Namen pdficon_small.gif kopieren.
4. Auf allen Webfrontend Server das File DOCICON.XML, welches im Verzeichnis “Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\XML\” liegt, mit dem Notepad öffnen
5. Bei der Sektion <ByExtension> um folgenden Zeile <Mapping Key=”pdf” Value=”pdficon_small.gif”/> ergänzen

PDF documents are still not being indexed by default in SharePoint 2010. If you want to do so, you need to have a 3rd party PDF iFilter configured. This post tells about, how to do that. You can get PDF iFilter from different providers like Adobe, Foxit Corporation or PDFlib Corporation. Adobe offers a free license all other providers are being licensed according number of CPU cores or number of servers.

Well how about the performance? I have found a good comparism between Adobe and Foxit made by Jie Li. According these test you can see that Adobe is sufficient for a testenvironment but is not enough for a productive environment. For that the installation of the Foxit PDF iFilter is recommended.

For the iFilter installation and configuration can be followed similar steps. For this testenvironment and creating this article I have used the Adobe PDF iFilter to save costs. :-)

Follow these instructions step by step to install your PDF iFilter.

1. Download 64 Bit Adobe PDF iFilter

2. Install PDFiFilter64installer.zip

3. Download PDF Icon 17 x 17 and copy to this directory “Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\Images” with the name “pdficon_small.gif”

4. Open on all Webfrontend servers the file DOCICON.XML with a texteditor, which you can find in the directory “Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Template\XML\”

5. Add in the section <ByExtension> this entry <Mapping Key=”pdf” Value=”pdficon_small.gif”/>

Docicon

6. Save and close DOCICON.XML

7. Execute iisreset -force in the command shell.

8. Add the PDF extension in the Central Administration. Central Administration => Application Management=> Manage service application => Search Service Application => Choose in the left navigation “File Types” => New File Type => Enter PDF and accept with OK.

9. At the indexing server, execute in the command shell the commands net stop osearch14 to stop and net start osearch14 to restart the search services.

10. At last start the full crawl and check the LOGS.

HowTo: Migrate from Office SharePoint Server 2007 to SharePoint 2010 (Beta)

During this week we have studied a lot about SharePoint migration. This is already now a very hot topic at our customers. We have migrated an Office SharePoint Server 2007 environment to SharePoint Server 2010 (Beta). In this article we’d like to describe what we have done, what kind of environment we have used and would also like to write some words about the whole migration process in a short summary.

Environments

Server OS Role Database Application version Language Language-packs Solutions
Windows Server 2003 (32Bit) Active Directory, DNS und DHCP SQL Server 2005 SP3 Office Sharepoint 2007 SP2 English German SharePoint Tool Basket (http://sptoolbasket.codeplex.com)Communitiy Kit(http://cks.codeplex.com)
Windows Server 2008 (64 Bit) SQL Server 2008 SP1 (CU2 for SQL Server 2008 SP1) Office SharePoint 2010 Beta English German SharePoint Tool Basket (http://sptoolbasket.codeplex.com)Communitiy Kit(http://cks.codeplex.com)

Both SharePoint environments are running virtualized on the product Virtual Box from Sun, which has got a free license and therefore it can be used without any costs. As a host system we have used a Windows 7 64 Bit Ultimate with 6 GB RAM.

Read the full post…

SharePoint Server 2010 – Terms and keywords

With the SharePoint 2010 Server, Microsoft has offered some cool new features for Enterprise Content Management. In the language of SharePoint Server we speak about the “Managed Metadata Service”. This service offers you the control and the management of metadata and content types within the SharePoint farm. With this new servicemodell you can breach the boundaries between “webs”, “sites” and even between “farms”. This leads to a common view of your data in the whole enterprise. Every team can have different taxonomies in their own space, even using the same content types or metadata keywords. This makes the organisation of data easier and of course also the the Search of data within the whole datarepository.

SharePoint Server 2010 Beta – Multi language metadata terms

As soon as you have installed a second language pack on the SharePoint Server 2010, you can change the language dynamically on the fly while browsing your site. Well now you should be also able to translate the terms and keywords to the chosen language. Unfortunately the additional language is not yet available in the “Term Store Management Tool”.

metadata_terms_translate_01

That you can choose the new installed language you need to add on the root level (Managed Metadata Service) a “Term Store Administrator”.

Metadata terms translate 02

As soon you have this done, you can choose the installed language and the Terms can be translated

The Artefact „i:0#.w|“ might be some Beta-thing. Some similar artefacts like (c:0(.sltrue) appear also elsewhere in connection with authentificated users.

Fix error in User Profile Sync Setup in SharePoint Server 2010 Beta

One of the most irritating SharePoint 2010 Beta 2 bugs are the missing MySites. To fix this bug you need to troubleshoot in two here described steps. First you need to fix a bug in the profile-import and afterwards a bug in the MySite settings. To fix these bugs are several steps to do needed, therefore I have devided this blogpost into two articles. This article is just about fixing the bug of the user profile import and synchronization.

HowTo: Activate MySites in SharePoint 2010 Beta

If you click in SharePoint Server 2010 Beta on the personal menu, the MySite will not be displayed. Also the “I like it” button is missing (what we have seen in the technical preview of SharePoint Server 2010).

mysite_2

Um die My Site und die damit zusammenhängenden Social Media Funktionen (Tags, I like it) zum laufen zu bringen, muss zuerst der Profil Import konfiguriert werden. Wie das in der SharePoint Server 2010 Beta gemacht wird, erläutere ich in diesem Blogpost. Wenn das erledigt ist, kann man sich an die My Site machen. Diese scheint in der aktuellen Beta ein bisschen arg verschoben zu sein. Die groben Schritte sind:
Einen neuen MySite Host anlegen und konfigurieren.
Den „User Profile Service“ der aktuellen Web Application zuweisen
1: Als erstes muss man einen neuen My Site Host anlegen. Dies geschieht in etwa analog dem Prozess wie er unter SharePoint Server 2007 gemacht wurde. In der Central Administration geht man zu Application Management – Manage web applications. Dort wählt man seine Web Application aus und wählt im Ribbon „Managed Path“.

To get the MySite and the Social Media functions (Tags, I like it) of SharePoint 2010 up and running, you need to configure the profile import first. How this is being done, I describe in this blogpost. If you have the profile import running, you can start to care about your MySites. Somehow the MySites seems to be a bit off the scale in this Beta :-) .

Here are the steps what needs to be done:

  • Create and configure a new MySite host
  • Assign the “User Profile Service” to the actual web application

1: First you need to create a new MySite host. This happens quite in the similar way how it has been done in SharePoint Server 2007. In the Central Administratio go to Application Management – Manage web applications. Here you choose your Web Application and choose in the Ribbon “Managed Path”.

mysite_3

Here you define two “managed path”. For “MySite” you create an “Explicit inclusion” path. For the path “personal” you create a “Wildcard inclusion”.

mysite_4

2: After you have done this, go back to Application Managemet. Choose now from there Site Collections – Create site collection. The page to create a new site will now be opened. The name of the site does not matter (e.g. mysitehost). Under “Web Site Address” you need to choose “mysite” (as defined in step 1). As a template you choos in the “Enterprise” tab, “My Site Host”.

3: Now you need to fix in the MySite configuration a small beta bug and add the new MySite host there. To do this navigate to Central Administration – Application Management – Manage service application – User Profile Service Application and there MySite Settings – Setup MySite.

In the MySite configuration you change the entries “MySiteHost” to “http://server1:80/mysite” and “Personal Site Locatin” to “personal”. At the same time you can delete the cryptic user on the “Read Permission Level”, that just your SharePoint Admin User Account or similar appears.

mysite_5
4: As you can see in step 3, MySite is is running over the “User Profile Service” in SharePoint Server 2010. This service tough is not assigned to the web application in this beta version. To actually do this you need to return to the configuration of your web application. In the Central Administration go to Application Management – Manage web applications. There choose your web application and choose in the Ribbon “Service Connections”.

In the now appearing window you can see that the “User Profile Service Application” is not selected. Because the checkbox is not activated you can not choose this option yet. To do so you must first choose “custom” on top of the page and after that you can choose all services manual.

mysite_6
5: If you now browse to your SharePoint portal site, you can see the already the Social Media functions appearing in the Ribbon-Bar. Aditionally you can see the MySite in the personal menu. The MySite will be created immediately as soon as you click on the link.