You may receive an error message when you try to run Site Deployment against an SDO package that is larger than 200 KB

Article translations Article translations
Article ID: 824471
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

Symptoms

If you install Microsoft Content Management Server 2002 Service Pack 1 (SP1) on a computer that is running Microsoft Windows Server 2003 and you try to run Site Deployment against a Server Data Object (SDO) package that is larger than 200 KB, you may receive the following error message:
Error: 0
Description: 007~ ASP 0104~ Operation not Allowed ~
Severity: 5
Source: NRXMLMarshaler.NRFileUploadResponse.1
Debug info: N/A
Extra Info: N/A
Client Source: CImProgress::ProcessPackage

Cause

By default, Microsoft Internet Information Services (IIS) 6.0 sets the value of the AspMaxRequestEntityAllowed metabase key to 204,800 bytes. If an ASP page tries to post an SDO package that is larger than this value, you receive the error message that is mentioned in the "Symptoms" section of this article.

Note In IIS 5.0, the default value of the AspMaxRequestEntityAllowed metabase key is set to 1 GB so this problem does not occur when you run Site Deployment.

Workaround

To work around this problem, follow these steps:
  1. At a command prompt, type net stop iisadmin.
  2. In Windows Explorer, locate the %WinDir%\System32\inetsrv\Metabase.xml file, and then open the file in Notepad.
  3. In the Metabase.xml file, locate the IIS InstanceID for your MCMS Web site. For example, you can run the following code:
    <IISWebServer Location = "/LM/W3SVC/1256"
    DefaultDoc = "Default.htm, Default.asp, Default.aspx"
    ServerBindings = ":80:"
    ServerComment = "CMS Web Site">
    </IISWebServer>
    In this example, the IIS InstanceID for your MCMS Web site is 1256.
  4. Add the following entries between the existing XML tags: <MBProperty>.....</MBProperty>, and then change the value of the AspMaxRequestEntityAllowed metabase key to the maximum amount of data that you want to upload to IIS. For example, you can run the following code:
    <IIsWebDirectory	Location ="/LM/W3SVC/<InstanceID>/ROOT/NR/System/SDUpload"
    		AppFriendlyName="SDUpload"
    		AppIsolated="2"
    		AppRoot="/LM/W3SVC/<InstanceID>/Root/NR/System/SDUpload"
    		AspMaxRequestEntityAllowed="51200000"
    >
    </IIsWebDirectory>
    In this example, the value of the AspMaxRequestEntityAllowed metabase key is set to approximately 51 MB.
  5. Save the Metabase.xml file, and then restart IIS.

    After you reset IIS, you can import a SDO package that is larger than 200 KB.

Properties

Article ID: 824471 - Last Review: December 25, 2014 - Revision: 4.0
Keywords: 
kbnosurvey kbarchive kbprb kbinfo KB824471

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com