• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Upload size

A

argos@

Guest
Hi,


the log :

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Message System.Web.Services.Protocols.SoapException: There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded.
at SWsoft.SiteBuilder.Web.UI.EditPage.HandleException(Exception ex)
at SWsoft.SiteBuilder.Web.UI.EditPage.Page_Error(Object sender, EventArgs args)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.TemplateControl.OnError(EventArgs e)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.wizard_edit_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


I know there is a IIS 4 Mo limit, but where (in witch web.config) can I change the maxRequestLength key...


Thanks
 
Could you specify where did you get this error from? I mean which actions should be performed to be able to reproduce it?
As I can see in <SITEBUILDER_ROOT>\Web\web.config file there is only one limitation for uploading images in Sitebuilder:

<add key="MaxAllowedImageFileSize" value="204800"/>

Please specify.
 
Hi,

I get this error from log in admin panel.

It appears when I try to upload, with the new module "Download file", a file greater than 4 Mb....

Thanks
 
I was able to reproduce this situation on my server also. It seems this is really IIS default setting which serves only requests that have a file size of 4096KB or smaller. I have passed this request to developers to create additional key, something like 'maxRequestLength', for resolving this situation.
 
I got the exact same error on a file upload of 3.7mb , my reseach sugest that the entry "AspMaxRequestEntityAllowed" in the IIS MetaBase
has to be increased ,or is it the "add key="MaxAllowedImageFileSize" value="204800"/>" mentioned in this thread, please advise ???
i
 
As a solution in this situation try to add following section into SITEBUILDER_ROOT\Web\web.config file:

<httpRuntime
executionTimeout="90"
maxRequestLength="16384"
/>

this part should be added into
<system.web> section for mentioned web.config file. After making changes do not forget to restart IIS.

maxRequestLength="16384" value configure maximum size which could be uploaded. In this case it is 16M. With this value I was able to upload successfully file with 7M in size.
 
I found the web.config file , where to put it in the file

I attached the file
 
Unfortunately, attachment does not work here. Soon this forum will be upgraded and it will work. Anyway, find <system.web> section in web.config file and add necessary peace right after <system.web>. Something like this:

<system.web>
<httpRuntime
executionTimeout="90"
maxRequestLength="16384"
/>
 
Here is a paste of the tail end of the file where the system.web starts , there are several of them


