Re: Programmatic Subsite Creation
- From: "kkrellwi" <kkrellwi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 10 May 2005 06:21:04 -0700
I tried both ways and set the AllowUnsafeUpdates = true on the web. Strange
how I can create a top level site from anywhere, but fail with subsites.
Thanks for the info
"Nikander and Margriet Bruggeman" wrote:
> Hello,
>
> Also, make sure this code is executed within a HTTP POST, the update of the
> site database fails on a GET request.
>
> Kind regards,
> Nikander & Margriet Bruggeman
>
> > Hi,
> >
> > are you working with web parts or a web application?
> >
> > you need admin rights to create a subsite, and you (probably) need to
> > untighten your portal security trust level in web.config too.
> >
> > start by adding Full to trust in web.config and log in as an
> > administrator when running the application.
> >
> > if that doesnt help, you need to impersonate the admin user
> > programmaticly
> >
> > hope this helps
> > Anders
>
>
>
>
.
- References:
- Programmatic Subsite Creation
- From: kkrellwi
- Re: Programmatic Subsite Creation
- From: anders . rask
- Re: Programmatic Subsite Creation
- From: Nikander and Margriet Bruggeman
- Programmatic Subsite Creation
- Prev by Date: Re: Programmatic Subsite Creation
- Next by Date: Re: Read-only access to SPGlobalConfig without administrator rights
- Previous by thread: Re: Programmatic Subsite Creation
- Next by thread: Re: Programmatic Subsite Creation
- Index(es):