Attachments larger than 4 mb don't download using Windows 2003 Server
Product: | Novo Knowledge Base | Version: | 2.6+ | Windows Version & SP's: | 2003 server | Database Type: | Any | SQL Version & SP's: | n/a | Circumstances: (Upgrade, reinstalled, moved server, etc) | When downloading attachments larger than 4mb, the following error occurs: VBScriptError: File not found (Error 1040) Error opening 'C:\xxx\yyy.ext. Error 32 The process cannot access the file because it is being used by another process. In fact, the original error raised by IIS is "Response Buffer Limit Exceeded". Smaller attachments are downloaded successfully.
|
| Problem Description:
| By default, the Windows 2003 server setting AspBufferingLimit in the metabase.xml file is set to disallow downloads of filesizes greater than 4 mb. | Resolution:
| Follow these steps to edit the metabase.xml file in order to allow larger downloads: - Open Computer Management
- Right Mouse Click on My Computer and click Manage OR
- Click Start -> All Programs -> Administrative Tools -> Computer Management
- Backup the IIS Metabase - see Backing Up and Restoring the IIS Metabase
- Enable Direct Metabase Editing
- In the Computer Management Window, Right Mouse click on Internet Information Services
- Click Properties
- Check "Enable Direct Metabase Edit"
- Click Apply and OK

- Edit the IIS Metabase file
- Open Windows Explorer
- Browse to the "c:\windows\system32\inetserv\" directory
- Right Mouse click on the file "metabase.xml" and Open With NotePad
- Find the property "AspBufferingLimit"
Note: The default value is 4194304 (approx 4 mb) which will only allow files smaller than 4 mb to be downloaded in an ASP web application.
- Change the value from "4194304" to whatever limit is reasonable for the types of files your users will be attaching.

- Save the file and close NotePad
- Disable Direct Metabase Editing (for security reasons)
- In the Computer Management Window, Right Mouse click on Internet Information Services
- Click Properties
- Uncheck "Enable Direct Metabase Edit"
- Click Apply and OK
This change may require you to restart IIS to take effect. | Related Information: | IIS 6.0 Metabase Documentation (Microsoft article) Backing Up and Restoring the IIS Metabase (Microsoft article) | Should more assistance be needed, contact Novo Solutions, Inc. at support@novosolutions.com |
|
Related Articles
Unable to upload or download large attachments
Searchable Attachments - Configuring the MS Indexing Service to Search Attachments with Novo Enterprise Products
Using the Attach Files Feature