4

On Step 3 of 1.2.3 in the upgrade guide, I'm getting a System.OutOfMemoryException pointing to Sitecore.Update.Utils.FileUtils.SerializeFile(Stream stream, String location) +137.

Installation wizard installed fine and the UpdateInstallationWizard.aspx page comes up fine.

In /sitecore/admin/packages, it looks like, it tried to write the file "Upgrade from 8.1 rev. 160519 to 8.2 rev. 160720.update", but it's got zero length.

Any ideas?

8
  • How much memory you have in this system ?
    – Harsh Baid
    Sep 27, 2016 at 15:53
  • 16gb, 47% used.
    – EricB
    Sep 27, 2016 at 17:41
  • 1
    Can you post the full stacktrace, please? Might help clue someone in, as to what might be going on. Sep 28, 2016 at 8:40
  • have you changed the maxAllowedContentLength setting (1.2.3 step2) ? Also, do you have correct file/folder level permission setup for filesystem ? Sep 29, 2016 at 4:37
  • Also if you can post anything you see related in the log where this exception was captured is helpful
    – Diego
    Sep 30, 2016 at 16:01

1 Answer 1

4

You must change the maxAllowedContentLength setting to increase the maximum allowed download size of the update package. To do this:

In a text editor, in the \wwwroot\\Website\sitecore\admin\web.config file, change the maxAllowedContentLength setting from:

<requestLimits maxAllowedContentLength="1048576000" />

to:

<requestLimits maxAllowedContentLength="4194304000" />

for more information check the upgrade document: Upgrade Guide

1
  • Ahh man, I kept changing this at the root web.config level.
    – MikeD
    Nov 30, 2016 at 2:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.