my code on feature activated is
public override void FeatureActivated(SPFeatureReceiverProperties properties)
{
using (SPSite SiteInUserContext = new SPSite((properties.Feature.Parent as SPWeb).Url))
{
using (SPWeb webInUserContext = SiteInUserContext.OpenWeb())
{
webInUserContext.AllowUnsafeUpdates = true;
SPFolder objFolder = webInUserContext.RootFolder;
objFolder.WelcomePage = "default.aspx";
objFolder.Update();
webInUserContext.AllowUnsafeUpdates = false;
}
}
}
Exception details is:

Note : This exception occurs only when set default page on feature activated or feature deactivated.
How to resolve this exception ?
Thanks