</appSettings>
<siteRepository path="D:\Sitebuilder\Sites">
<caching enabled="true" expiration="0:01:00"/>
</siteRepository>
<system.web>
<globalization culture="en-US" uiCulture="en"/>
<customErrors defaultRedirect="~/CustomError.aspx" mode="On">
<error statusCode="403" redirect="~/AccessDenied.aspx"/>
<error statusCode="404" redirect="~/CustomError.aspx?Status=404"/>
<error statusCode="405" redirect="~/CustomError.aspx?Status=405"/>
<error statusCode="406" redirect="~/CustomError.aspx?Status=406"/>
<error statusCode="408" redirect="~/CustomError.aspx?Status=408"/>
<error statusCode="409" redirect="~/CustomError.aspx?Status=409"/>
<error statusCode="410" redirect="~/CustomError.aspx?Status=410"/>
<error statusCode="411" redirect="~/CustomError.aspx?Status=411"/>
<error statusCode="412" redirect="~/CustomError.aspx?Status=412"/>
<error statusCode="413" redirect="~/CustomError.aspx?Status=413"/>
<error statusCode="414" redirect="~/CustomError.aspx?Status=414"/>
<error statusCode="415" redirect="~/CustomError.aspx?Status=415"/>
<error statusCode="416" redirect="~/CustomError.aspx?Status=416"/>
<error statusCode="417" redirect="~/CustomError.aspx?Status=417"/>
</customErrors>
<trace enabled="true" pageOutput="false" requestLimit="50"/>
<!-- Compilation -->
<pages>
<controls>
<add tagPrefix="SiteBuilder" namespace="SWsoft.SiteBuilder.Modules.WebControls.Repeaters" assembly="SiteBuilder.Modules.WebControls"/>
<add tagPrefix="SiteBuilder" namespace="SWsoft.SiteBuilder.Modules.WebControls" assembly="SiteBuilder.Modules.WebControls"/>
</controls>
</pages>
<compilation debug="false" defaultLanguage="c#">
<assemblies>
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Messaging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="Microsoft.VisualC, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Runtime.Serialization.Formatters.Soap, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
<add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
</assemblies>
</compilation>
<!-- End Compilation -->
<!-- Providers -->
<siteMap defaultProvider="Admin" enabled="true">
<providers>
<clear/>
<add name="Admin" type="System.Web.XmlSiteMapProvider" siteMapFile="Admin.sitemap" securityTrimmingEnabled="true"/>
<add name="Wizard" type="System.Web.XmlSiteMapProvider" siteMapFile="Wizard.sitemap"/>
</providers>
</siteMap>
<roleManager enabled="true" cacheRolesInCookie="true" defaultProvider="RoleProvider" cookieName=".ASPXROLES" cookiePath="/" cookieTimeout="30" cookieRequireSSL="false" cookieSlidingExpiration="true" createPersistentCookie="false" cookieProtection="All">
<providers>
<clear/>
<add name="RoleProvider" type="SWsoft.SiteBuilder.Security.RoleProvider" applicationName="Sitebuilder"/>
</providers>
</roleManager>
<!-- End providers-->
<httpModules>
<add name="SsoSessionModule" type="SWsoft.SiteBuilder.Web.Modules.SsoSessionModule"/>
<add name="SupportedBrowserModule" type="SWsoft.SiteBuilder.Web.Modules.SupportedBrowserModule"/>
<add name="LoggingModule" type="SWsoft.SiteBuilder.Web.Modules.LoggingModule"/>
<add name="UISettingsModule" type="SWsoft.SiteBuilder.Web.Modules.UISettingsModule"/>
<add name="SiteAuthorizationModule" type="SWsoft.SiteBuilder.Web.Modules.SiteAuthorizationModule"/>
<add name="RemoteStorageModule" type="SWsoft.SiteBuilder.Web.Modules.RemoteStorageModule"/>
<add name="StatisticsModule" type="SWsoft.SiteBuilder.Statistics.StatisticsHttpModule, SiteBuilder.Statistics"/>
</httpModules>
<httpHandlers>
<add verb="*" path="ExternalLogin.ashx" type="SWsoft.SiteBuilder.Web.Handlers.ExternalLoginHandler"/>
<add verb="*" path="ImageHandler.ashx" type="SWsoft.SiteBuilder.Web.Handlers.ImageHandler"/>
<add verb="*" path="LocalizedImage.ashx" type="SWsoft.SiteBuilder.Web.Handlers.LocalizedImageHandler"/>
<add verb="*" path="Logo.ashx" type="SWsoft.SiteBuilder.Web.Handlers.LogoHandler"/>
<add verb="*" path="Images.ashx" type="SWsoft.SiteBuilder.Web.Handlers.Images"/>
<add verb="*" path="Site.ashx" type="SWsoft.SiteBuilder.Web.Handlers.SiteResourceHandler"/>
<add verb="*" path="AjaxHandler.ashx" type="SWsoft.SiteBuilder.Web.Handlers.AjaxHttpHandler, SiteBuilder.Web"/>
<add verb="*" path="JsClasses.ashx" type="SWsoft.Ajax.AjaxCore.ScriptRegistratorHandler, AjaxCore"/>
</httpHandlers>
<authorization>
<allow users="*"/>
</authorization>
<anonymousIdentification enabled="true" cookieName="SBANONYMOUSCOOKIE"/>
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" defaultUrl="Admin/Default.aspx" enableCrossAppRedirects="true" path="/" name="asu" protection="All" timeout="30" slidingExpiration="true"/>
</authentication>
<sessionState mode="InProc" timeout="30"/>
<urlMappings enabled="true">
<add url="~/Admin/Server.aspx" mappedUrl="~/Admin/SubNodes.aspx"/>
<add url="~/Admin/SystemInfo.aspx" mappedUrl="~/Admin/LicenseMgmt/SystemInfo.aspx"/>
<add url="~/Admin/LicenseMgmt/LicenseMgmt.aspx" mappedUrl="~/Admin/LicenseMgmt/SystemInfo.aspx"/>
</urlMappings>
</system.web>
<location path="Wizard">
<appSettings>
<add key="SessionExpiredRedirectUrl" value="~/Wizard"/>
<add key="AntiDOSTimeout" value="200"/>
</appSettings>
<system.web>
<pages configSource="siteBuilderControls.config"/>
<webServices>
<soapExtensionTypes>
<clear/>
<add group="High" priority="1" type="SWsoft.SiteBuilder.Modules.Storage.Connector.WebServices.ServiceSecurity.SecuritySoapExtension, SiteBuilder.Modules.Storage.Connector"/>
</soapExtensionTypes>
</webServices>
</system.web>
</location>
<location path="Admin">
<appSettings>
<add key="SessionExpiredRedirectUrl" value="~/Admin"/>
</appSettings>
<system.web>
<pages configSource="siteBuilderControls.config"/>
<webServices>
<soapExtensionTypes>
<clear/>
<add group="High" priority="1" type="SWsoft.SiteBuilder.Modules.Storage.Connector.WebServices.ServiceSecurity.SecuritySoapExtension, SiteBuilder.Modules.Storage.Connector"/>
</soapExtensionTypes>
</webServices>
</system.web>
</location>
<location path="App_Themes">
<system.web>
<pages configSource="siteBuilderControls.config"/>
</system.web>
</location>
<location path="Controls">
<system.web>
<pages configSource="siteBuilderControls.config"/>
</system.web>
</location>
<applicationSettings>
<SWsoft.SiteBuilder.Web.Properties.Settings>
<setting name="Web_FeedbackService_FeedbackService" serializeAs="String">
<value>http://localhost/Statistics/FeedbackService.asmx</value>
</setting>
</SWsoft.SiteBuilder.Web.Properties.Settings>
</applicationSettings>
</configuration>
 
