This topic is locked
[SOLVED]

  Uploading large pictures size

12/20/2009 2:01:27 AM
ASPRunnerPro General questions
S
snowy author

Am using ASP Runner Pro 6.0 and am facing a problem with uploading a large size images.
I started building my website on windows xp using ms access 2003 DB. It is working fine on the windows xp.

But when I moved it to my client site I added the website to the localhost on a windows vista SP2 environment also I was using Access 2007.
The problem now is when I upload images to my DB with a size more than 256kb the site crashes and it turns into a new blank page.
I tried to uninstall Access 2007 and I have installed Access 2003 and am still facing the same problem.
What do you recommend in this case to solve the problem?

Sergey Kornilov admin 12/20/2009

As a first step make sure your web server allows upload of large files.
Check this article for more info:

http://www.webcheatsheet.com/asp/asp_troubleshooting.php#problems

S
snowy author 12/26/2009

Thank you for the help.
Anyway I solved this problem in the following way:
MetaBase is IIS 6.0 and IIS 7 is divided into 2 files (MetaBase.xml and MBSchema.xml) the value given the link provided by you is available in the file MBSchema.xml and I couldn't find a way to edit it because it is restricted by the system to be edited.

Anyway to edit this value you have to go through the following steps:

  1. Open computer management > services and applications > internet information services (IIS) Manger.
  2. Expand your server > sites > Default Web Site and then double click on your web application name.
  3. In the console tree you will find 3 groups of settings. Under the IIS group double click on ASP icon. It will expand and show you extra options.
  4. You will find 3 groups of options under the 1st one (Behavior) you will find a tree called Limits Properties.
  5. Expand this tree and you will find Maximum Requesting Entity Body Limit with a default Value of 200000
  6. Change this Value to 1073741824 and then Apply this settings.
    This will solve the limit problem of uploading large files.