Today I was testing, or trying to test, the WMS Administrator for the Web but this came up when I tried to open it,  which is weird to say the least since this is Windows Server 2008 with Internet Explorer 8 and everything is up2date.

Browser not supported this Windows Media Service Web Administrator requires Netscape version 5 or late.  You are currently using connected using Browser : Netscape Version : 4 You must upgrade your browser before continuing
Browser not supported this Windows Media Service Web Administrator requires Netscape version 5 or late.  You are currently using connected using Browser : Netscape Version : 4 You must upgrade your browser before continuing

This error is popping up because of the way IE7 and IE8 announces itself to the web page via the User-Agent line which in IE 8 is ” Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0) ” which this web page apparantly interprets as Netscape 4.

Fortunately it’s relatively easy to bypass this error,  all we have to do is modify the source for the Web Administrator so it think that Netscape 4 is good enough for the website.  To do that we need to edit the wmsConstants.inc file which is located in the “%windir%\System32\windows media\server\Admin\web\en-US\wmssecure\include” directory.

In that file we need to the change the “Const MIN_NSCP_VERSION    = 5” line to “Const MIN_NSCP_VERSION    = 4” and voila, we can now use the WMS (2008) Administrator for the web (or as I like to call it WMS 2008 Web Administrator).  You probably need to claim ownership of the file so you can edit it because of the WRP (Windows Resource Protection).

For fun here are some of the user-agent strings for various browsers I have available to me.

Firefox 3.5.4
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4

Internet Explorer 6.0
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

Internet Explorer 8.0
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; InfoPath.1; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)