Troubleshooting Active Server Pages (ASP) on Windows 2003/2008
By default ASP Pages are disabled. When you initially install IIS, the service is installed in a highly secure mode. ASP feature does not work unless enabled. If you do not enable this functionality after installing IIS, IIS returns a 404 error. You can serve dynamic content and enable these features through the Web Service Extensions node in IIS Manager.
You can create a virtual directory through IIS Manager or by using Windows Explorer.
For security reasons, when selecting access permissions, consider allowing only the default Read permission. Under Allow the following permissions you should select Run Scripts check box to prevent possible problems.
To make the Metabase.xml file write-able, you need to go through the following steps:
In IIS 6.0, the ASPMaxRequestEntityAllowed value determines the maximum size POST to the website. If it isn't set high enough, it will prevent you from uploading files.
To solve this problem you have to change the ASPMaxRequestEntityAllowed to 1073741824 in the metabase.xml file (usually located in c:\windows\system32\inetsrv)
If you get the above error when you click on an attachment, the attachment is larger than IIS is configured to allow. Change the AspBufferingLimit setting in Metabase.xml to a larger size. The default value is 4194304, which is about 4 MB. Change this to whatever limit is reasonable for the types of files your users will be attaching.
This appears to be a common Windows 2003 IIS problem. Usually you have to do the following:
Adjusting Session Timeout in IIS 7.5
On Windows 2008 (IIS 7.5) proceed to Application pools -> Advanced settings -> Idle Time-out (group: Process Model). Default value is 5 minutes. Change it to be 20 or 30 minutes. You can also set it for all application pools at once under Set Application Pool Defaults.
The problem is that in IIS 7 on Windows 2008 Server, the web application will reject any file that is larger than 30 MB. This is a default limitation of IIS.
Method 1You can increase the maximum file size by adding the following code to <system.webServer> section in the web.config file:
<requestLimits maxAllowedContentLength="2000000000" />
With the above maxAllowedContentLength, users can upload files that are 2,000,000,000 bytes in size. This setting will work right away without restart IIS services.
Method 2Add the httpRuntime element in the system.web section as follows:
<?xml version="1.0" encoding="utf-8" ?>
|Copyright © 2005-2007 www.WebCheatSheet.com All Rights Reserved.|