The information in this article applies to:
SYMPTOMSWhen you are creating or updating Mime Types with the Visual Basic Script ADSUTIL.vbs that ships with Microsoft Internet Information Server (IIS) 4.0 and above, the script can lead to a corrupted Mime Type Metabase entry. CAUSE
There is an error in function MimeMapSet of the ADSUTIL.vbs script:
The script line with the ERROR contains a wrong string calculation
RESOLUTIONReplace the line starting with "ERROR" in the "Cause" section with the following code:
Now you can use the ADSUTIL.vbs script to update your Mime types.
The following example shows how to replace the MimeMap of the Default Web Site with a new one that lists two Mime types:
MORE INFORMATIONREFERENCESMore information on the ADSUTIL.vbs script can be found in: Q240225 Description of Adsutil and MetaEdit Used to Modify the Metabase Additional query words:
Keywords : kbiis400 kbiis500 |
Last Reviewed: December 15, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |