In the page_load I have this code:
editor.Setting("security:ImageGalleryPath") = Server.MapPath("~/../articlePages/pictures")
editor.Setting("security:MediaGalleryPath") = Server.MapPath("~/../articlePages/media")
editor.Setting("security:FlashGalleryPath") = Server.MapPath("~/../articlePages/flash")
editor.Setting("security:TemplateGalleryPath") = Server.MapPath("~/../articlePages/templates")
Thank you