OK, so that explains the default site groups not being created - and it's 
definitely not a feature. :)

But these are custom groups that should be created via feature activation. Is 
there anything I can add to the code that would make this happen? Running with 
elevated permissions, impersonation, anything?

Regards,

Paul
Online Developer, ICT
CEO Sydney

From: [email protected] [mailto:[email protected]] On Behalf Of 
Michael Nemtsev
Sent: Friday, 13 November 2009 9:39 PM
To: 'ozMOSS'
Subject: RE: SharePoint Groups problem

That's not a bug, that's a feature :)
STSADM doesn't call the  SPWeb.CreateDefaultAssociatedGroups to create groups

See there  
http://stsadm.blogspot.com/2009/04/creating-default-site-groups-after.html


WBR,
Michael Nemtsev
www.sharepoint-sandbox.com<http://www.sharepoint-sandbox.com>

From: [email protected] [mailto:[email protected]] On Behalf Of 
Paul Noone
Sent: Friday, 13 November 2009 2:24 PM
To: ozMOSS
Subject: SharePoint Groups problem

Hi all,

I've recently identified a strange problem with the default site groups not 
being created when creating a new site through stsadm. Creating the site via 
Central Admin woks as expected.

Similarly if I activate a feature (which calls code to create groups) using 
stsadm, the groups are not created and I get a nasty site error. But activating 
it through the UI successfully creates the groups.

I'm running stsadm under my login and I'm also the site collection admin for 
the target sites.

It smells like a permission problem but as no errors get thrown I don't know 
where to start looking.

Regards,

Paul
Online Developer, ICT
CEO Sydney

_______________________________________________
ozmoss mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to