MIME Confusion
am 11.07.2007 20:57:47 von JonN89
On my Windows 2k3 powered IIS 6.0 Server I'm having troubles changing
my MIME type.
I log in as a domain administrator, start > Run > inetmgr right click
the server and go into properties then to MIME type. I scroll down
for .msg and edit the MIME type to plan/text.
I restart IIS 6.0 by going back into inetmgr, right clicking my IIS
6.0 server > all Tasks>Restart IIS...
When it comes back... the MIME type has been reverted... can anyone
help me with this?!
Re: MIME Confusion
am 12.07.2007 08:11:43 von Steve Schofield
Try enabling the 'direct edit' feature in IIS Manager. That is one idea,
otherwise here is a good article on handling MIME types.
http://msdn2.microsoft.com/en-us/library/ms775148.aspx
--
Best regards,
Steve Schofield
Windows Server MVP - IIS
http://weblogs.asp.net/steveschofield
wrote in message
news:1184180267.616941.190160@r34g2000hsd.googlegroups.com.. .
> On my Windows 2k3 powered IIS 6.0 Server I'm having troubles changing
> my MIME type.
>
> I log in as a domain administrator, start > Run > inetmgr right click
> the server and go into properties then to MIME type. I scroll down
> for .msg and edit the MIME type to plan/text.
>
> I restart IIS 6.0 by going back into inetmgr, right clicking my IIS
> 6.0 server > all Tasks>Restart IIS...
>
> When it comes back... the MIME type has been reverted... can anyone
> help me with this?!
>
Re: MIME Confusion
am 12.07.2007 10:51:58 von David Wang
Let's not recommend "Edit while running" for this.
Please define what you mean by "reverted". Are you seeing the edited
value return in configuration as viewed by the UI, or are you seeing
responses for .msg still have the old Content-Type. Or some other
view.
Changing "global" MIME Types in IIS require a server restart to take
effect.
If "restarting" IIS happens to kill the metabase, where configuration
changes are made, but BEFORE the metabase changes are committed to
disk, on restart of IIS the old settings will come back (since the
change never saved to disk)
Please clarify exactly what you mean by "revert". Lots of things give
the *illusion* of settings reverting, including other processes that
reset IIS settings without you knowing.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Jul 11, 11:11 pm, "Steve Schofield" wrote:
> Try enabling the 'direct edit' feature in IIS Manager. That is one idea,
> otherwise here is a good article on handling MIME types.http://msdn2.microsoft.com/en-us/library/ms775148.aspx
>
> --
>
> Best regards,
>
> Steve Schofield
> Windows Server MVP - IIShttp://weblogs.asp.net/steveschofield
>
> wrote in message
>
> news:1184180267.616941.190160@r34g2000hsd.googlegroups.com.. .
>
>
>
> > On my Windows 2k3 powered IIS 6.0 Server I'm having troubles changing
> > my MIME type.
>
> > I log in as a domain administrator, start > Run > inetmgr right click
> > the server and go into properties then to MIME type. I scroll down
> > for .msg and edit the MIME type to plan/text.
>
> > I restart IIS 6.0 by going back into inetmgr, right clicking my IIS
> > 6.0 server > all Tasks>Restart IIS...
>
> > When it comes back... the MIME type has been reverted... can anyone
> > help me with this?!- Hide quoted text -
>
> - Show quoted text -
Re: MIME Confusion
am 12.07.2007 14:19:05 von JonN89
On Jul 12, 4:51 am, David Wang wrote:
> Let's not recommend "Edit while running" for this.
>
> Please define what you mean by "reverted". Are you seeing the edited
> value return in configuration as viewed by the UI, or are you seeing
> responses for .msg still have the old Content-Type. Or some other
> view.
>
> Changing "global" MIME Types in IIS require a server restart to take
> effect.
>
> If "restarting" IIS happens to kill the metabase, where configuration
> changes are made, but BEFORE the metabase changes are committed to
> disk, on restart of IIS the old settings will come back (since the
> change never saved to disk)
>
> Please clarify exactly what you mean by "revert". Lots of things give
> the *illusion* of settings reverting, including other processes that
> reset IIS settings without you knowing.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
>
> On Jul 11, 11:11 pm, "Steve Schofield" wrote:
>
> > Try enabling the 'direct edit' feature in IIS Manager. That is one idea,
> > otherwise here is a good article on handling MIME types.http://msdn2.microsoft.com/en-us/library/ms775148.aspx
>
> > --
>
> > Best regards,
>
> > Steve Schofield
> > Windows Server MVP - IIShttp://weblogs.asp.net/steveschofield
>
> > wrote in message
>
> >news:1184180267.616941.190160@r34g2000hsd.googlegroups.com. ..
>
> > > On my Windows 2k3 powered IIS 6.0 Server I'm having troubles changing
> > > my MIME type.
>
> > > I log in as a domain administrator, start > Run > inetmgr right click
> > > the server and go into properties then to MIME type. I scroll down
> > > for .msg and edit the MIME type to plan/text.
>
> > > I restart IIS 6.0 by going back into inetmgr, right clicking my IIS
> > > 6.0 server > all Tasks>Restart IIS...
>
> > > When it comes back... the MIME type has been reverted... can anyone
> > > help me with this?!- Hide quoted text -
>
> > - Show quoted text -
Well i change it from application/x-message or something like that, to
plan/text I press ok, apply then ok... I do a iis stop then an iis
start and when i double check to see if the settings changed, the .msg
is back to the application/x-message value...
Jonathan Nies
Re: MIME Confusion
am 12.07.2007 18:06:11 von David Wang
On Jul 12, 5:19 am, "Jon...@gmail.com" wrote:
> On Jul 12, 4:51 am, David Wang wrote:
>
>
>
>
>
> > Let's not recommend "Edit while running" for this.
>
> > Please define what you mean by "reverted". Are you seeing the edited
> > value return in configuration as viewed by the UI, or are you seeing
> > responses for .msg still have the old Content-Type. Or some other
> > view.
>
> > Changing "global" MIME Types in IIS require a server restart to take
> > effect.
>
> > If "restarting" IIS happens to kill the metabase, where configuration
> > changes are made, but BEFORE the metabase changes are committed to
> > disk, on restart of IIS the old settings will come back (since the
> > change never saved to disk)
>
> > Please clarify exactly what you mean by "revert". Lots of things give
> > the *illusion* of settings reverting, including other processes that
> > reset IIS settings without you knowing.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> > //
>
> > On Jul 11, 11:11 pm, "Steve Schofield" wrote:
>
> > > Try enabling the 'direct edit' feature in IIS Manager. That is one idea,
> > > otherwise here is a good article on handling MIME types.http://msdn2.microsoft.com/en-us/library/ms775148.aspx
>
> > > --
>
> > > Best regards,
>
> > > Steve Schofield
> > > Windows Server MVP - IIShttp://weblogs.asp.net/steveschofield
>
> > > wrote in message
>
> > >news:1184180267.616941.190160@r34g2000hsd.googlegroups.com. ..
>
> > > > On my Windows 2k3 powered IIS 6.0 Server I'm having troubles changing
> > > > my MIME type.
>
> > > > I log in as a domain administrator, start > Run > inetmgr right click
> > > > the server and go into properties then to MIME type. I scroll down
> > > > for .msg and edit the MIME type to plan/text.
>
> > > > I restart IIS 6.0 by going back into inetmgr, right clicking my IIS
> > > > 6.0 server > all Tasks>Restart IIS...
>
> > > > When it comes back... the MIME type has been reverted... can anyone
> > > > help me with this?!- Hide quoted text -
>
> > > - Show quoted text -
>
> Well i change it from application/x-message or something like that, to
> plan/text I press ok, apply then ok... I do a iis stop then an iis
> start and when i double check to see if the settings changed, the .msg
> is back to the application/x-message value...
>
> Jonathan Nies- Hide quoted text -
>
> - Show quoted text -
Please define "do a iis stop then an iis start". What command/menu are
you choosing.
If your actions involve IISRESET.EXE, then you probably see some
variation of this:
http://blogs.msdn.com/david.wang/archive/2005/04/27/IIS-Conf iguration-Mysteriously-Disappear.aspx
Basically, do not use IISRESET in any way on IIS6. It was never a good
idea on prior IIS versions other than the fact it killed some run-away
processes, but that's a thing of the past, so the tool is no longer
useful. Are you running other services on IIS, like Exchange, SMTP,
NNTP, or POP3, which may slow down metabase shutdown and cause
IISRESET to kill the process.
I use:
NET STOP /y IISADMIN & NET START W3SVC
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//