File Manager

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/20/2008 8:49:21 PM
Gravatar
Total Posts 15

File Manager

My site is hosted on goDaddy.  When I click the File Manager link in Administration Menu, it errors out.  When I click the browser back button and click the File Manager link again, it works (loads the file manager page).  I will need to get the error detail next time.

9/22/2008 6:33:36 AM
Gravatar
Total Posts 18439

Re: File Manager

Go to Site Settings > System Log

Clear the log

Now go back to File Manager and cause the error.

Now go look in the log and post the error message.

Once we can see the error we may be able to help.

Best,

Joe

9/22/2008 6:59:21 PM
Gravatar
Total Posts 15

Re: File Manager

I am unable to replicate the error now (will keep an eye on it).  But now once in File Manager and I click on one of the folder buttons ie. skins, I get this error on error.htm but nothing is showing in the log.

We're sorry but a server error has occurred while trying to process your request.

The error has been logged and will be reviewed by our staff as soon as possible. It is possible that the error was just a momentary hiccup and you may wish to use the back button and try again or go back to the home page.
 

I wonder if the Data folder permissions got reset when I upgraded to 2.2.7.3

On a side note, to do an upgrade involved 30K plus pages upload! Wow!  Took forever with FileZilla.  I did Unleash It once before and remembered that didn't take as long.  Forgot to do it for this upgrade.  I work with source and svn even though I have not had the time to do any custom development.  Still learning the framework.

Thanks.

9/22/2008 7:32:36 PM
Gravatar
Total Posts 15

Re: File Manager

This is now in the log -

