How to register MIME type in IIS? [Resolved]

Posted by Dnandha87 under VB.NET on 10/16/2012 | Points: 10 | Views : 1854 | Status : [Member] | Replies : 7
I am developing the windows application using vb.net...
Tell me the VB code to add the new MIME type in IIS...

Regards
Nandha Kumar,



Responses

Posted by: Ranjeet_8 on: 10/17/2012 [Member] [MVP] Gold | Points: 50

Up
0
Down

Resolved
Look at this url
http://www.iis.net/configreference/system.webserver/staticcontent/mimemap

Dnandha87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 10/17/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Refer this url
http://technet.microsoft.com/en-us/library/bb742440.aspx

Dnandha87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 10/17/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
One more link
Look at this url
http://technet.microsoft.com/en-us/library/cc725608(v=ws.10).aspx

Dnandha87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dnandha87 on: 10/17/2012 [Member] Starter | Points: 25

Up
0
Down
I need a vb code to do it...

Regards
Nandha Kumar,

Dnandha87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dnandha87 on: 10/17/2012 [Member] Starter | Points: 25

Up
0
Down
Thanks for your support Ranjeet..

Regards
Nandha Kumar,

Dnandha87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dnandha87 on: 10/17/2012 [Member] Starter | Points: 25

Up
0
Down
But it s working only in IIS7.0
Because that code refer the Microsoft.web.Administration which expects minimum of IIS7.0..
I also need to add the MIME type to IIS6.0.. Any Idea?

Regards
Nandha Kumar,

Dnandha87, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dnandha87 on: 10/17/2012 [Member] Starter | Points: 25

Up
0
Down
I got the solution for IIS 6.0 also,
Refer ths:
http://msdn.microsoft.com/en-us/library/ms525901%28v=vs.90%29.aspx

Regards
Nandha Kumar,

Dnandha87, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response