Can't upload file on ShareFiles after upgrade

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.
5/2/2013 2:19:33 AM
Gravatar
Total Posts 104

Can't upload file on ShareFiles after upgrade

Hi,

mojoportal-2-3-9-7-mssql-net40 IIS7 asp.net 4.0  Windows Server 2008

After upgrading to 2.3.9.7, I can't upload files on sharedFiles module, page refresh, without any action.

I see a browse and upload button but I can't see drag and drop such as introduce on blog post.

Best wishes,

Mehdi

5/2/2013 3:04:30 AM
Gravatar
Total Posts 104

Re: Can't upload file on ShareFiles after upgrade

I can fix this problem by editing layout.Master.

5/14/2013 1:56:05 PM
Gravatar
Total Posts 25

Re: Can't upload file on ShareFiles after upgrade

Hi,

 

I'm on the same version of mojoportal and am having the same problem.  What was your solution?  Joe do you have an idea what could be the issue?  Nothing is being reported in the system log after I try to upload a file.

 

Thanks,

Scott Taylor

5/14/2013 4:48:30 PM
Gravatar
Total Posts 18439

Re: Can't upload file on ShareFiles after upgrade

It uses a standard ASP.NET fileupload control that is replaced by javascript. Sounds like the javascript is failing to load or an error is happening. I would use browser dev tools while logged in with upload rights and look for errors in the script console.

Hope that helps,

Joe

5/14/2013 8:00:28 PM
Gravatar
Total Posts 104

Re: Can't upload file on ShareFiles after upgrade

Hi

I just edit this line in header

<portal:ScriptLoader ID="ScriptLoader1" runat="server" IncludeJQueryMigrate="true" />

and it fix my problem.

Regards

Mehdi

5/15/2013 9:38:12 AM
Gravatar
Total Posts 18439

Re: Can't upload file on ShareFiles after upgrade

Really the new uploader should not need the jquery migrate plugin. But if something else on the page needs it and is causing a script error on the page it could prevent the file uploader javascript from working. So adding it could solve the problem by fixing something else on the page.

5/15/2013 12:27:34 PM
Gravatar
Total Posts 25

Re: Can't upload file on ShareFiles after upgrade

I tried the fix for the jquerymigrate="true" change in my skin's layout.master file and it solved my problem. Actually the uploader looks completely different now than it did before.

 

I get the following error in windows 8 IE10 when I click the up arrow (folder up) or try to delete a selected file in the system log for the shared files control:

2013-05-15 13:22:11,721 ERROR 12.217.113.2 - en-US - /hoa-message-board.aspx - mojoPortal.Web.Global -  Referrer(http://www.buckinghamcanterbury.com/hoa-message-board.aspx) useragent Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at System.Web.UI.WebControls.ImageButton.LoadPostData(String postDataKey, NameValueCollection postCollection)
   at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

I don't get an error doing the same action in google chrome or in IE 9.
 

Thanks,

Scott

5/15/2013 12:32:33 PM
Gravatar
Total Posts 18439

Re: Can't upload file on ShareFiles after upgrade

Unfortunately the only fix for the IE 10 problem is to install .NET 4.5. It is a well known problem with imagebutton inside updatepanel with IE 10. Really I think it is an IE bug but they treated it as a .NET bug or at least fixed it in .NET 4.5 instead of fixing IE.

5/16/2013 6:20:56 AM
ace
Gravatar
Total Posts 1

Re: Can't upload file on ShareFiles after upgrade

We too struggled with this issue. The solution for us, was to view the site in compatibility mode. Being a an internal intranet we could of course, enforce this using GPO.

 

BR

ace

 

5/16/2013 12:39:12 PM
Gravatar
Total Posts 18439

Re: Can't upload file on ShareFiles after upgrade

To solve the IE 10 imagebutton/updatepanel problem on an intranet, since it is your own server I think it is a much better solution to install .NET 4.5 on the web server instead of forcing compatibility mode in the browser by group policy.

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