Unable to upload files for sharing?

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/25/2018 10:19:23 PM
Gravatar
Total Posts 1

Unable to upload files for sharing?

I am trying to create a simple file share to add to a page and every time I try to upload a file using the "Choose Files" button I get an error and the file just will not upload. Here is the log report I get for both this and trying to upload images for an image gallery:

2018-09-25 20:13:22,473 INFO (null) - (null) - (null) - mojoPortal.Web.UI.BaseContentUploadHandler - User has no edit permission so returning 404
2018-09-25 20:13:22,489 ERROR 50.96.158.45 - en-US - /SharedFiles/upload.ashx?pageid=-1&mid=4 - mojoPortal.Web.PageNotFoundHttpModule - Referrer(http://spiderone-001-site3.itempurl.com/Admin/ContentManagerPreview.aspx?mid=4)  PageNotFoundHttpModule handled error.
System.Web.HttpException (0x80004005): The file '/404notfound.aspx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Help please?

9/27/2018 9:29:44 AM
Gravatar
Total Posts 2253

Re: Unable to upload files for sharing?

Hi,

What version of mojoPortal are you running? I assume you are an admin on the site so it is odd that you would get the error about not having edit permission. 

The error about the 404notfound.aspx file not being found can be remedied by finding the "404notfound.aspx" string in the web.config and replacing it with "PageNotFound.aspx". This error doesn't really have anything to do with the problem you're having but it would good to fix so it doesn't clutter the log.

Thanks,
Joe

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