Welcome to TechNet Blogs Sign in | Join | Help

The June cumulative update for WSS V3 and MOSS 2007 has been released yesterday

As discussed by the Office Sustained Engineering group cumulative updates for all Office Products including WSS 3.0 and SharePoint 2007 will be released every second month.

Yesterday we released the so called June Cumulative Update. The so called "Uber" packages for MOSS will be released in a couple of days. Currently you can download the individual global and localized fixes for your specific language packs.

This is the second Post-SP2 hotfix! That means it is highly recommended to install Service Pack 2 before installing the June CU.

As usual you can find the details about the fixes and the download locations on the blog my colleague Joerg Sinemus published:

http://blogs.msdn.com/joerg_sinemus/archive/2009/07/01/moss-and-wss-june-cu.aspx

Hotfix for SP2 issue that reverts SharePoint products to Trial Version has been released

Microsoft has released a fix for the SP2 problem that reverts the license into a Trial version after installing Service Pack 2.

More details can be found in the following KB article:

971620 - When you install the 2007 Microsoft Office servers Service Pack 2, the product expiration date is activated incorrectly

For your convenience here are the download links for the fix:

[Update June 26th] Additional info from SharePoint Team blog: We will be updating the existing Service Pack 2 download package with a new package that includes this fix within the next 4-6 weeks.

Silverlight web application explaining all STSADM commands is now live

Technet now hosts a technical reference for the available STSADM commands based on Silverlight. Beside a view that shows all the commands you can choose a view that only displays commands new in SP1 or SP2 or commands that offer operations which are not available in the UI.

You can also change the view between operations view properties view.

Check it out at

Posted by Stefan_Gossner | 3 Comments
Filed under:

Limitations of STSADM -o export/import related to publishing sites

STSADM -o export/import is often used to split site collections into multiple pieces when they reached a certain limit. Or to do the vice versa and consolidate multiple site collections into one larger one. Both of these actions work fine as long as the migrated content does not use the publishing feature.

For site collections that make use of the publishing feature it is not supported to migrate root sites into sub sites or sub sites into root sites.

The reason for this limitation is that the publishing feature stores vital information like page layouts but also various properties like information about variation, reusable content and so on in the root site of a site collection.

When migrating a root site into a subsite the imported content will link to the new location of the previous root site. E.g. the page layout URLs will afterwards point to the page layouts library in the sub site and not of the root site which does not work as the publishing feature requires these items to be in the root site. So additional actions like moving the page layouts to the root site and adjusting all page layout urls would be required. Similar things would be required for variations and reusable content.

On the other hand when migrating a sub site to a root site it gets even worse: in this situation important content which was stored in the root site of the site collection is no longer available as the sub site does not contain the necessary information as they haven't been exported in the first place. So after importing the subsite as new root site items based on the publishing feature will be non functional.

Be aware that this limitation will also affect sites with custom features which store information outside the current site.

Valid migration scenarios when using the publishing feature are the following:

  • export the site collection starting at the root site and import as root site into a new site collection
    (using a custom application you can specify which sub sites to export if you would like to avoid to export all of them)
  • export sub sites of the site collection and import them as sub sites into an existing site collection that has the publishing feature enabled

SharePoint Portal Server 2003 (SPS 2003) and IE 8

We recently received a couple of questions regarding support for SPS 2003 and IE 8.

The supported browsers for SPS 2003 are listed on the following page:
http://office.microsoft.com/en-us/techcenter/HA011605151033.aspx?pid=CH011719821033

As mainstream support for SPS 2003 has already ended it is unlikely that support for additional browsers will be added to the product.

If support for IE 8 is required customers are asked to upgrade to MOSS 2007 with SP2 or higher.

SharePoint application pool hang on servers where Visual Studio has been installed in the past (last updated: May 27th, 2009)

We recently had a couple of SharePoint support cases where customers reported hangs. When we analyzed user dumps of the affected processes we noticed that the application pool was in the process of recycling due to an exception that has caused the application pool to fail.

Unfortunatelly the recycling never finished - instead a message box was generated by .NET framework asking if the user would like to continue (which would allow recycle to perform) or to attach a debugger.

The problem here is that the message box was not displayed on the Console but invisible as the w3wp.exe process does not interact with desktop. Even if this option would be enabled it would be an undesireable result as usually no user sits in front of the SharePoint server waiting for such a message box to appear.

After collaborating with our colleagues from the .NET framework support team we identified that the root cause for the issue was a registry key which was set when installing Visual Studio on the machine. Even if Visual Studio is uninstalled later this registry key is not removed. This registry key allows developers to attach the debugger to a failing process right before it terminates by bringing up this message box.

The details of this registry key is explained here:

We also found that Microsoft has already an official guidance on how to clean up this after uninstalling Visual Studio:


After Visual Studio is installed on a server, the default behavior when an unhandled exception occurs is to show an Exception dialog that requires user intervention to either start Just-In-Time debugging or ignore the exception. This may be undesirable for unattended operation. To configure the server to no longer show a dialog when an unhandled exception occurs (the default behavior prior to installing Visual Studio), use the registry editor to delete the following registry keys:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\DbgManagedDebugger

On a 64-bit operating system also delete the following registry keys:

  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\AeDebug\Debugger
  • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\DbgManagedDebugger

(see here for more details)
 

In case you ever had Visual Studio installed on one of your production servers, please be sure to check these registry keys and remove them to prevent this problem.

[Update from May 27th, 2009] I just got informed that the same registry key is created during the installation of the .NET Framework 2.0 SDK. So the same steps apply if this SDK has been installed on the server in the past.

Posted by Stefan_Gossner | 3 Comments
Filed under:

Attention: Important Information on Service Pack 2

We have recently discovered a bug with Service Pack 2 (SP2) that affects all customers that have deployed it for SharePoint Server 2007. 

During the installation of SP2, a product expiration date is improperly activated. This means SharePoint will expire as though it was a trial installation 180 days after SP2 is deployed. The activation of the expiration date will not affect the normal function of SharePoint up until the expiration date passes. Furthermore, product expiration 180 days after SP2 installation will not affect customer’s data, configuration or application code but will render SharePoint inaccessible for end-users.

We are working to release a hotfix to automatically fix this issue. A manual work-around is currently available and involves customers re-entering their Product ID number (PID) on the Convert License Type page in Central Administration.  For more information and detailed steps please read this KB article. (The KB link is not currently active, it will be available within the next 48hrs)

Read more on the official SharePoint Team blog:

http://blogs.msdn.com/sharepoint/archive/2009/05/21/attention-important-information-on-service-pack-2.aspx

Uber packages for April CU for MOSS 2007 has been released yesterday

Finally also the Uber package for MOSS has been released which simplifies the patching process for MOSS 2007 to April CU.

More details on the SharePoint Team blog:
http://blogs.msdn.com/sharepoint/archive/2009/05/13/april-cumulative-update-packages-ready-for-download.aspx

FAQ concerning WSS 3.0 and MOSS SP2 and the April 2009 Cumulative Updates

Many of our customers have questions on the relationship between the set of hotfixes released in the Cumulative Updates (CU) for April 2009 and Service Pack 2 (SP2) for the 2007 Microsoft Office System and Microsoft Office servers. This post from the Office Sustained Engineering Team will aim at answering those questions.

Where to look for information about Updates for SharePoint?

We often receive questions about how to install Service Packs or patches, about which patches are available, what they include and so on.

Microsoft has a central page available that covers all kind of Updates topics:

Technet article on how to troubleshoot Content Deployment has been released

Many of you might know the Content Deployment - Best Practices article I have written a while ago. Together with the product group I have been working on releasing the troubleshooting tips I have given in this blog article on Technet. I'm proud to anounce that this has now been completed.

You can now find official guidance on this in the following new and updated articles:

MOSS 2007 SP2 - a must have for everyone who uses Variations on his site

The Variations feature uses one specific list to link items in the different labels together: the Relationships List.

The caveat is that as soon as an inconsistency exists in this list Variations will no longer work correctly. The problems that can occur can vary. Sometimes it is no longer possible to create a new variation for a page in a label. Sometimes the autospawn feature will fail to create variations of new sites.

As soon as you have a certain amount of sites and pages in your variation system this list becomes more or less unmanagable through the UI as everything is stored in this list in a flat format without folders.

In the past I have worked on several support cases where customers reported issue with Variations which ended up as inconsistencies in the Relationsships List.

Long awaited and finally shipped in SP2 is now a new STSADM command which allows to analyze and fix the Relationships List:

stsadm -o variationsfixuptool
   -url <source variation site URL>
   [-scan]
   [-recurse]
   [-label]
   [-fix]
   [-spawn]
   [-showrunningjobs]  

The granularity of what can be done is pretty good. E.g. it is possible to fix issues just for one specific site in the source variation label. Or for a specific site and all it's subsites.

