<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>KWSupport : IIS</title><link>http://msmvps.com/blogs/kwsupport/archive/tags/IIS/default.aspx</link><description>Tags: IIS</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Cleanup Old  Log Files (revisited)</title><link>http://msmvps.com/blogs/kwsupport/archive/2007/12/29/cleanup-old-log-files-revisited.aspx</link><pubDate>Sat, 29 Dec 2007 13:36:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1425501</guid><dc:creator>kwsupport</dc:creator><slash:comments>16</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/kwsupport/rsscomments.aspx?PostID=1425501</wfw:commentRss><comments>http://msmvps.com/blogs/kwsupport/archive/2007/12/29/cleanup-old-log-files-revisited.aspx#comments</comments><description>Back in Nov-2006 I wrote about a free script (WaRmZip) you could download to be used for deleting old log files . That script includes a lot of features and flexibility. Here&amp;#39;s a simpler script that does a similar cleanup of old log files that you...(&lt;a href="http://msmvps.com/blogs/kwsupport/archive/2007/12/29/cleanup-old-log-files-revisited.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1425501" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/IIS/default.aspx">IIS</category><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/SBS2003/default.aspx">SBS2003</category></item><item><title>Cleanup log files</title><link>http://msmvps.com/blogs/kwsupport/archive/2006/11/24/cleanup-log-files.aspx</link><pubDate>Fri, 24 Nov 2006 22:07:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:336706</guid><dc:creator>kwsupport</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/kwsupport/rsscomments.aspx?PostID=336706</wfw:commentRss><comments>http://msmvps.com/blogs/kwsupport/archive/2006/11/24/cleanup-log-files.aspx#comments</comments><description>&lt;P&gt;I stumbled across a handy Windows script file (WaRmZip) that is an all purpose utility for cleaning, compressing and/or moving outdated log files. For example, you may want to delete&amp;nbsp;certain files&amp;nbsp;older than X days. You can download this utility at WinAdmin's web site: &lt;A href="http://winadmin.forret.com/scripts/warmzip"&gt;http://winadmin.forret.com/scripts/warmzip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;One use of this utility is&amp;nbsp;to delete older IIS log files. Go to C:\Windows\System32\LogFiles directory on your server, and take a look at the contents of each of the subfolders (W3SVC1, etc).&amp;nbsp; You may be surprised to find hundreds of files in each of these subfolders. Using the WaRmZip utility, I can create a one line batch file to handle removing these log files, and then schedule this batch file to run weekly or monthly.&lt;/P&gt;
&lt;P&gt;Here's the one line batch command: "C:\WaRmZip17\WaRmZip.wsf" "C:\Windows\System32\LogFiles" /da:7 /r /q&lt;/P&gt;
&lt;P&gt;In this example,&amp;nbsp;the da:7 option says to delete files older than 7 days, the /r option says to process all sub folders, and the /q option says to run it quietly&amp;nbsp;(non verbose). There are options to zip/compress these files instead, if that is your preference, or to move them to a different drive/folder.&lt;/P&gt;
&lt;P&gt;Enjoy!&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=336706" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/IIS/default.aspx">IIS</category><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/SBS2003/default.aspx">SBS2003</category></item><item><title>Recreate Virtual IIS directories</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/10/02/14723.aspx</link><pubDate>Sat, 02 Oct 2004 14:33:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:14723</guid><dc:creator>kwsupport</dc:creator><slash:comments>12</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/kwsupport/rsscomments.aspx?PostID=14723</wfw:commentRss><comments>http://msmvps.com/blogs/kwsupport/archive/2004/10/02/14723.aspx#comments</comments><description>&lt;P&gt;This post comes via Ray and Damian at Microsoft, via Les!&lt;/P&gt;
&lt;P&gt;Sometimes, things just get so screwed up that you want to re-create the&amp;nbsp;virtual directories. I know the feeling. Thanks to Ray Fong and Damian&amp;nbsp;Leibaschoff (both MS) for previous posts, here is how to do it.&lt;BR&gt;&lt;BR&gt;In IIS, expand Default Web site and remove the following virtual&amp;nbsp;directories:&lt;BR&gt;- EXCHANGE&lt;BR&gt;- EXCHWEB&lt;BR&gt;- PUBLIC&lt;BR&gt;- OMA&lt;BR&gt;- EXADMIN&lt;BR&gt;- (Do not remove EXCHANGE-OMA)&lt;BR&gt;&amp;nbsp;&lt;BR&gt; Then, enable real time editing of the metabase in IIS admin, for this:&lt;BR&gt;1.&amp;nbsp;Open properties on the server object.&lt;BR&gt;2. Check the box 'Enable direct metabase edit'&lt;BR&gt;3. After this, open windows explorer and navigate to the following directory: &lt;STRONG&gt;windows\system32\inetsrv&lt;/STRONG&gt;&lt;BR&gt;4. Edit metabase.xml (make a backup first) with notepad and navigate to the following section: &amp;nbsp;/LM/DS2MB/HighWaterMarks&lt;BR&gt;5. Set the Value="207778" to zero or delete it.&amp;nbsp; This value will be located in&amp;nbsp;a string value like the following (The value may be different):&lt;BR&gt;&lt;BR&gt;&amp;nbsp;/LM/DS2MB/HighWaterMarks/{79F81D41-A652-4375-85F0-41A16037CC85} &amp;gt;&lt;BR&gt;&amp;nbsp;&amp;lt;Custom&lt;BR&gt;&amp;nbsp; Name="UnknownName_61472"&lt;BR&gt;&amp;nbsp; ID="61472"&lt;BR&gt;&amp;nbsp; Value="207778" &amp;lt;----- Set this to "0"&lt;BR&gt;&amp;nbsp; Type="STRING"&lt;BR&gt;&amp;nbsp; UserType="IIS_MD_UT_SERVER"&lt;BR&gt;&amp;nbsp; Attributes="NO_ATTRIBUTES"&lt;BR&gt;&amp;nbsp;&lt;BR&gt;6. Alternatively, you can use Metaedit to make these changes.&lt;BR&gt;7. Save the file.&lt;BR&gt;8.&amp;nbsp;Run IISRESET and then re-start the MsExchangeSA service.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;The deleted virtual directories should get re-created after a few minutes&amp;nbsp;from the information&amp;nbsp;that Exchange keeps in Active Directory.&lt;BR&gt;--&amp;nbsp;&lt;BR&gt; Les Connor [SBS Community Member]&lt;BR&gt;-------------------------------------&lt;BR&gt;SBS Rocks !&lt;BR&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=14723" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/Sharepoint/default.aspx">Sharepoint</category><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/IIS/default.aspx">IIS</category><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/SBS2003/default.aspx">SBS2003</category></item><item><title>Tips to installing MELL - Microsoft e-Learning Library</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/08/19/12053.aspx</link><pubDate>Thu, 19 Aug 2004 23:52:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:12053</guid><dc:creator>kwsupport</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/kwsupport/rsscomments.aspx?PostID=12053</wfw:commentRss><comments>http://msmvps.com/blogs/kwsupport/archive/2004/08/19/12053.aspx#comments</comments><description>&lt;P&gt;Thanks to Jonathan for providing these notes:&lt;/P&gt;
&lt;P&gt;Installing MELL on a Microsoft SBS 2003 Server&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;STRONG&gt;Step 1: &lt;/STRONG&gt;Follow the steps to install MELL on a web server as outlined in the Mell 2.x&amp;nbsp;Deployment Guide located here:&lt;BR&gt;&amp;nbsp;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=9240&amp;amp;clcid=0x409"&gt;http://go.microsoft.com/fwlink/?LinkId=9240&amp;amp;clcid=0x409&lt;/A&gt;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;STRONG&gt;Step 2: &lt;/STRONG&gt;Once completed, you'll note that when trying to access MELL via&amp;nbsp;&lt;A href="http://servername/mell/eng"&gt;http://servername/mell/eng&lt;/A&gt;, you get the following error:&lt;BR&gt;&amp;nbsp;006~ASP 0175~Disallowed Path Characters~The '..' characters are not allowed&amp;nbsp;in the Path parameter for the MapPath method.&lt;BR&gt;&lt;BR&gt;When attempting to access the reports via&amp;nbsp;&lt;A href="http://servername/mell/eng/reports"&gt;http://servername/mell/eng/reports&lt;/A&gt;, you'll get the following error (if 'Show&amp;nbsp;&lt;BR&gt; friendly HTTP error messages' is disabled in IE):&amp;nbsp;&amp;nbsp;&amp;nbsp;Microsoft VBScript runtime error '800a01f4'&amp;nbsp;&amp;nbsp;Variable is undefined: 'Session'&amp;nbsp;&amp;nbsp;/mell/eng/reports/inc/reportfunctions.inc, line 987&lt;BR&gt;&amp;nbsp;&lt;BR&gt;To resolve both of these issues, open Internet Information Services Manager &amp;gt; (Start--&amp;gt;All Programs--&amp;gt;Administrative Tools--Internet Information Services &amp;gt; (IIS) Manager).&amp;nbsp; Expand the server, expand the 'Web Sites' folder, and&amp;nbsp;expand the 'Default Web Site'.&amp;nbsp; Right-click on the folder named 'MELL', and&amp;nbsp;select 'Properties'.&lt;BR&gt;&lt;BR&gt;On the Virtual Directory tab, click on the 'Configuration' button.&amp;nbsp; Go to&amp;nbsp;the 'Options' tab.&amp;nbsp; Turn on the 'Enable session state' and 'Enable parent&amp;nbsp;paths' options by checking them.&amp;nbsp; Click on OK twice.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;STRONG&gt; Step 3: &lt;/STRONG&gt;Restart Internet Information Services (Start--&amp;gt;Run--&amp;gt;'iisreset').&lt;BR&gt;&amp;nbsp;&lt;BR&gt;That's it!&amp;nbsp; Hope that helps someone.&amp;nbsp;&amp;nbsp;&lt;BR&gt; Jonathan Kok&amp;nbsp;&lt;BR&gt; &lt;BR&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=12053" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/IIS/default.aspx">IIS</category><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/SBS2003/default.aspx">SBS2003</category></item><item><title>Changing the SSL port number used by OWA</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/08/06/11389.aspx</link><pubDate>Sat, 07 Aug 2004 04:21:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:11389</guid><dc:creator>kwsupport</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/kwsupport/rsscomments.aspx?PostID=11389</wfw:commentRss><comments>http://msmvps.com/blogs/kwsupport/archive/2004/08/06/11389.aspx#comments</comments><description>&lt;P&gt;A question was asked &amp;#8220;How can I change the SSL port# used to access OWA?&amp;#8220;. This response was provided by Ray Fong (assuming we want to change the port# from 443 to 10001:&lt;BR&gt;&lt;BR&gt;1. Go to Exchange System Manager, Protocols -&amp;gt; HTTP. Right-click New HTTP Virtual Server.&lt;BR&gt;2. Specify "Exchange OWA 10001" for the name.&lt;BR&gt;3. Click Advanced, modify, change the port from 80 to 81. SSL port is not available, that's OK.&lt;BR&gt;4. After you click OK and Applied, go back to the same screen. Now remove port 81 and specify 10001 as the SSL port. Click OK all the way.&lt;BR&gt;5. Follow the steps below to force the DS2MB replication.&lt;BR&gt;&lt;BR&gt;a. Go to IIS, right-click servername (local computer), Properties. Backup/Restore Configuration to save a copy of IIS settings&lt;BR&gt;b. Right-click servername (local computer), Properties. Check Enable Direct Metabase Edit.&lt;BR&gt;c. Open MetaBase.xml with Notepad.&lt;BR&gt;d. Locate the following object where ID = 61472&lt;BR&gt;&lt;BR&gt;&amp;lt;IIsConfigObject&amp;nbsp; Location &lt;BR&gt;="/LM/DS2MB/HighWaterMarks/{57F70E62-7E37-472B-A9F0-3BE08883AC5A}"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;Custom&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name="UnknownName_61472"&lt;BR&gt;ID="61472"&amp;nbsp;&amp;nbsp; (&amp;lt;---- This one)&lt;BR&gt;Value="53322"&lt;BR&gt;Type="STRING"&lt;BR&gt;UserType="IIS_MD_UT_SERVER"&lt;BR&gt;Attributes="NO_ATTRIBUTES"&lt;BR&gt;&amp;nbsp;&amp;nbsp; /&amp;gt;&lt;BR&gt;&lt;BR&gt;e. Change the Value to "0". Your original number will not be "53322". &lt;BR&gt;f. Save the file.&lt;BR&gt;g. From a command prompt, type "iisreset"&lt;BR&gt;h. Restart Exchange System Attendant&lt;BR&gt;&lt;BR&gt;6. Now, OWA is available via &lt;A href="https://FQDN:10001"&gt;https://FQDN:10001&lt;/A&gt;&lt;BR&gt;&lt;BR&gt;Ray Fong&lt;BR&gt;Microsoft SBS Product Support&lt;BR&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=11389" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/Exchange/default.aspx">Exchange</category><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/IIS/default.aspx">IIS</category></item><item><title>Create Multiple Websites with one IP address (Host Headers)</title><link>http://msmvps.com/blogs/kwsupport/archive/2004/03/15/3938.aspx</link><pubDate>Mon, 15 Mar 2004 18:37:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:3938</guid><dc:creator>kwsupport</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/kwsupport/rsscomments.aspx?PostID=3938</wfw:commentRss><comments>http://msmvps.com/blogs/kwsupport/archive/2004/03/15/3938.aspx#comments</comments><description>&lt;p&gt;Here are links to several web pages offering detailed information on using Host Headers:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm"&gt;http://www.iisanswers.com/Top10FAQ/t10-hostheaders.htm&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.4guysfromrolla.com/webtech/080200-1.shtml"&gt;http://www.4guysfromrolla.com/webtech/080200-1.shtml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/windows2000/techinfo/reskit/en-us/iisbook/c08_hosting_multiple_sites_with_one_ip_address.asp"&gt;http://www.microsoft.com/windows2000/techinfo/reskit/en-us/default.asp?url=/windows2000/techinfo/reskit/en-us/iisbook/c08_hosting_multiple_sites_with_one_ip_address.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.experts-exchange.com/Web/Web_Servers/Q_20895583.html"&gt;http://www.experts-exchange.com/Web/Web_Servers/Q_20895583.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=3938" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/kwsupport/archive/tags/IIS/default.aspx">IIS</category></item></channel></rss>