Saturday, February 23, 2008

"Failure decompressing data from a cabinet file" Error while creating saving site as a template

This follows from my previous blog post. This error "Failure decompressing data from a cabinet file" can be avoided by using the stsadm command line tool of MOSS 2007 and using the "nofilecompression" attribute.For example to export a site template, you would use something like this:

  • stsadm.exe -o export -url http://intranet/test -includeusersecurity -nofilecompression -filename C:\backup

Once you finish your export use the stsadm import command with the same nofilecompression attribute. For example:

  • stsadm.exe -o import -url http://intranet/test -includeusersecurity -nofilecompression -filename C:\backup

7 comments:

  1. this saved my butt after the web front end export threw the compression error. Thanks!

    ReplyDelete
  2. thanks for the solution, but we canot use stsadm exportfor a list, is there any way to save a list as a template with nofilecompression parameter?

    ReplyDelete
  3. Anonymous12:58 am

    Test, smigrate.exe can make a backup of a list.. (google on smigrate.exe and you will find it)

    ReplyDelete
  4. Anonymous6:51 am

    Thank you thank you thank you!

    ReplyDelete