stp Vorlage ungültig… / stp template invalid…

Beim übertragen von Seitenvorlagen (STP) von einem SharePoint zu einem anderen (z.B. Entwicklungssystem auf Produktivsystem) kann es vorkommen, dass bei der Benutzung der Vorlage im Zielsystem die Fehlermeldung „Vorlage ist ungültig….“ auftaucht……

When transfering site templates (STP) from one SharePoint server to another (i.e. from test environment to productive environment) there might be an error message saying „template is invalid….“ when trying to use the copied template……

Die Fehlermeldung ist leider wenig aussagekräftig und auch die Analyse des Stack-Trace bringt wenig aufschlussreiches zu Tage.

Hilfreich ist die Benutzung des Tools „STPInspector“ von http://www.codeplex.com

Hier wird die Vorlage auf dem Zielsystem analysiert und Abhängigkeiten zu aktivierten Features angezeigt. Die Abhängigkeit von Features wird in den Seitenvorlagen abgelegt.

Wird auf dem Quellsystem beispielweise die MOSS Enterprise Edition eingesetzt, auf dem Zielsystem jedoch nur die Standard Edition, so kann die Vorlage auf dem Zielsystem ungültig sein, selbst die Vorlage selbst keinerlei Features aus der Enterprise Edition benutzt.

Sadly the error message contains not too much valuable information. Even analysing the stack-trace brings nothing more valuable to the surface.

The http://www.codeplex.com tool „STPInspector“ is very helpful in finding the source of the error.

It is analysing the template for dependencies to activated features from the source system. These dependencies are stored within the STP file.

If the source system is a MOSS Enterprise edition for example and the target is a MOSS standard edition the template can be invalid on the target system. Even if the template itself does not contain or use anything that needs énterprise features.

  

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert