Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding a mime type

Status
Not open for further replies.

marct

Programmer
Apr 6, 1999
32
0
0
US
Hi,

I need to add a MIME type to IIS 3.0, and I can't seem to find any information about how to go about it or where I might go to find out about it. Can anyone help me with this? Thanks in advance.

-Marc Tower
 
MIME Table
The MIME table associates a MIME content type with a file extension or a CLSID to generate the extension or COM server information required for advertisement of the MIME (Multipurpose Internet Mail Extensions) content.

The MIME table has the following columns.

Column Type Key Nullable
ContentType Text Y N
Extension_ Text N
CLSID GUID Y

Columns

ContentType
This column is an identifier for the MIME content. It is commonly written in the form of type/format.
Extension_
This column contains the server extension that is to be associated with the MIME content, without the dot. This column is a foreign key into the Extension table. The Extension table contains file extension server information which is used as a part of advertisement.
CLSID
This column contains the COM server CLSD that is to be associated with the MIME content. The CLSID in this column can be a foreign key into the Class table or it can be a CLSD that already exists on the user's machine. The Class table contains COM server-related information which is used as a part of advertisement.

Remarks
This table is referred to when the RegisterMIMEInfo action or the UnregisterMIMEInfo action is executed. In advertise mode, the RegisterMIMEInfo action registers all MIME information for servers from the MIME table for which the corresponding feature is enabled. Otherwise the action registers MIME information for servers from the MIME table for which the corresponding feature is currently selected to be installed. The UnregisterMIMEInfo action unregisters MIME-related registry information from the system. The action unregisters MIME information for servers from the MIME table for which the corresponding feature is currently selected to be uninstalled.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top