2008-09-22 13:41:54,971 [5] INFO mojoPortal.Web.Global [2008-09-22 13:41:55,002 [5] ERROR mojoPortal.Web.Global [2008-09-22 13:42:36,720 [1] ERROR mojoPortal.Business.SiteSettings [2008-09-22 13:43:16,766 [1] ERROR mojoPortal.Web.mojoBasePage [2008-09-22 13:43:17,001 [1] ERROR mojoPortal.Web.Global [2008-09-22 14:13:59,872 [5] INFO mojoPortal.Web.WebTaskManager [2008-09-22 14:13:59,997 [7] INFO mojoPortal.Web.WebTaskManager [2008-09-22 14:14:00,059 [7] INFO mojoPortal.Business.WebHelpers.IndexWriterTask [2008-09-22 14:14:00,075 [5] INFO mojoPortal.Business.WebHelpers.IndexWriterTask [2008-09-22 14:14:02,278 [7] INFO mojoPortal.Business.WebHelpers.IndexWriterTask [2008-09-22 14:14:15,090 [5] INFO mojoPortal.Web.WebTaskManager [2008-09-22 16:47:43,773 [1] ERROR mojoPortal.Web.mojoBasePage [2008-09-22 16:47:43,804 [1] ERROR mojoPortal.Web.Global [2008-09-22 16:48:12,850 [1] ERROR mojoPortal.Web.mojoBasePage [2008-09-22 16:48:12,866 [1] ERROR mojoPortal.Web.Global [2008-09-22 16:50:50,566 [5] ERROR mojoPortal.Web.mojoBasePage [2008-09-22 16:50:50,582 [5] ERROR mojoPortal.Web.Global [2008-09-22 16:52:59,251 [5] INFO mojoPortal.Web.Global [

9/23/2008 1:09:07 PM
Gravatar
Total Posts 18439

Re: File Manager

There is no error detail in what you posted and some of what you posted is info not errors. Nothing in what you posted shows any connection with file manager. If you are still having trouble with file manager please follow my original instructions and then post the complete error.

Hope it helps,

Joe

9/24/2008 9:13:41 PM
Gravatar
Total Posts 15

Re: File Manager

Joe,

The File Manager works fine on my local machine but not on the production server (goDaddy shared hosting with medium trust).  Anything in the web.config I should check?  The Data folder and all sub folders and files have read/write permissions.

Thanks,

Dave

P.S.  I could never get anything meaningful generated in System Log.  Here's current content -

bal [2008-09-23 20:12:33,705 [7] ERROR mojoPortal.Web.mojoBasePage [2008-09-23 20:12:33,752 [7] ERROR mojoPortal.Web.Global [2008-09-23 20:14:59,484 [8] ERROR mojoPortal.Web.mojoBasePage [2008-09-23 20:14:59,515 [8] ERROR mojoPortal.Web.Global [2008-09-23 20:22:07,038 [8] ERROR mojoPortal.Web.mojoBasePage [2008-09-23 20:22:07,054 [8] ERROR mojoPortal.Web.Global [2008-09-23 20:32:01,985 [6] ERROR mojoPortal.Web.mojoBasePage [2008-09-23 20:32:02,001 [6] ERROR mojoPortal.Web.Global [2008-09-23 20:32:09,626 [6] ERROR mojoPortal.Web.mojoBasePage [2008-09-23 20:32:09,658 [6] ERROR mojoPortal.Web.Global [2008-09-23 20:32:16,565 [1] ERROR mojoPortal.Web.mojoBasePage [2008-09-23 20:32:16,580 [1] ERROR mojoPortal.Web.Global [2008-09-23 20:32:26,097 [1] ERROR mojoPortal.Web.mojoBasePage [2008-09-23 20:32:26,128 [1] ERROR mojoPortal.Web.Global [2008-09-23 20:33:31,308 [8] ERROR mojoPortal.Web.mojoBasePage [2008-09-23 20:33:31,339 [8] ERROR mojoPortal.Web.Global [2008-09-23 21:28:33,489 [6] INFO mojoPortal.Web.Global [2008-09-24 00:16:36,967 [1] INFO mojoPortal.Web.Global [2008-09-24 00:16:37,014 [1] ERROR mojoPortal.Web.Global [2008-09-24 00:16:39,170 [1] ERROR mojoPortal.Web.Global [2008-09-24 00:40:59,751 [7] INFO mojoPortal.Web.Global [2008-09-24 00:41:43,844 [1] INFO mojoPortal.Web.Global [2008-09-24 00:41:43,875 [1] ERROR mojoPortal.Web.Global [2008-09-24 05:23:18,801 [1] INFO mojoPortal.Web.Global [

9/25/2008 7:09:21 AM
Gravatar
Total Posts 18439

Re: File Manager

Its very strange unless you are editing the log before posting, errors in my log have more detail about the error.

What I would do is look for this in Web.config:

<customErrors mode="RemoteOnly" defaultRedirect="Error.htm">
<error statusCode="404" redirect="~/PageNotFound.aspx" />
</customErrors>

and temporarily change from "RemoteOnly" to "Off"

Then try your File Manager and if an error happens it should show you the error instead of redirecting you to the generic error page.

See if you get a meaningful error message that way.

9/26/2008 6:27:14 PM
Gravatar
Total Posts 15

Re: File Manager

Joe -

This is a SecurityException error with NeatUpload and Medium Trust configuration.  Somehow my web.config file got messed up because I don't recall having an issue with File Manager before the upgrade to 2.2.7.3.

Dave

9/27/2008 1:24:11 PM
Gravatar
Total Posts 15

Re: File Manager

Joe -

If I comment all references to NeatUpload in the web.config and delete the dlls, I get an NeatUpload control not found error.  Which makes sense.  Should I be leaving certain settings in the web.config?  I thought I read the article where to comment all references to NeatUpload.  I did see a setting where to set UseNeatUpload to false.

Thanks,

Dave

9/27/2008 1:33:10 PM
Gravatar
Total Posts 18439

Re: File Manager

Rename Web.config to Web.fulltrust.config and rename Web.mediumtrust.config to Web.config

Hope it helps,

Joe

9/27/2008 8:25:58 PM
Gravatar
Total Posts 15

Re: File Manager

OK Joe.  I renamed web.config to web.fulltrust.config and renamed web.mediumtrust.config to web.config.  No changes made.

Here's the error -

[SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.IO.Path.GetTempPath() +54
Brettle.Web.NeatUpload.FilesystemUploadStorageProvider.GetDefaultTempDirectory() +247
Brettle.Web.NeatUpload.FilesystemUploadStorageProvider.GetTempDirectory(NameValueCollection attrs) +387
Brettle.Web.NeatUpload.FilesystemUploadStorageProvider.Initialize(String providerName, NameValueCollection attrs) +24
Brettle.Web.NeatUpload.UploadStorage.get_LastResortProvider() +102
Brettle.Web.NeatUpload.UploadStorage.get_Provider() +16
Brettle.Web.NeatUpload.InputFile.get_StorageConfig() +186
Brettle.Web.NeatUpload.InputFile.Render(HtmlTextWriter writer) +147
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.HtmlControls.HtmlTableRow.RenderChildren(HtmlTextWriter writer) +47
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.HtmlControls.HtmlTable.RenderChildren(HtmlTextWriter writer) +47
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +7
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +199
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.Page.Render(HtmlTextWriter writer) +26
mojoPortal.Web.mojoBasePage.Render(HtmlTextWriter writer) +67
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.admin_filemanager_aspx.ProcessRequest(HttpContext context) +4
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

9/28/2008 5:19:23 PM
Gravatar
Total Posts 15

Re: File Manager

Joe -

What's interesting is when I hit the File Manager I get the Security Exception error posted previously.  When I hit File Manager again, I don't and all is good.  Any ideas around this?  Or is this a godaddy server issue?  Also, I uncommented in web.config these two settings and use the full path.  Default it is set to value="Data" (that doesn't work).

<!-- If running in Medium trust you may need this setting -->
<add key="NeatUpload.UseHttpModule" value="false" />
<add key="NeatUpload.DefaultTempDirectory" value="d:\hosting\*******\Data" />

Also, noticed this thread post is two pages and the last post of page 1 is repeated as the first post of page 2.  Is this normal?

Dave

2/26/2009 6:25:10 PM
Gravatar
Total Posts 16

Re: File Manager

Dave I have the same problems you have because I am using godaddy. Let me know if you found a work around for them.

5/23/2009 10:14:14 PM
Gravatar
Total Posts 1

Re: File Manager

I use godaddy with MojoPortal and was getting this error for a different reason, Image Gallery, but this fix should solve your problem.

"'System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0"

Fix:

  1. Login into godaddy and go to "File Manager"
  2. Click the folder that your mojo application is in and click the "permissions icon"
  3. Check the following and hit a "OK"
    Read (Directory contents are visible to users)
    Write (Applications can write to this directory)
    Reset all children to inherit (All subdirectories will be reset to inherit from current directory)

I originally just did this to the "data" folder but was still getting errors for the image gallery.  I'm not an expert on security but you should just allow the "data" folder Write access. 

Hope this helps.

I have had many problems with godaddy, any new sites I have set up have been on a different server, but this one remains on godaddy.

You must sign in to post in the forums. This thread is closed to new posts.