I have problem uploading SCORM packages with large size

To resolve the issue, try the below methods one by one. Try first method and check, if issue is not resolved, try second method and so on.

The following Microsoft article http://support.microsoft.com/kb/925083 was used as basis for creation of these instructions.

Also following article describes differences between IIS 6 and 7: http://weblogs.asp.net/jeffwids/from-iis6-maxrequestlength-to-iis7-maxallowedcontentlengthfile-specifying-maximum-file-upload-size

IMPORTANT NOTE: 

1. executionTimeout is measured in seconds

2. maxRequestLength is measured in kilobytes

3. maxAllowedContentLength is measured in bytes

4. 1MB = 1024Kb, 1Kb = 1024bytes

 

NOTE: Since LMS 4.3.X the only place where executionTimeout and maxRequestLength value should be modified is web.config file, located in C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\efi_scorm\

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<location path="uploadscormpackage.aspx">
<system.web>
<httpRuntime executionTimeout="3600" maxRequestLength="600000"/>
</system.web>
</location>
</configuration>

 

FOR LMS EARLIER THAN 4.3.X:

1. Increase the maximum upload size in Central Administration

To increase the maximum upload size, follow these steps:

  1. Open SharePoint Central Administration.
  2. Click Application Management.
  3. Under SharePoint Web Application Management, click Web application general settings.
  4. On the Web Application General Settings page, click the web application that you want to change.
  5. Under Maximum upload size, type the maximum file size in megabytes that you want, and then click OK. You can specify a maximum file size up to 2,047 megabytes.

2. Increase the executionTimeout and maxRequestLength values in web.config files (1 hour and 200MB in the below example)


a. Modifications to web-application’s web.config file

  1. Open the web application’s web.config file in Notepad. 

    Note: by default this file is located in C:\inetpub\wwwroot\wss\VirtualDirectories\{folder_of_LMS_web_application}

    Search for the string that includes "maxRequestLength" word and add or increase executionTimeout and maxRequestLength. You should do this in the main <system.web> section:
     <system.web>
    <httpHandlers />
    <customErrors mode="Off" />
    <httpRuntime executionTimeout="3600" maxRequestLength="204800" requestValidationMode="2.0" />
  2.  Save the changes and exit Notepad.

b. Modifications to TEMPLATE\LAYOUTS web.config file

  1. Open the web.config file in Notepad. 

    Note: 
    For SharePoint 2013 version this file is located in:

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS

    For SharePoint 2010 version this file is located in:

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\LAYOUTS

    2. Add or increase the executionTimeout and maxRequestLength value in the main <system.web> section and for the following pages as shown below:

<location path="upload.aspx">
<system.web>
<httpRuntime executionTimeout="3600" maxRequestLength="204800" />
</system.web>
</location>
<location path="lms2/scormnew.aspx">
<system.web>
<httpRuntime executionTimeout="3600" />
</system.web>
</location>
<location path="lms2/uploadscormpackage.aspx">
<system.web>
<httpRuntime executionTimeout="3600" />
</system.web>
</location>

    3. For IIS 7 also increase maxAllowedContentLength:

<system.webServer> 
  <security>
    <requestFiltering>
      <requestLimits maxAllowedContentLength="209715200" ></requestLimits>

    4. Save the changes and exit Notepad.

 

3. Increase the connection time-out setting in IIS 

  1. Click Start and type Internet Information Services (IIS) Manager.
  2. Expand server name, expand Sites, click the necessary Web Site 
  3. In the Actions pane (to the right) click Advanced Settings
  4. In the opened window expand Limits (or Connection Limits) row, in the Connection time-out (seconds) box type the number of seconds that you want, and then click OK.

Note: default IIS connection time-out setting is 120 seconds.

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Article is closed for comments.

Powered by Zendesk