Forum Moderators: open

Message Too Old, No Replies

Prevent aspnet client being added to sites

Auto-installed aspnet_client is not wanted

         

dstiles

11:06 pm on Nov 14, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Almost every time MS includes ASP.NET in a bug-fix/upgrade an empty folder aspnet_client (and several empty sub-folders) gets added to EVERY site on the server.

I do NOT want this! The server has a mix of original ASP, plain html and PHP, none of which are ever going to be ASP.NET. Unfortunately one service does require ASP.NET - the backup mail server's manager - otherwise I could disable the thing.

Does anyone know how to prevent MS installing these folders? And also prevent it adding "powered by..." to every header? Apart from the fact it isn't, I don't want to advertise any more server details than I have to (yes, I know it can be discovered but why make it easy for bots?).

Ocean10000

6:11 pm on Nov 15, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month




How to Remove X-Powered-By: ASP.NET. [iishacks.com]

The easiest way to use the following tool to remove asp.net for all sites. Then reregister it only for the backup mail server manager.
ASP.NET IIS Registration Tool [msdn.microsoft.com]

dstiles

11:11 pm on Nov 15, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Many thanks.

I know how to remove/edit header fields but it's become annoying to have to continually do so. The MS site link looks very useful, though. I spent ages trying to google something like that! :)