Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.
If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
You may also want to review the installation or upgrading documentation.
This is my system:
when I try to send a picture
[SecurityException: Richiesta di autorizzazione di tipo 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' non soddisfatta.] System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0 System.Security.CodeAccessPermission.Demand() +58 System.IO.Path.GetTempPath() +54 Brettle.Web.NeatUpload.FilesystemUploadStorageProvider.GetDefaultTempDirectory() +326 Brettle.Web.NeatUpload.FilesystemUploadStorageProvider.GetTempDirectory(NameValueCollection attrs) +631 Brettle.Web.NeatUpload.FilesystemUploadedFile.Initialize(FilesystemUploadStorageProvider provider, String controlUniqueID, String fileName, String contentType, UploadStorageConfig storageConfig) +77 Brettle.Web.NeatUpload.FilesystemUploadedFile..ctor(FilesystemUploadStorageProvider provider, String controlUniqueID, String fileName, String contentType, UploadStorageConfig storageConfig) +69 Brettle.Web.NeatUpload.FilesystemUploadStorageProvider.CreateUploadedFile(UploadContext context, String controlUniqueID, String fileName, String contentType, UploadStorageConfig storageConfig) +68 Brettle.Web.NeatUpload.FilesystemUploadStorageProvider.CreateUploadedFile(UploadContext context, String controlUniqueID, String fileName, String contentType) +53 Brettle.Web.NeatUpload.UploadStorage.CreateUploadedFile(UploadContext context, String controlUniqueID, String fileName, String contentType, UploadStorageConfig storageConfig) +128 Brettle.Web.NeatUpload.UploadStorage.ConvertToUploadedFile(String controlUniqueID, HttpPostedFile file) +462 Brettle.Web.NeatUpload.UploadModule.ConvertToUploadedFile(String controlUniqueID, HttpPostedFile file) +138 Brettle.Web.NeatUpload.FileControl.InitializeFiles() +623 Brettle.Web.NeatUpload.FileControl.get_Files() +37 Brettle.Web.NeatUpload.FileControl.OnUnload(EventArgs e) +56 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +252 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +188 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +188 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +188 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +188 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +188 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +188 System.Web.UI.Control.UnloadRecursive(Boolean dispose) +188 System.Web.UI.Page.UnloadRecursive(Boolean dispose) +23 System.Web.UI.Page.ProcessRequestCleanup() +43 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242 System.Web.UI.Page.ProcessRequest() +80 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.imagegallery_editimage_aspx.ProcessRequest(HttpContext context) +4 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
it off?
thanks Fabio :-)
Hi,
The problem is that NeatUpload does not work in Medium Trust hosting, so you need to comment out every place in Web.config that references NeatUpload. Be careful, if you make any typos or mistakes editing web.config it will cause other errors.
That is a very old version of mojoPortal.
Hope that helps,
Joe
Also make sure the /App_Data folder exists and is writable by the user that is the identity on the application pool.
This is the list of folders that I see from the file manager:
FolderGalleries GalleryImages htmlfragments htmltemplateimages index logos media GalleryImages 37 FullSizeImages Thumbnails WebImages 50 FullSizeImages Thumbnails WebImages 56 FullSizeImages Thumbnails WebImages 58 FullSizeImages Thumbnails WebImages 61 FullSizeImages Thumbnails WebImages 63 FullSizeImages Thumbnails WebImages SharedFiles History skins andreasviklund-02 andreasviklund-02-alt1 andreasviklund-04 artisteer-24flashclouds images artisteer-24headermenu images artisteer-24topmenu images artisteer-24verticalmenu1 images artisteer-24verticalmenu2 images artisteer-24verticalmenu3 images artisteer-greenlagoon images artisteer-swirly1 images dcarter-bluedesert dcarter-bluespring dcarter-businessone dcarter-orangesunset dcarter-sq2 dcarter-ticktockpro freecsstemplates-level2 graformix-orange i7media-2horizontalmenus jqueryui-1 jsavard-mojoportal mitchinson-business3 mitchinson-earthy mitchinson-earthy-alt1 mitchinson-golden printerfriendly ramblingsoul-5contentpanes ramblingsoul-tabular1 snop-plasticboy-reflection styleshout-citrusisland styleshout-coolwater styleshout-envision styleshout-refresh styleshout-techmania viktorpersson-thehobbit-alt1 systemfiles userfiles webstoreproductfiles webstoreproductpreviewfiles xml xsl
I then create the folder /App_Data ?
merry thanks Fabio
You will not be able to see it from file manager, /App_Data is a folder directly beneath the root of the web site
File Manager only shows folders beginning under /Data/Sites/[SiteID]
Ok thanks, I changed the permissions and now it only works when I load a picture asks me user and password ftp is no way to put them by default?
Thanks ....
a problem! I removed the image gallery then put it back now if I try to upload the image it gives me:
[DirectoryNotFoundException: Impossibile trovare una parte del percorso.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +7718597 System.IO.__Error.WinIOError() +33 System.IO.FileInfo.MoveTo(String destFileName) +214 Brettle.Web.NeatUpload.FilesystemUploadedFile.MoveTo(String path, MoveToOptions opts) +124 mojoPortal.Web.GalleryUI.BulkUploadPage.btnUpload_Click(Object sender, EventArgs e) +853 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
mmmmm..