bug with upload !!

Last post 03-15-2004, 9:03 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  03-15-2004, 8:10 AM 559

    bug with upload !!

    Hi,

     

     

    i have bug when i want upload a image.

     

    Objet Request error 'ASP 0104 : 80004005'

     

     

    filepost.asp

    line 34

     

     

    the line34 is

    biData = Request.BinaryRead(Request.TotalBytes)

     

     

    HELP !

     

     

  •  03-15-2004, 9:03 AM 562 in reply to 559

    Re: bug with upload !!

    This is a server-related limitation. IIS6.0 prevent the upload of files more than +200Kb. So you need to make some changes in the default IIS settings first.


    The solution is here:

    IIS 6.0 (Windows 2003) has a file named metabase.xml which resides in the C:\Windows\system32\inetsrv folder. Navigate to that directory and edit the file. Search for an entry called AspMaxRequestEntityAllowed. This defaults to a value of 204800, which causes IIS 6.0 to limit allowed upload size to 204,800 bytes.

     

    Changing this value to a large number (such as 2000000000 for 2 gigabytes) will allow your Windows 2003 server to accept large uploads.

     

    If your server does not allow the Metabase Edit-While-Running feature, you will need to stop the IIS service before you can save the metabase.xml file.

    Not sure if your provider will do this though....


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML