an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > DotShoppingCart Suite > Upload file size in digital media product
Last Post 7/19/2008 9:40:32 AM By lukezy. 3 replies.
7/18/2008 6:23:32 PM
chithrakannan
Posts: 5
Joined: 7/8/2008
Upload file size in digital media product

How to increase the upload file size limit, i need to upload 48 MB of
file into the product digital download, please advise.  I am trying
the above now.

Currently it is not allowing.

Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date:  7/17/2008
Time:  10:55:40 PM
User:  N/A
Computer: IMAGINESRV
Description:
Event code: 3004
Event message: Post size exceeded allowed limits.
Event time: 7/17/2008 10:55:40 PM
Event time (UTC): 7/18/2008 2:55:40 AM
Event ID: 4e6002ea04a84d17b6d379b57643501b
Event sequence: 101
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/433357587/Root-4-128608224438835526
    Trust level: Full
    Application Virtual Path: /
    Application Path: E:\Websites\WorkingCapitalExperts\Web\
    Machine name: IMAGINESRV
 
Process information:
    Process ID: 4012
    Process name: w3wp.exe
    Account name: NT AUTHORITY\NETWORK SERVICE
 
Exception information:
    Exception type: HttpException
    Exception message: Maximum request length exceeded.
 
Request information:
    Request URL: http://www.xxx4234erts.com/Admin/Catalog/ProductEdit.aspx?pid=2
    Request path: /Admin/Catalog/ProductEdit.aspx
    User host address: 

    User: admin
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: NT AUTHORITY\NETWORK SERVICE
 
Thread information:
    Thread ID: 17
    Thread account name: NT AUTHORITY\NETWORK SERVICE
    Is impersonating: False
    Stack trace:    at System.Web.HttpRequest.GetEntireRawContent()
   at System.Web.HttpRequest.GetMultipartContent()
   at System.Web.HttpRequest.FillInFormCollection()
   at System.Web.HttpRequest.get_Form()
   at System.Web.HttpRequest.get_HasForm()
   at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull)
   at System.Web.UI.Page.DeterminePostBackMode()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details:

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

7/18/2008 10:25:15 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Upload file size in digital media product

Update your web.config with the following settings

    <system.web>
        <httpRuntime executionTimeout="600" maxRequestLength="60000"/>
    </system.web>

DotShoppingCart Staff
7/19/2008 6:38:53 AM
chithrakannan
Posts: 5
Joined: 7/8/2008
Re: Upload file size in digital media product

<httpRuntime executionTimeout="6000" maxRequestLength="50000"/>

I tried with different combinations, even with 100000 maxRequestLength is not working.

 

 

 

7/19/2008 9:40:32 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Upload file size in digital media product

Did you check the web.config in web\admin directly as well?

DotShoppingCart Staff