Unknown's avatar

Posts by Simon Doy

I am an avid SharePoint enthusiast who works as an Independent SharePoint Consultant based in Leeds, United Kingdom. I am one of the organisers of the Yorkshire SharePoint User Group in the United Kingdom. I have been designing and building SharePoint solutions since 2006.

>Diskspace and STSADM Export command


>Had an issue today where I wanted to export a site from a live environment to a staging environment. So I thought thats fine, run stsadm -o export -url [yoursiteurl] -filename [backup_filename.bak] -version 3 and then import on the otherside.

However the command run for a while and then threw an exception out of disk space. I check the drive that I was creating the file on and it had 131Gb free.

After some investigation I could see that the c:\ drives free disk space was decreasing as the export command was run again.

To get around this I reset the %temp% and %tmp% variables to point to a temp directory on the disk with free space.

Re-ran the command and worked successfully this time! Something to think about and very dangerous if your disks ran out of space, particularly on the data or log drives! Fortunately the stsadm command seems to stop when there is less than 220Mb on the drive…

Hope thats useful to someone!
Simon

>Audiences and AD Security Groups


>When creating an audience it is possible to use the member of [name of security group] to define the members of the audience. This works quite well apart from a couple of gotchas.

Some of the menu items are restricted via audience and if a user is added to the security group which controls the audience membership then it takes a couple of additional steps for the user to be added into the audience.

These steps are:-

  • Perform an incremental profile import
  • from the SharePoint central admin server start a command prompt and change directory to your c:\program files\common files\web server extentions\12\bin folder
  • type “stsadm -o execadmsvcjobs”

This will update the membership details of the security group and then push out that information to each of the site collections. When experimenting with this, if the stsadm command was not run then the user interface menu item would not appear.

Cheers

Simon