November 2010 (1)
August 2010 (1)
July 2010 (1)
June 2010 (3)
July 2009 (3)
June 2009 (1)
May 2009 (1)
February 2009 (1)
January 2009 (1)
November 2008 (3)
October 2008 (4)
September 2008 (9)
August 2008 (6)
July 2008 (3)
June 2008 (3)
January 2008 (1)
November 2007 (2)
October 2007 (6)
September 2007 (5)
August 2007 (22)
July 2007 (6)
June 2007 (1)
May 2007 (3)
April 2007 (27)
March 2007 (8)
February 2007 (6)
September 2006 (2)
August 2006 (4)
July 2006 (9)
June 2006 (17)
May 2006 (20)
April 2006 (12)
March 2006 (9)
February 2006 (4)
January 2006 (3)
December 2005 (2)
November 2005 (4)
October 2005 (5)
September 2005 (37)
August 2005 (83)
July 2005 (6)

Active Directory / LDAP (0)
ASP.Net (19)
Blackberry Development (4)
c# (34)
c++ (3)
Code Camp (1)
Excel (1)
Exchange (3)
Front Page 2003 (6)
FTP User Editor (4)
HTML / CSS / DHTML (8)
IIS (146)
IIS - Log Parser (7)
IIS / FTP (12)
IIS / Tools / Administration (42)
IIS / Tools / Authentication (6)
IIS / Tools / Compression (8)
IIS / Tools / Crash & Hang (12)
IIS / Tools / ISAPI Filters (17)
IIS / Tools / Log Files (17)
IIS / Tools / Scripts (28)
IIS / Tools / Security (9)
IIS / Tools / SSL (6)
IIS 7 (3)
Internet Information Server (1)
Me (Chris Crowe) (6)
MIME Types (1)
Misc (72)
Oulook Express (2)
Silverlight (1)
SQL Server (27)
SQL Server CTE (1)
Vista (15)
Vista Gadgets (8)
Visual Studio (11)
Voice over BroadBand (1)
Windows (33)
Windows Powershell (3)
Windows Sharepoint Services (0)
Windows Sharepoint Services (15)
Windows Vista (14)
Wine Cellar (1)
WMI (8)
Front Page 2003 (6) blog.crowe.co.nz.Models.Category

Front Page 2003

IIS 7 Reports Module: Server and Site Reports

IIS 7 Reports Module: Server and Site Reports

IIS Reports This application extends IIS 7.0 Manager by adding a new Reports option that gives you a few reports of the server and site activity. Its features include:
  • Reports are scoped on the object selected in IIS Manager, so if server is selected you get a server report including all Sites information, if a site is selected you only get information related to that specific site
  • Export to HTML
  • Printing support
  • Different chart options: Pie, Columns and Lines
  • Built-in Reports:
    • Status Code, Hits Per Url, Hits by Hour, User Agent, File Extensions
    • Users, Time Taken, Win32 Errors, Client Machine, Http Method
Note: This library is free, you can distribute it and use it at your own will and risk, it is not supported by any company including Microsoft or any other company, it does not belong to any company.

This has been tested using Windows Vista and the Windows Longhorn Server.


C# - How to display almost all properties for all IIS Virtual Web Servers

Source Code

Note: You will need to add a reference to System.DirectoryServices if you are using VisualStudio.net

using System;
using System.DirectoryServices;
namespace IISSample
{
    static class Program
    {
        /// 
        /// The main entry point for the application.
        /// 
        [STAThread]
        static void Main()
        {
            const string WebServerSchema = "IIsWebServer"; // Case Sensitive
            string ServerName = "LocalHost";
            DirectoryEntry W3SVC = new DirectoryEntry("IIS://" + ServerName + "/w3svc");
            foreach (DirectoryEntry Site in W3SVC.Children)
            {
                if (Site.SchemaClassName == WebServerSchema)
                {
                    Console.WriteLine("WebSite Instance ID : " +Site.Name);
                    foreach (string PropertyName in Site.Properties.PropertyNames)
                    {
                        Console.WriteLine(PropertyName);
                        PropertyValueCollection pvc = Site.Properties[PropertyName];
                        foreach(object Value in pvc)
                            Console.WriteLine("  " + Value.ToString());
                    }
                }
                Console.WriteLine("".PadRight(80, '-'));
            }
        }
    }
}

Example Output:

ServerSize
  1
NotDeletable
  True
FrontPageWeb
  True
ServerAutoStart
  True
ServerState
  2
ServerComment
  Default Web Site
KeyType
  IIsWebServer
DefaultDoc
  Default.htm,Default.asp,index.htm,iisstart.asp
SecureBindings
  :443:
ServerBindings
  :80:
  :9090:chris
CPUResetInterval
  1440
CPULoggingInterval
  60
CPULoggingOptions
  1
CPULoggingMask
  255
CPUCGIEnabled
  True
CPUAppEnabled
  True
AnonymousPasswordSync
  True
LogType
  1
LogFilePeriod
  1
LogFileTruncateSize
  20971520
LogExtFileFlags
  1414
DirBrowseFlags
  1073741886
CacheISAPI
  True
AllowKeepAlive
  True
CGITimeout
  300
ConnectionTimeout
  900
MaxConnections
  10
ContentIndexed
  True
PasswordChangeFlags
  6
AspLogErrorRequests
  True
AspScriptFileCacheSize
  250
AspScriptEngineCacheMax
  125
AspExceptionCatchEnable
  True
AspTrackThreadingModel
  False
AspAllowOutOfProcComponents
  True
AspEnableAspHtmlFallback
  False
AspEnableChunkedEncoding
  True
AspEnableTypelibCache
  True
AspErrorsToNTLog
  False
AspProcessorThreadMax
  25
AspRequestQueueMax
  3000
AspThreadGateEnabled
  False
AspThreadGateTimeSlice
  1000
AspThreadGateSleepDelay
  100
AspThreadGateSleepMax
  50
AspThreadGateLoadLow
  50
AspThreadGateLoadHigh
  80
AspMaxDiskTemplateCacheFiles
  1000
AspAllowSessionState
  True
AspBufferingOn
  True
AspEnableParentPaths
  True
AspSessionTimeout
  20
AspQueueTimeout
  -1
AspCodepage
  0
AspScriptTimeout
  90
AspScriptErrorSentToBrowser
  True
AppAllowDebugging
  False
AppAllowClientDebug
  False
AspKeepSessionIDSecure
  False
AspBufferingLimit
  134217728
AspEnableApplicationRestart
  True
AspQueueConnectionTestTime
  3
AspSessionMax
  -1
AspLCID
  2048
AspMaxRequestEntityAllowed
  1073741824
AuthFlags
  5
AnonymousUserName
  IUSR_CCROWE
AnonymousUserPass
  O0vqT^=Vz:2\9&
NTAuthenticationProviders
  Negotiate,NTLM
LogPluginClsid
  {FF160663-DE82-11CF-BC0A-00AA006111E0}
Realm
  ap.trimblecorp.net
AspScriptLanguage
  VBScript
AspScriptErrorMessage
  An error occurred on the server when processing the URL.  Please contact the system administrator.
AdminACL
  System.__ComObject
LogFileDirectory
  C:\WINDOWS\system32\LogFiles
AspDiskTemplateCacheDirectory
  %windir%\system32\inetsrv\ASP Compiled Templates
HttpErrors
  400,*,FILE,C:\WINDOWS\help\iisHelp\common\400.htm
  401,1,FILE,C:\WINDOWS\help\iisHelp\common\401-1.htm
  401,2,FILE,C:\WINDOWS\help\iisHelp\common\401-2.htm
  401,3,FILE,C:\WINDOWS\help\iisHelp\common\401-3.htm
  401,4,FILE,C:\WINDOWS\help\iisHelp\common\401-4.htm
  401,5,FILE,C:\WINDOWS\help\iisHelp\common\401-5.htm
  403,1,FILE,C:\WINDOWS\help\iisHelp\common\403-1.htm
  403,2,FILE,C:\WINDOWS\help\iisHelp\common\403-2.htm
  403,3,FILE,C:\WINDOWS\help\iisHelp\common\403-3.htm
  403,4,FILE,C:\WINDOWS\help\iisHelp\common\403-4.htm
  403,5,FILE,C:\WINDOWS\help\iisHelp\common\403-5.htm
  403,6,FILE,C:\WINDOWS\help\iisHelp\common\403-6.htm
  403,7,FILE,C:\WINDOWS\help\iisHelp\common\403-7.htm
  403,8,FILE,C:\WINDOWS\help\iisHelp\common\403-8.htm
  403,9,FILE,C:\WINDOWS\help\iisHelp\common\403-9.htm
  403,10,FILE,C:\WINDOWS\help\iisHelp\common\403-10.htm
  403,11,FILE,C:\WINDOWS\help\iisHelp\common\403-11.htm
  403,12,FILE,C:\WINDOWS\help\iisHelp\common\403-12.htm
  403,13,FILE,C:\WINDOWS\help\iisHelp\common\403-13.htm
  403,15,FILE,C:\WINDOWS\help\iisHelp\common\403-15.htm
  403,16,FILE,C:\WINDOWS\help\iisHelp\common\403-16.htm
  403,17,FILE,C:\WINDOWS\help\iisHelp\common\403-17.htm
  404,*,FILE,C:\WINDOWS\help\iisHelp\common\404b.htm
  405,*,FILE,C:\WINDOWS\help\iisHelp\common\405.htm
  406,*,FILE,C:\WINDOWS\help\iisHelp\common\406.htm
  407,*,FILE,C:\WINDOWS\help\iisHelp\common\407.htm
  412,*,FILE,C:\WINDOWS\help\iisHelp\common\412.htm
  414,*,FILE,C:\WINDOWS\help\iisHelp\common\414.htm
  500,12,FILE,C:\WINDOWS\help\iisHelp\common\500-12.htm
  500,13,FILE,C:\WINDOWS\help\iisHelp\common\500-13.htm
  500,15,FILE,C:\WINDOWS\help\iisHelp\common\500-15.htm
ScriptMaps
  .asp,C:\WINDOWS\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE
  .cer,C:\WINDOWS\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE
  .cdx,C:\WINDOWS\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE
  .asa,C:\WINDOWS\system32\inetsrv\asp.dll,5,GET,HEAD,POST,TRACE
  .idc,C:\WINDOWS\system32\inetsrv\httpodbc.dll,5,OPTIONS,GET,HEAD,POST,PUT,DELETE,TRACE
  .shtm,C:\WINDOWS\system32\inetsrv\ssinc.dll,5,GET,POST
  .shtml,C:\WINDOWS\system32\inetsrv\ssinc.dll,5,GET,POST
  .stm,C:\WINDOWS\system32\inetsrv\ssinc.dll,5,GET,POST
  .asax,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .ascx,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .ashx,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .asmx,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .aspx,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .axd,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .vsdisco,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .rem,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .soap,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .config,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .cs,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .csproj,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .vb,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .vbproj,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .webinfo,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .licx,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .resx,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .resources,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .master,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .skin,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .compiled,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .browser,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .mdb,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .jsl,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .vjsproj,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .sitemap,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .msgx,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .ad,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .dd,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .ldd,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .sd,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .cd,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .adprototype,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .lddprototype,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .sdm,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .sdmDocument,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .ldb,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .svc,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG
  .mdf,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .ldf,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .java,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .exclude,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
  .refresh,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,5,GET,HEAD,POST,DEBUG
HttpCustomHeaders
  X-Powered-By: ASP.NET
MaxBandwidth
  -1

You can also do this for all of the IIS Classes such as:

IIsCertMapper Maps certificates to Windows accounts.
IIsCompressionSchemes Global settings for HTTP 1.1 compression schemes.
IIsCompressionScheme Settings for individual compression schemes.
IIsComputer Establishes global settings for IIS configuration.
IIsCustomLogModule Sets properties for custom logging information field nodes.
IIsFilter Provides information about a specific filter.
IIsFilters Manages filters.
IIsFtpInfo Establishes configuration properties for FTP servers in addition to those set at IIsFtpService.
IIsFtpServer Establishes configuration properties for a single FTP server.
IIsFtpService Establishes configuration properties common to all FTP servers.
IIsFtpVirtualDir Sets properties for an individual FTP virtual directory.
IIsIPSecurity A custom ADSI object you can use to set access permissions by IP address and domain address.
IIsLogModule Contains information about a specific logging module.
IIsLogModules Maintains information about installed logging modules.
IIsMimeMap Manages Multipurpose Internet Mail Extension (MIME) mappings.
IIsMimeType Used to manipulate the list of valid MIME types.
IIsWebDirectory Sets properties for an individual Web directory.
IIsWebFile Sets properties for an individual Web file.
IIsWebInfo Establishes configuration properties for Web servers in addition to those set at IIsWebService.
IIsWebServer Establishes configuration properties for a single Web server.
IIsWebService Establishes configuration properties common to all Web servers.
IIsWebVirtualDir Sets properties for an individual Web virtual directory.

Note: Note all classes are available at all levels in the IIS Metabase Hierarchy - so you can not for example get an IIsVirtualDirectory at the same level as the IIsWebServer because it is a child element of an IIsWebServer

For more details see the following references


Trying to administer Front Page Server Extensions results in you being prompted to Log on

When you use the fully qualified domain name (FQDN) to administer a web site that is configured to use Host Headers on a computer that is running Windows XP SP2 or Windows 2003 Server SP1, you may receive an authentication dialog that will not accept any credentials that you enter.

This can be seen by right clicking a web site and try to configure the Front Page Server Extensions which will open.

This can be cuased by Windows XP SP2 and Windows Server 2003 SP1 which include a loopback check security feature that is designed to help prevent reflection attacks on your computer. Therefore, authentication fails if the FQDN that you use does not match the local computer name which if using host headers probably does not.
 

To work around this you could disable the loopback check

Follow these steps:
1. Click Start, click Run, type regedit, and then click OK.
2. In Registry Editor, locate and then click the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3. Right-click Lsa, point to New, and then click DWORD Value.
4. Type DisableLoopbackCheck, and then press ENTER.
5. Right-click DisableLoopbackCheck, and then click Modify.
6. In the Value data box, type 1, and then click OK.
7. Quit Registry Editor, and then restart your computer.
 

Get ideas of keywords for your web sites

Get ideas for new keywords that can help you improve your relevance to queries that user submit to search engines

Google
https://adwords.google.com/select/KeywordSandbox

Example from Google

I used the following keywords: 

  • Metabase, ADSI, Blog, iis, sharepoint, internet,information,services,ii5,iis6,Windows,Sharepoint

and got the following results ( Note: more results where returned that displayed below )

  • internet providers
  • internet service providers
  • internet access
  • windows
  • cable internet
  • information
  • internet
  • services
  • dial up internet
  • internet banking
  • internet roaming
  • blog
  • escort services
  • windows media player
  • windows xp upgrade
  • cable internet service
  • sash windows
  • internet services
  • dating services
  • dial up internet access
  • phone services
  • cleaning services
  • cheap internet service
  • international internet
  • nanny services
  • hosting services
  • internet radio
  • information security
  • windows server
  • windows 98 upgrade
  • windows 2000
  • mailing services
  • moving services
  • management information system
  • iis


Overture
http://inventory.overture.com/d/searchinventory/suggestion/

Example from Overture

I used the following key word: 

  • IIS

and got the following results ( Note: more results where returned that displayed below )

Searches done in August 2005
Count Search Term
 6481  iis
 1076  download iis
 593  o2 xda iis
 572  xda iis
 553  read iis server log
 460  microsoft iis
 403  iis intranet
 371  iis server
 369  ti 30x iis
 344  php iis
 336  iis window xp
 333  identix.com iis
 331  iis web server


Front Page - Creating an RSS Feed for Your FrontPage Web Site

Microsoft has released a white paper on RSS and how to programmatically create an RSS file for your FrontPage 2003 Web site. The download that accompanies this article contains a VBA project and an XSLT file that you can use to generate and display RSS feeds

Many resources available on the Internet explain RSS and the various RSS schemas. Here are a few resources that you might find useful:

For more details see http://msdn.microsoft.com/office/default.aspx?pull=/library/en-us/odc_fp2003_ta/html/OfficeFrontPageCreateRSS.asp


Colorise Source Code into HTML

If you are wanting to colorise Source Code into HTML the following free services are quite good.