How to create Site Collection in a specific content dateabase part 2

Published 29 September 08 12:07 PM

Following up on Thomas' post on how to create a site collection in a specific content database:

You can also use the STSADM command CreateSiteInNewDB

image

 

 

However this does not quite cut it. You would like to decide on which content database each time. To do that, you could use stsadm extensions. It will require some codewriting and testing, though. Luckily, a MVP, Gary Lapointe, has already made it for you. A "Create site in database" is available in his stsadm custom extension kit:

There are also other STSADM extensions available. If you have used or made one you would like to share, please send me an mail.

 

Please be aware that some of his extensions are made by use of reflection on MOSS assemblies, so take whaterever precautions you need in regard to this.

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

About Stian Kirkeberg

Stian Kirkeberg - Senior Consultant, Microsoft Consulting Services

This Blog

Syndication

Page view tracker