You can find more details about this tool and all it's parameters in the following Technet article:
http://technet.microsoft.com/en-us/library/dd789658.aspx

MOSS 2007 Blob caching and it's limitations

A really nice new feature coming with MOSS 2007 is blob caching. A similar feature existed in MCMS 2002 was a predecessor of the WCM layer in MOSS 2007.

Blob caching allows caching of binary objects like images, style sheets and documents on the MOSS front end server machine which heavily reduces the traffic to the SQL backend server as each file has to be downloaded only once to the blob cache per frontend server.

The benefit is that although the items are now retrieved from the MOSS 2007 frontend server the same security and versioning capabilities exist as if the file would only live in the SQL backend database. The blob cache mechanism also ensures that an item in the cache is invalided as soon as the file changes in the backend database. So that is different from other file caches like proxy servers and browser caches.

To enable blob caching you need to modify only one line in the web.config file:

<BlobCache location="C:\blobCache" path="\.(gif|jpg|png|css|js)$" maxSize="10" enabled="false"/>

Just change the false in the enabled attribute to true and update the location attribute to point to a location where sufficient disk space is available. For best performance ensure to set the maxSize attribute to a value that is at least as big as all binary objects in your Web Application.

You can control which file types are cached by modifying the file extension list in the path attribute.

Responsible for the processing of the disk caching logic is the following entry in HttpModules section of the web.config file:

<add name="PublishingHttpModule" type="Microsoft.SharePoint.Publishing.PublishingHttpModule, Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" />

This HttpModule implements the required logic that decides whether a file can be served from the disk cache or if it has to be retrieved from the backend database.

Important to know is that even that this HttpModule is located in the WCM Publishing namespace you its functionality is not limited to publishing sites. Other site collection types like team sites can also use this functionality.

Limitations of Blob Caching

1) Blob caching does not support web gardening

One major limitation is that blob caching should not be used with web gardening. The reason is that each process requires exclusive access to it's instance of the blob cache. That means that only one worker process can access a single instance of the blob cache. Web Gardening means that multiple worker processes serve content for the same application pool. Only the first process of a web garden will then benefit from blob caching which would mean that web gardening would cause negative impact on the overall performance.

2) Blob caching cannot be used with host named site collections

The blob caching engine uses the server relative path to decide if an item in the cache belongs to a URL or not. With host named site collections an additional criteria come into play: the "host" http header. The blob cache engine on the other hand is not aware about host named site collections. That means if you have two site collections with items that have the same server relative URL (e.g. items in the style library) but are different the item that was first hit gets cached and served for all other host named site collections as well.

3) A cached item is only available in one frontend server

The blob cache is a per server cache. That means if an item has been cached on server 1 and the next request for the same item hits server 2 then the item has to downloaded again to the second frontend server. That means the load on a SQL backend server can be higher in the startup phase if multiple frontend servers exist as the same item might have to be downloaded multiple times to the different frontend servers.

 

Posted by Stefan_Gossner | 5 Comments
Filed under:

Red is Green, Up is Down and the Unsupported suddenly becomes Supported!

As I discussed in an earlier article backup/restore between farms for publishing sites was unsupported due to the fact that MOSS often stores absolute URLs to the Page Layout in the properties of a Publishing Page. Workarounds had to be used to adjust the incorrect URL after a restore to ensure that no exceptions occurred.

The good news is: due to the large number of customers requesting this feature Microsoft has decided to modify SharePoint in a way that it is now able to properly handle this situation!

Starting with the April Cumulative Update SharePoint now officially supports backup/restore operations for publishing sites between different farms!

Please ensure to have SP2 installed before installing the April CU as this is the only way to guarantee that all recent changes to SharePoint are available on your farm.

The April cumulative update for WSS V3 and MOSS 2007 has been released yesterday

As discussed by the Office Sustained Engineering group cumulative updates for all Office Products including WSS 3.0 and SharePoint 2007 will be released every second month.

Yesterday we released the so called April Cumulative Update. The so called "Uber" packages for MOSS will be released in a couple of days. Currently you can download the individual global and localized fixes for your specific language packs.

Be aware that this is the first Post-SP2 hotfix! That means it is highly recommended to install Service Pack 2 before installing the April CU.

Details and download locations can be found in the blog my colleague Joerg Sinemus published:

http://blogs.msdn.com/joerg_sinemus/archive/2009/05/01/should-i-install-sp2-and-or-april-cu.aspx

 

More Posts Next page »
 
Page view tracker