Shared Files Give Error

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.
3/10/2014 6:28:52 AM
Gravatar
Total Posts 68

Shared Files Give Error

HI Joe,

I upgraded to version 2.3.9.9 on Windows and MSSQL and everything works fine.

There is a Shared Files module which I have given access only to specific users and it worked fine before, but now gives this error when I try to even open a folder in the structure.

Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500 @ http://mydomain.org/ScriptResource.axd?d=O0IHNDgS4maWhhS91q-QOSJwtR8rMFjD0cmLoR7AzHID6POdhFc1PZ-0zL8SLt35AJ8NiCl2oiiFr9Gqy75pnOB3TPO1z4L1sI7TikK7JjRYzhxXdhH-p7jJ6dnML4cPBFt1wXWv4slOheQKPGySfKOBA4HLjSI9XfPcLddMLy5apCJMPxRPxPWnSNCQeXVF8u_yCTNwbF8bt2IPNi2wv4fpIKizHbIyYOsDuo7BcJHGGQ7T4wg58WenL3K6XtSB4zvg6F6Xy-GEh-wVCTdMf_2dIK7XQtNvHVvJSlbGrVID7whiOwWk2QHpkXwGX8ibkTYC9tqvUza2-RF2s0FVeWvADOEvo1UeVZIg_QNRfennW3vg6eep5sgtG7_FQLQohabsTkKxwbV6iYBIXx31qfp5mnwNDX9R4ZWtjM9im4KSWG92zh5iJjwyFk6V1vq9RWRxnA2:33

The error log shows this:

System.FormatException: Unrecognized Guid format.
   at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
   at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
   at System.Guid..ctor(String g)
   at mojoPortal.Business.SharedFileFolder.LoadListFromReader(IDataReader reader)
   at mojoPortal.Web.SharedFilesUI.SharedFilesModule.BindData()
   at mojoPortal.Web.SharedFilesUI.SharedFilesModule.dgFile_RowCommand(Object sender, GridViewCommandEventArgs e)
   at System.Web.UI.WebControls.GridView.OnRowCommand(GridViewCommandEventArgs e)
   at System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup)
   at System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e)
   at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
   at System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
   at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

What could be the problem here?

3/11/2014 11:32:15 AM
Gravatar
Total Posts 18439

Re: Shared Files Give Error

Hi,

I would look in the database table mp_SharedFileFolders, make sure there are no rows where any of the guid columns are null, ie ModuleGuid, FolderGuid, ParentGuid. If any parentguids are null change then to empty guid '00000000-0000-0000-0000-000000000000'

Hope that helps,

Joe

3/11/2014 10:38:32 PM
Gravatar
Total Posts 68

Re: Shared Files Give Error

Brilliant!! That was it. I wonder how that happened. There were two rows that had null values. Now it's fine.

Thanks a million.

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