Hello.

Running Win 2003 Server and IIS.

We started getting in internal server error (HTTP 500) from IIS. I tracked
it down to the machine.config file.

When I tried to edit the file through the IIS mmc (Properties/ASP.Net/Edit
Configuration button on the bottom) is was presented with an error that
alluded to the "byte order mark prefix". Sorry, I don't remember the exact
message.

To fix this I opened the Machine.config file in notepad and changed the
value of the "encoding" property in the preamble from UTF-16 to UTF-8, and
everything now works.

So my questions are:

1) How did this get corrupt?
2) Is there a problem with having UTF-8 as opposed to UTF-16?
3) What would I need to do to get this back to UTF-16?

NOTE: I found out from the operations guys that they did a Windows Update on
the server last night. Could that have clobbered it?

Thanks in advance,

Mike