New answers tagged web-application
You can try calling SQL using SPSecurity.RunWithElevatedPrivileges. It should execute as app pool account.
You aren't doing anything wrong, that is how it works in 2010. Site Pages is the document library holding the home page, it isn't a managed path. After creation, navigate to the default.aspx page and then in the Page ribbon tab, there is a button called Make Homepage. Click it, and default.aspx will be the new home page, like how it was in newly ...
Top 50 recent answers are included