Make it this way:

<system.web>

<httpRuntime
executionTimeout="90"
maxRequestLength="16384"
/>

<globalization culture="en-US" uiCulture="en"/>
<customErrors defaultRedirect="~/CustomError.aspx" mode="On">
<error statusCode="403" redirect="~/AccessDenied.aspx"/>


Do not forget to restart IIS domain after changes.
 
Failed again , different error





\
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 10/25/2007
Time: 6:07:56 AM
User: N/A
Computer: NORAD12
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10/25/2007 6:07:56 AM
Event time (UTC): 10/25/2007 10:07:56 AM
Event ID: 9aebb24502fe4e2b905f8651c4e9d141
Event sequence: 95
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/Root-1-128377803095937500
Trust level: Full
Application Virtual Path: /
Application Path: D:\Sitebuilder\Web\
Machine name: NORAD12

Process information:
Process ID: 1860
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE

Exception information:
Exception type: SoapException
Exception message: There was an exception running the extensions specified in the config file. ---> Maximum request length exceeded.

Request information:
Request URL: http://siteshuttle.com:2006/Wizard/Edit.aspx
Request path: /Wizard/Edit.aspx
User host address: 216.217.177.172
User: 9faa926c-c0ae-416c-9533-3dcf5b86456a
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\NETWORK SERVICE

Thread information:
Thread ID: 6
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at
 
finally got to work by adding maxrequestlength="8192" to the
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config

it allowed me to upload 8mb.

Thanks to Dmitry Frantsev
 
Back
Top