Layer2 - Community

Layer2 SharePoint Blog

Hier bloggen Mitarbeiterinnen und Mitarbeiter von Layer2, die SharePoint Experten aus Hamburg zu Ihren täglichen Erfahrungen, Problemen und Lösungen im Zusammenhang mit Microsoft SharePoint Technologie, d.h. Microsoft Windows Sharepoint Services 3.0 (WSS) und Microsoft Office SharePoint Server 2007 (MOSS). Natürlich kommen auch die neuen Leistungsmerkmale der Microsoft SharePoint Foundation 2010 und Microsoft SharePoint Server 2010 nicht zu kurz.

SharePoint Fehler bei Feature-Upgrade: "non-existent or brocken web"   

Beim Upgrade eines Web-Features kann es in SharePoint zu folgender Fehlermeldung kommen:

fehler-bei-feature-upgrade_03_01.png
Unable to access web scoped feature (Id: <Feature-Id>) because it references a non-existent or broken web (Id: <Web-Id>) on site <SiteCollectionUrl>.

 

Dieser Artikel beschreibt, wie es zu diesem Fehler kommt und wie dieser behoben werden kann.

 

Voraussetzungen:

1. Als Grundlage habe ich eine Visual Studio Solution, welches ein einfaches Web-Feature bereitstellt.

2. Das in Schritt 1 bereitgestellte Web-Feature wird nun ebenfalls mittels Visual-Studio Solution mit einer Upgrade-Action erweitert. Um das Feature-Upgrade durchzuführen, bediene ich mich dem "SharePoint 2010 Feature Upgrade Kit" (siehe Quelle 1). Die Installation und Durchführung wird auf der Produktseite ausführlich beschrieben.

 

Das Upgrade des Features in der SharePoint-Oberfläche sieht folgendermaßen aus:

fehler-bei-feature-upgrade_01.png

Mittels PowerShell gibt es ein einfaches Cmdlet, um das Upgrade durchzuführen:

Upgrade-SPFeatures -Scope Web -Site "http://l2dev2010:50000"​
 

 

Erwartetes Ergebnis:

Das erwartete Ergebnis sieht folgendermaßen aus:

fehler-bei-feature-upgrade_02_01.png
Mittels PowerShell ist folgendes Ergebnis zu erwarten:

fehler-bei-feature-upgrade_02_02.png


Wieso tritt der oben beschriebene Fehler auf?

Der Fehler tritt auf, weil in jedem Web, welches in der SiteCollection vorhanden ist, die Upgrade-Action ausgeführt werden soll. Nun kann es vorkommen, dass gelöschte Webs im Papierkorb vorhanden sind. Diese Webs im Papierkorb erzeugen diese Fehlermeldung, da die Upgrade-Action hier nicht durchgeführt werden kann.


Der Papierkorb ist unter folgender Url einzusehen:
http://<Sitecollection-Url>/_layouts/recyclebin.aspx


Leert man nun den Papierkorb, so wird der Inhalt aber nicht vollständig entfernt. Es gibt noch den Admin Papierkorb, in welchem sich Inhalte befinden können, welche die Upgrade-Action verhindern. Einzusehen ist dieser unter:
http://<Sitecollection-Url>/_layouts/adminrecyclebin.aspx

fehler-bei-feature-upgrade_04.png


Erst wenn auch in diesem Papierkorb alle Webs entfernt wurden kann das Upgrade ohne Fehlermeldung durchgeführt werden.
 
 

 

Quellen:
1: SharePoint 2010 Feature Upgrade Kit, http://spfeatureupgrade.codeplex.com/


 

Kategorien: Entwicklung
Technorati Tags:
Erstellt von  Mike Würfel  am  25.01.2012
9  Kommentare  |  Trackback Url  | 0  Links auf diesen Beitrag
Diesen Beitrag zu Favoriten hinzufügen:        
 

Kommentare


ip adres  Kommentiert am  Mittwoch, 7. März 2012  10:30 
Buy essay online College term papers.


Dami  Kommentiert am  Samstag, 31. März 2012  16:18 
Any success with Sharepoint Accessibility Kit? We have tried to nsatill it but it crashed the server.Hence we are still INaccessible for our blind users etc.Can anybody help with experience with nsatilling Sharepoint Accessibility Kit?TIA EV


viagra  Kommentiert am  Sonntag, 1. April 2012  04:56 
Any success with Sharepoint Accessibility Kit? We have tried to install it but it crashed the server.Hence we are still INaccessible for our blind users etc.Can anybody help with experience with installing Sharepoint Accessibility Kit?TIA EV



mail order viagra  Kommentiert am  Mittwoch, 4. April 2012  09:42 
Originally, a version of Windows codenamed Blackcomb was planned as the successor to Windows XP and Windows Server 2003. Major features were planned for Blackcomb, including an emphasis on searching and querying data and an advanced storage system named WinFS to enable such scenarios. However, an interim, minor release, codenamed &quot;Longhorn&quot; was announced for 2003, delaying the development of Blackcomb.By the middle of 2003, however, Longhorn had acquired some of the features originally intended for Blackcomb. After three major viruses exploited flaws in Windows operating systems within a short time period in 2003, Microsoft changed its development priorities, putting some of Longhorn&#8217;s major development work on hold while developing new service packs for Windows XP and Windows Server 2003.



auto insurance quotes  Kommentiert am  Sonntag, 8. April 2012  08:59 
- full version means you don&#8217;t need any previous version of Microsoft Office Small Business- upgrade version means you need an OLDER FULL VERSION of Microsoft Office Small Business (for instance, you already had version 2002 on your system, now you need version 2003 , you can buy upgrade of version 2003)*upgrade version is always cheaper than full one.References :



auto insurance quotes  Kommentiert am  Mittwoch, 11. April 2012  03:04 
Gonna pick up some cheap OEM licenses of XP or 2000 of eBay and upgrade using those. Going to upgrade my main machine before moving to Windows 7 to avoid any OEM hassles. Quad core with 4-8gb of ram should be good enough for a while.



best life insurance  Kommentiert am  Freitag, 20. April 2012  06:06 
I went through some of your videos over youtube and found them very informative and educational. I have kick started the process of learning InfoPath forms and integrating them with sharepoint workflow using your youtube videos.Thanks for all the hard work. Will keep watching more and keep learning .Brijesh



mobile home insurance  Kommentiert am  Montag, 23. April 2012  09:11 
I&#8217;m currently in the process of upgrading my home PC to Windows Seven. Thanks for your post! BTW, can you please send me an email address that I can use to contact you? Thanks.



florida home owners insurance  Kommentiert am  Dienstag, 1. Mai 2012  06:05 
installation and troubleshooting guide Part 1. It was awesome and I was able to achieve the result. I was really looking forward to configure the Chrisholm codeplex webpart but could not find anywhere your post for the same. I however tried to configure it using the documentation available on codeplex but was not successful in my attempt. Can you please guide me as to how to configure the same. Its a very critical functionality for me. Your help will be highly appreciated.Thanks,Geetanjali


Ihr Kommentar:

CAPTCHA Image Validation


Sie wollen einen Blick hinter die Kulissen von Microsoft SharePoint werfen? Interessieren sich dafür, was Layer2 Mitarbeiter täglich dazulernen? Dann nehmen Sie sich Zeit für unseren Teamblog.

Microsoft Partner

 

Powered By Microsoft Office SharePoint Server 2010

 

Cloud Accelerate Partner