August 2005 Blog Posts
Here is a site that lists open source c# projects such as:
Aspect-Oriented
Bloggers
Build Systems
Charting & Reporting
Chat Servers
CMS
Code Coverage
Forum Soft
IDEs
Installers
Inversion of Control
Issue Tracking
Logging Tools
Network Clients
Network Servers
PDF Libraries
Persistence
Portals
Profilers
Project Management
RSS & RDF Tools
Rule Engines
Search Engines
Source Control
SQL Clients
Template Engines
Testing Tools
Web Frameworks
Web Mail
Web Testing
Wiki Engines
XML Parsers For more details see http://csharp-source.net/
I had a most interesting issue occur this morning on my work pc with IIS 5.1
Background
I zipped up a web site I was working on last night and sent it home as an Email message. I then extracted it and worked on it at home without issues. I then used WinRAR to rar it up and sent it back to work. I then extracted the files (by drag & drop from within WINRAR) and went to run the application. I instantly received the following message in my web browser.
...
You can extend administrative control by using scripts to perform server administration tasks. You can use scripts to automate tasks, remotely administer sites and resources, and take advantage of batch files to create and manage objects. For additional information on using command lines, see the "Command-Line Reference" in Help and Support Center for Windows Server 2003.
Internet Information Services 6 (IIS 6) contains eight supported command-line scripts that use the IIS Windows Management Instrumentation (WMI) provider to configure and manage IIS metabase configurations. Microsoft supports the command-line scripts that are included in IIS, as long as the scripts are not...
The following method renders control into HTML string. public static string RenderControl(Control ctrl)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
System.IO.StringWriter tw = new System.IO.StringWriter(sb);
System.Web.UI.HtmlTextWriter hw = new System.Web.UI.HtmlTextWriter(tw);
ctrl.RenderControl(hw);
return sb.ToString()
}
Attenuate is an 'add-on' for Microsoft's Internet Information Server (IIS). Attenuate facilitates the imposition of a variety of bandwidth constraints (throttling) without rejection of service. These include:
Total server download rate.
Total server upload rate (asp).
Individual (connection) upload rate.
Rule based assignment of download rate constraints. Rules are specified as wild-card strings. Constraints can be specified as both/either connection or total.
Examples of use include limiting download rates of .zip and .exe files on a per directory basis, limiting .jpeg and .gif download rates sitewide, and preserving bandwidth where streaming media is used. These techniques permit valuable server capacity...
RADIUS is one of the most widely used distributed security/authentication protocols in use today. It originally gained popularity with ISP's, where it got its name (Remote Authentication Dial In User Service). Because of its inherent architectural advantages, it has become widely used in other network environments, including wireless and the general corporate intranet. The RADIUS client-server architecture provides an open and scalable solution that is broadly supported by a large vendor base. RADIUS provides a widely accepted standard protocol anywhere network access servers (NAS) must authenticate users prior to granting access to a protected network.
For more details see http://www.tcpdata.com/radiis_overview.shtml
One of the most important functions a Web site has is the ability to track who is visiting it, where they are coming from, and what they are doing. While logs themselves may not always be the most accurate measurement of what's going on, they do provide a high level overview useful for tracking common user functions and tasks. There are instances when certain types of data aren't logged such as referrers, cookies, user agents, and POST data. Logging can also be used to track abnormal behavior including malicious requests sent by a potential attacker trying to break into your...
Welcome to my ASP.NET Server Control : LookupEditControl. This control uses a number of different technologies to do its magic.
Dynamic requests, DHTML, and JavaScript
There is a lot of talk these days about AJAX but not a lot of source in the edit control stage from what I have found. There is always the Google Suggest discussions but no real code.
I have written an ASP.Net server control (currently still in development) that does what I need and works quite well, but not 100% well, still more work to do.
Here are some of the features that I have implemented and currently basically...
Ken Schaefer [IIS MVP] has produced a very useful flow chart of how IIS 6 handles requests, this flow chart can be very useful in diagnosing 401 and 403 status codes.
For more details see Ken's site at http://www.adopenstatic.com/faq/IISRequestProcessing.aspx
IIS 5.x Folder Traversal with possible DOS through the IDE bus
It is possible to trick the URL validation in IIS 5.x that results in touching of files outside the virtual folders. I suggest in this article that this *could* cause a DOS if flooding a device with file access calls, more specifically on IDE disk systems where the System Drive HD shares the IDE bus with device A:\ or B:\.
For a complete technical description of the problem see Inge Henriksen's bloghttp://ingehenriksen.blogspot.com/2005/08/iis-5x-folder-traversal-with-possible.html
Creating a secret web site on IIS 5.x using Alternative Data Streams
Using a little known feature of the Windows NT file system (NTFS) one can create a secret website, this website can not be detected without third party tools made specifically for it
A NTFS file can contain a number of alternative data streams that bypasses the regular directory listing, the data in the alternative data does not even count when the number of free bytes left on the disk is calculated.
For more details see http://ingehenriksen.blogspot.com/2005/08/creating-secret-web-site-on-iis-5x.html
Remote IIS 5.x and IIS 6.0 Server Name Spoof
It is possible to remotely spoof the "SERVER_NAME" Microsoft® Internet Information Server® 5.0, 5.1 and 6.0 server variable by doing a modified HTTP request. Thus potentially revealing sensitive ASP code through the IIS 500-100.asp error page, the spoof also opens up a potential range of exploits in third party web applications and web services.
For a complete technical description of the problem see Inge Henriksen's blog
http://ingehenriksen.blogspot.com/2005/08/remote-iis-5x-and-iis-60-server-name.html
Below is a list of the upcoming IIS Web Casts from Microsoft. These are well worth attending so that you can learn from the IIS Program Managers
An Application Security Administration Model for Distributed ASP.NET Applications: An IIS-Centric View—Part 1September 20, 2005—11:00 a.m. PT
An Application Security Administration Model for Distributed ASP.NET Applications: An IIS-Centric View—Part 2September 28, 2005—11:00 a.m. PT
Automate, Automate, and More Automate: Scripting IIS 6.0October 11, 2005—11:30 a.m. PT
Deciphering the Tools of the Trade: A Review of IIS Stress Testing ToolsetsOctober 27, 2005—11:30 a.m. PT
Finding IIS Bottlenecks Using Server Performance AdvisorNovember 08, 2005—11:30 a.m. PT
Using Host Headers...
In this blog entry we will display the same output in a number of different formats that Log Parser is capable of providing.
Default
Using the default output format the results are displayed inside of the command prompt.
SELECT top 25 distinct c-ip as ClientIP, Count(*) as HitsFROM \\sbs2003\LogFiles\W3SVC68783193\ex0508*.loggroup by c-iporder by Hits, c-ip desc
Command Line
LogParser.exe file:distinctclientrequests.sql
Output
Notice in the above listing you get a "Press a key..." displayed you can turn this off if you use the -rtp:-1 switch
Chart
Using an output format of a chart you can create nice graphs of log entries
SELECT top 25 distinct c-ip as ClientIP, Count(*) as Hitsinto test.gifFROM...
When using Log Parser you may want to include the log file name that the client data was extracted from. If you are using the W3C format you can do this with the LogFilename input field which will return the full path to the log filename that contains the row of data.
Save the data below as distinctclientrequests.sql
SELECT top 25 distinct LogFilename, c-ip as ClientIP, Count(*) as HitsFROM \\sbs2003\LogFiles\W3SVC68783193\ex0508*.loggroup by c-ip, LogFilenameorder by Hits, c-ip desc
Command Line
LogParser.exe file:distinctclientrequests.sql
Example Output:
LogFilename
ClientIP
Hits
\\sbs2003\LogFiles\W3SVC68783193\ex050819.log
192.168.2.1
2791
\\sbs2003\LogFiles\W3SVC68783193\ex050809.log
192.168.2.1
2296
\\sbs2003\LogFiles\W3SVC68783193\ex050807.log
218.101.54.21
2262
\\sbs2003\LogFiles\W3SVC68783193\ex050806.log
192.168.2.1
1967
\\sbs2003\LogFiles\W3SVC68783193\ex050811.log
192.168.2.1
1838
\\sbs2003\LogFiles\W3SVC68783193\ex050808.log
218.101.54.21
1744
\\sbs2003\LogFiles\W3SVC68783193\ex050810.log
192.168.2.1
1441
\\sbs2003\LogFiles\W3SVC68783193\ex050804.log
218.101.54.21
1372
\\sbs2003\LogFiles\W3SVC68783193\ex050811.log
218.101.54.21
1243
\\sbs2003\LogFiles\W3SVC68783193\ex050824.log
192.168.2.1
965
If you are wanting to only get the log filename and not the full path you could use the following query:
Save the data below...
I found an interesting piece of code online for adjusting the IIS compression settings in IIS 6 using WMI and VBScript on WindowsITPro - although you must be a registered user you can download the code.
See http://www.windowsitpro.com/WindowsScripting/Article/ArticleID/44335/44335.html
Or just incase the code is gone click here
I came across a very good example of creating Web Sites with custom App Pools in c# using WMI by a guy called Ramesh Raman's who has a blog at MSDN blogs. It it appears he no longer updates it since the last entry is dated July, 2004
He had an example of using the WMI Provider and XML to create a new web site with a complete description of the process of each step taken:
Using the WMI Provider to Configure IIS 6.0 - A Data Driven Approachhttp://blogs.msdn.com/ramesh_r/archive/2004/03/24/95109.aspx
For just the code (which was updated to include the creation of App Pools and...
ILMerge is a utility that can be used to merge multiple .NET assemblies into a single assembly. ILMerge takes a set of input assemblies and merges them into one target assembly. The first assembly in the list of input assemblies is the primary assembly. When the primary assembly is an executable, then the target assembly is created as an executable with the same entry point as the primary assembly. Also, if the primary assembly has a strong name, and a .snk file is provided, then the target assembly is re-signed with the specified key so that it also has a...
I came across this interesting article on the F-Lock keys on recent Microsoft Keyboards.
The F Lock key is a hardware switch in the keyboard. Its state cannot be controlled programmatically. Its default condition is "off". As a result, whenever the keyboard is reset, or loses power, the F Lock key will always be in an "off" state. Do note that with the MSFT keyboards released after September 2004, the keyboard will retain F Lock status through a reboot.
For some, this is not a desirable default; some people want "normal" function key operation.
While there is no way to control the...
We all know that Microsoft has not released the source code to the .NET Framework.
If you do not know about a tool called .Net Reflector, then you are missing something very important. With this tool you can view the code to .NET DLL's that have not been obfuscated
I was looking to try and find a problem with a Server Control I was writing for ASP.Net - this server control was inherited from TextBox and I had a problem with trying to add a collection property to the control. I could get it rendered correctly to the WebForm but when I reopened...
This article is about SmartPart for Sharepoint, a SharePoint Webpart that can host any ASP.NET user control.
Create your webparts by using the VS.NET designer instead of coding everything by hand!
see http://www.gotdotnet.com/workspaces/workspace.aspx?id=6cfaabc8-db4d-41c3-8a88-3f974a7d0abe
When you install the execelent SmartPart addon for Sharepoint you may for some reason get an error during the install and you can not install the MSI package that is included in the version 1.0.0.0 release.
This error tells you to look at a log file but the log file is empty - so no help there.
On the WorkSpace message board a very knowledgable person who goes by the...
The following code will allow you to popup a DIV tag so that even if the DIV tag is displayed over a SELECT tag the DIV will not show any of the select tag. The way it does this is by placing an IFRAME over the top of the DIV tag.
Examples in both IE and Mozzila below.
IE 6
Mozilla Firefox 1.04
The code also uses a free 3rd party Javascript library called Anchor Position by Matt Kruse - http://www.mattkruse.com/
This library allows you to get the location of an element on the page. It will return the XY coordinates of the element. It is used...
Get first-hand deployment experience through the Virtual Lab series. The Microsoft Office SharePoint Portal Server 2003 hands-on labs will teach you how to set up the portal, organize content on the portal, manage user permissions, create Web Parts for custom tasks, and much more.
Step into the Microsoft Office SharePoint Portal Server 2003 Virtual Lab for Free
It's simple — no complex setup or installation is required to try SharePoint Portal Server running in the full-featured TechNet Virtual Lab. You get a downloadable manual and a 90-minute block of time for each module. You can sign up for additional 90-minute blocks anytime.As...
The following web sites are good resource for WSS and Sharepoint Portal Server 2003 (in no particular order)
Sites
http://wss.collutions.com/default.aspx
www.spsfaq.com
sharepointcommunity.com
http://www.wssdemo.com/default.aspx
http://www.asaris-matrix.com/mvp-walsh/default.aspx
http://msd2d.com/default_section.aspx?section=sharepoint
http://www.u2u.info/SharePoint/default.aspx
Blogs
http://mikeswss.blogg.de/
http://www.wssdemo.com/blog/default.aspx
http://www.sharepointblogs.com/bmixon
http://dotnetjunkies.com/WebLog/saravana/
http://blog.u2u.info/DottextWeb/patrick/
http://blog.spsclerics.com/
http://msmvps.com/anguslogan/
http://blogs.conchango.com/stuartpreston/archive/2005/02/23/1043.aspx
Sharepoint Downloads from Microsoft
Search Results for Sharepoint
I have been looking for some tools to help with Windows Sharepoint Services to undelete files that have been deleted. I have come across a number of potential solutions but all with problems.
Recycle Bin for WSS - a MSDN Mag article
This article discusses the WSS object model and is setup to handle events from within the WSS engine. The problem I see with this solution is that the files are not merely copied to the recycle bin when they are deleted they are actually mirrored so if you have a lot of files you are doubling the space required.
This is a...
If you have a fully patched Windows XP Service Pack 2 machine and you try to browse the IIS Help virtual directory in the default web site you will notice that it no longer displays as is shown below.
The reason why this happens is that there was a vulnerability in the way Internet Explorer was showing HTML Help files which cause malicious code to run on your computer.
This is discussed in the Microsoft Security Bulletin:
MS05-026: A vulnerability in HTML Help could allow remote code executionhttp://support.microsoft.com/kb/892675/
Microsoft engineers though about this issue of web sites using HTML help not working on the...
Microsoft Log Parser is a very cool little tool that you can use with a SQL query language to render details from a number of different log file formats including:
IIS log files in the NCSA Common, Combined, and Extended Log File Formats
IIS log files in the Microsoft Log File Format.
IIS log files in the W3C Extended Log File Format
IIS log files in the Centralized Binary Log File Format
IIS when configured to log in the ODBC Log Format
Active Directory Objects
Comma, Tab and Space Delimited Text Files
Enterprise Tracing for Windows trace log files (.etl files) and...
If you want to use outlook express as a newsreader only and do not want to use it for email the following command line parameters may be useful to you.
outnews or newsonly
This option starts Outlook Express in the News Reader Only mode. When you use this option, you cannot send or receive e-mail, and the Mail tab in the Internet Accounts dialog box is missing.
Also if you want to only use Outlook Express for email then use the following parameter
mailonly
This option starts Outlook Express in the Mail Only mode. When you use this option, you cannot view newsgroups,...
With Outlook Express a quick way to view the source of a newsgroup message is to press Ctrl-F3
To use the mouse you will need to perform a number of steps:
Right click the message in the message list (not in the body of the message)
Select Properties
Select the Details Tab
Select Message Source
Often the most effective way to diagnose the root cause of an IIS Crash or Hang situation is to use a debugging tool that allows you to look inside the various processes that IIS uses (such as dllhost.exe or w3wp.exe). Whilst diagnostic tools like AuthDiag and SSLDiag can help solve configuration issues which are preventing your IIS Server from running properly, a crash or hang usually is caused by faulty code, hardware issues, or problems connecting to remote resources (e.g. a remote database server), and these problems may not deterministically manifest themselves.
For a step by step guide to setup...
By default on Windows XP when you do a search for files the Microsoft search tool will search inside of zip files which means that this tool takes for ever to run.
If you have WinZIP or another archiver on your system then the following will allow you to stop this behaviour.
Open a CMD.EXE dos prompt
Navigate to c:\windows\system32 (or what ever path you have windows installed into)
Type in the following:regsvr32 /u zipfldr.dllYou should then get a dialog saying DllUnregisterServer in zipfldr.dll succeeded.
Hi,
Welcome to my Blog. I use to own a web site called www.iisfaq.com which was a great resource for Internet Information Server or IIS for short. I wrote a lot of articles and tips and tricks relating to IIS and products that were available for IIS. When I sold the web site I stopped helping people which was good for a while since it gave me time to think about myself instead of others.
I have now decided to get back into helping the community - can't think about my self all of the time!
I am an IIS MVP - what is...
HTTP compression is a safe, powerful, and affordable way to speed up Web sites and applications from 2.5 to 50 times faster while reducing bandwidth costs.
httpZip is an IIS server module for ISAPI-based compression on IIS 4, 5, and 6.0 Web servers. The software compresses static and dynamic Web content using encoding algorithms supported by all modern browsers, with flawless decompression secured by real-time browser compatibility checking.
Detailed httpZip reporting shows your files reduced to as little as 2% of their original size! httpZip takes compression even farther with optional HTML and CSS code optimization to improve performance and combat...
All versions of IIS store their configuration in a special database called the metabase. The metabase is in some ways similar to the Windows Registry. Unlike the Windows Registry Editor IIS has no built in tools to view, change or track activity in the Metabase.
The IIS Metabase Explorer allows you to view the hierarchical structure of the metabase, edit the hierarchy or data values, copy or move data from one key to another, backup and restore the database and track changes made to the metabase by any application running on your system. The best thing about the IIS Metabase...
IISxpress is a powerful and highly configurable compression plug-in for IIS, the industry standard web server for the Windows platform. IISxpress will significantly reduce the bandwidth requirements of your web site, reducing your costs and giving your users the best web browsing experience possible.
IISxpress is ideally suited for deployment on Internet facing web servers, corporate intranet web servers in a WAN/LAN environment and for home users running a web site on an low bandwidth connection (ADSL or cable)
Control your compression settings by file type, content type, URI (virtual directory) and IP address.
View in real-time your server's performance; monitor...
The Log Parser 2.2 and greater is a very powerful little tool for things that you may not even think about such as enumerating the number of files in a folder and the size that they are consuming.
With these examples we will be using the -i:FS input parameter which means we are getting our data from the File System.
Example 1
The command below will return the total number of files and the size of those files in the c:\temp folder and all child folders.
LogParser.exe "SELECT count(Size) as [Total Files], sum(Size) as Size FROM 'c:\temp\*.*' " -i:FS Note: The command line above should...
The following is the way to specify an exit code in a c# application. A value of 0 is normally a sign of success and a value of 1 or more a sign of failure.
int MyErrorCode = 0
System.Environment.ExitCode = MyErrorCode
An installer is the first experience of a user with your application. Slow or unsuccessful software installations are the most irritating computer problems. A quick and user friendly installer is therefore an essential part of your software product.
NSIS (Nullsoft Scriptable Install System) is a tool that allows programmers to create such installers for Windows. It is released under an open source license and is completely free for any use.
NSIS can create Windows installers that are capable of installing, uninstalling, setting system settings, extracting files, etc. Because NSIS is based on script files, you can create both simple or advanced installers.
Small overhead size
NSIS...
If you are wanting to colorise Source Code into HTML the following free services are quite good.
Supports c#, JScript, Vb.Net and XML (nice clean looking code)http://puzzleware.net/codehtmler/default.aspx
Supports lots of languages but not such nice codehttp://www.chamisplace.com/colorizer/cc.asp
1) Open Visual Studio.NET 2003
2) New Project (We will create a console application in this demo)
3) Name your project "GetListItems"
4) Right Click on "References" under the Project and select "Add Web Reference"
5) In the URL field type the path to your Windows SharePoint Services Site that contains the list you want to use.
Each site is different and only contains the lists for the particular child site.
For example the root site could be called "http://sharepoint.mysite.com" and you could have a sub site called "Test" which is accessible via "http://sharepoint.mysite.com/Test"
So type in your URL and append the following "_vti_bin/lists.asmx"
So if you were...
1) Open Visual Studio.NET 2003
2) New Project (We will create a console application in this demo)
3) Name your project "GetListItems"
4) Right Click on "References" under the Project and select "Add Web Reference"
5) In the URL field type the path to your Windows SharePoint Services Site that contains the list you want to use.
Each site is different and only contains the lists for the particular child site.
For example the root site could be called "http://sharepoint.mysite.com" and you could have a sub site called "Test" which is accessible via "http://sharepoint.mysite.com/Test"
So type in your URL and append the following "_vti_bin/lists.asmx"
So if you were...
This article discusses the essential network ports, protocols and services that are used by Microsoft client and server operating systems, server-based programs and their subcomponents in the Microsoft Windows server system. Administrators and support professionals may use this Microsoft Knowledge Base article as a road-map to determine what ports and protocols Microsoft operating systems and programs require for network connectivity in a segmented network.http://support.microsoft.com/default.aspx?scid=kb;en-us;832017
To customize W3C Extended logging to include the Referer follow these steps
In IIS Manager, expand the local computer, expand the Web or FTP Sites folder, right-click the Web or FTP site, and click Properties.
On the Web or FTPSite tab, select the Enable logging check box (if it is not already selected).
In the Active log format list box, click W3C Extended Log File Format.
Click Properties.
On the Advanced tab, tick the check box next to the item called Referer
Click OK.
Click OK.
When the referer is included in the log files you can analyze the logs to include...
ODBC logging format is a record of a fixed set of data properties in a database that complies with Open Database Connectivity (ODBC), such as Microsoft Access or Microsoft SQL Server™. Some of the items logged include the user's IP address, user name, request date and time (recorded as local time), HTTP status code, bytes received, bytes sent, action carried out (for example, a download carried out by a GET command), and the target (for example, the file that was downloaded). With ODBC logging, you must both specify the database to be logged to, and set up the database to...
Expresso is useful for learning how to use regular expressions and for developing and debugging regular expressions prior to incorporating them into C# or Visual Basic code.
Build complex regular expressions by selecting components from a palette
Test expressions against real or sample input data
Display all matches in a tree structure, showing captured groups, and all captures within a group
Build replacement strings and test the match and replace functionality
Highlight matched text in the input data
Test automatically for syntax errors
Generate Visual Basic or C# code
Save and restore data in a project file
Maintain and expand a...
The following script will allow you to enumerate the names of the Virtual Directories on the current machine.
Save the following script to a .VBS file extension and execute using the following from a CMD.exe prompt.
cscript MyScript.vbsDim IISObj, strQuery, Item
Set IISObj = GetObject("winmgmts://./root/MicrosoftIISv2")
strQuery = "SELECT * FROM IIsWebVirtualDir"
For Each Item In IISObj.ExecQuery(strQuery)
WScript.echo Item.Name
Next
Example OutputW3SVC/1/ROOTW3SVC/1/ROOT/_vti_binW3SVC/1/ROOT/BackupW3SVC/1/ROOT/CertControlW3SVC/1/ROOT/CertEnrollW3SVC/1/ROOT/CertSrvW3SVC/1/ROOT/ClientHelpW3SVC/1/ROOT/ConnectComputerW3SVC/1/ROOT/ExadminW3SVC/1/ROOT/ExchangeW3SVC/1/ROOT/exchange-omaW3SVC/1/ROOT/ExchWebW3SVC/1/ROOT/ExchWeb/binW3SVC/1/ROOT/ExchWeb/bin/authW3SVC/1/ROOT/ExchWeb/bin/spellW3SVC/1/ROOT/IssueVisionDeployWebCSW3SVC/1/ROOT/IssueVisionWebCSW3SVC/1/ROOT/Microsoft-Server-ActiveSync
The following script will allow you to enumerate the Names of the Application Pools on the current machine.
Save the following script to a .VBS file extension and execute using the following from a CMD.exe prompt.
cscript MyScript.vbsDim locatorObj, ProviderObj, Pools, strQuery
Set locatorObj = CreateObject("WbemScripting.SWbemLocator")
Set ProviderObj = locatorObj.ConnectServer(".", "root/MicrosoftIISv2")
strQuery = "Select * from IIsApplicationPool"
For Each Item In ProviderObj.ExecQuery(strQuery)
WScript.Echo Replace(Item.Name, "W3SVC/AppPools/", "")
Next
Example Output
DefaultAppPoolExchangeApplicationPoolExchangeMobileBrowseApplicationPoolMSSharePointAppPoolMyWineCellarStsAdminAppPoolWMS App PoolBlog.crowe.co.nz
Please note - Stolen from http://www.port80software.com/200ok/archive/2005/06/15/606.aspx but I thought you would like to read and it is really for me to read when I need a HTTP Inspection tool which is like everyday.
Some of the tools are implemented as proxies, allow rewriting of headers and all sort of fun stuff, while others plug-in to the browser and monitor the requests passively. While folks may know of LiveHeaders for Mozilla (http://livehttpheaders.mozdev.org) or HttpWatch for IE (http://www.httpwatch.com), here are a few more that we have found varying in price and capabilities. Stuck in the middle with you -- a few proxies:Fiddlerhttp://www.fiddlertool.com/fiddler We quite like...
Apache has mod_rewrite, which allows URL rewriting. A URL like http://foo/bar/bam can be translated into http://foo/baz/bam.jsp or http://foo/baz/bam.php or ... anything!
ASP.NET has a URL mapping mechanism, but it works only for filetypes that are handled by ASP.NET: aspx, ascx, asmx, and so on. For static files or non-ASP.NET files, (xml, gif, jpg, css), the ASP.NET mapping won't work cleanly.
IIS, like Apache's HTTP server, has an extension mechanism: it is called the ISAPI filter. There are commercial ISAPI filters that endow IIS with the ability to re-write URLs. This is my own, small, URL rewriting ISAPI filter.
It is...
Apache has mod_rewrite; now IIS has a small, cheap (free) rewriting module:
Ionic's ISAPI Rewriting Filter (IIRF).
Specify rewrite rules using regular expressions.
An incoming URL like http://foo/bar/bam can be translated into http://foo/baz/bam.jsp or http://foo/baz/bam.php.
ASP.NET has a URL mapping mechanism, but it works only for filetypes that are handled by ASP.NET: aspx, ascx, asmx, and so on.
For static files or non-ASP.NET files, (XML, GIF, JPEG, CSS), the ASP.NET mapping won't work cleanly.
IIS, like Apache's HTTP server, has an extension mechanism: it is called the ISAPI filter.
There are commercial ISAPI filters that endow IIS with the ability...
An ISAPI filter that provides powerful, integrated URL re-writing for IIS.
OpUrl has many benefits, including helping to ensure search engines crawl even the dynamic parts of your site.
Most search engine crawlers don't index dynamic pages, e.g. page.asp?item=1 so OpUrl allows you to use static URLs instead.
The functionality is very similar to Apache's mod_rewrite.
Pricing at August 2005 was £29
For more details see - http://www.opcode.co.uk/components/rewrite.asp
ISAPI_Rewrite is a powerful URL manipulation engine based on regular expressions. It acts mostly like Apache's mod_Rewrite, but is designed specifically for Microsoft's Internet Information Server (IIS). ISAPI_Rewrite is an ISAPI filter written in pure C/C++ so it is extremely fast. ISAPI_Rewrite gives you the freedom to go beyond the standard URL schemes and develop your own scheme.
What you can do with ISAPI_Rewrite:
Optimize your dynamic content like forums or e-stores to be indexed by a popular search engines.
Block hot linking of your data files by other sites.
Develop a custom authorization scheme and manage access to the...
IISRewrite is a rule-based rewriting engine that allows a webmaster to manipulate URLs on the fly in IIS.URLs are rewritten before IIS has handed over the request to be processed, so requests for HTML files, graphics, program files, and even entire directory structures can be rewritten before they are passed to ASP scripts for processing.IISRewrite was written to solve some practical problems that are nearly impossible to solve with IIS and ASP. It solves the compatibility issues when doing dynamic downloads with ASP, it allows portions of dynamic sites to be indexed by search engines as if they were static...
The ISAPI filter rewrites/replaces defined parts of URL from browser. It enables url to scripts (.asp, .cgi, .idc) with parameters that look like static html pages or specify exact download filename generated by script.
You can also create a simple proxy server with IIS and any script engine (.asp,. aspx, …) using URL replacer
You can configure the filter by http.
For more details see - http://www.motobit.com/help/url-replacer-rewriter/iis-mod-rewrite.asp
Replaces the standard IIS error message (HTTP/1.0 404 Not Found, HTTP/1.0 401 Access denied, etc.) by custom HTML or HTTP message
The custom message can be defined for whole web site, or for any file or directory of the web. The message can contains redirection to the another site too.
You are free to use and distribute EnhancedLog. EnhancedLog signs every custom error message by refrerence to the PSTRUH Software home page. You are not allowed to change the sign in free version of EnhacedLog. You must register to remove the sign.
For more details see - http://www.pstruh.cz/el/enhlog.asp
The ISAPI filter enables http raw data logging. Lets you log http header and document data to separate files, monitor IIS service output and check other filters (asp/cgi pages, ISAPI applications) functionality.
This product has not been updated since 2000 but may still have use for administrators.
For more details see - http://www.motobit.com/help/httplog/default.htm
IISStatus links into the web server as an ISAPI filter to record each request, including ASP pages, as it is received and processed by the server.
Use this tool to monitor exactly what your ASP pages are doing and reduce time spent debugging. IISStatus is a Freeware product at this time. In future, we will be releasing enchanced versions of IISStatus although these releases may not be freeware (still freeware after 3 years)For more details see - http://www.alchemy.co.nz/products/products_6.html
~Home is an ISAPI filter dll that will map a URL request that specifies a ~username to the user's home directory. The home directory is defined in the User Manager.
The home directory can be anywhere:
On the same drive as your web root
On a different drive from your web root
On a different computer from your webroot
For example let's say that your web root is c:\webroot\ and there is a user named "Joel" who has his home directory in e:\homedir\joelhome\ and he has a home page called home.htm in his home directory. You could access his homepage...
User Directories for IIS is an IIS ISAPI Filter DLL that web enables your Windows user accounts. This functionality has long been available on UNIX platforms and now it is available for the IIS web server.
A home directory is accessed using a URL similar to this:
http://servername/~username/default.asp
Note the '~' operator denotes a reference to a user account.
For more details see - http://www.dashtech.com/products/userdir/
On Windows XP Professional you can only have one web site, the UI will not let you create more than one, but you can actually create more by working with the IIS Metabase.
You can only have one of these web sites active at a time and there are other limitations when using Windows XP such as:
Windows XP Professional
Windows 2000 and 2003 Server
10 Simultaneous Connections
Unlimited number of connections
1 Virtual Web Site
Unlimited number of Virtual Web Sites
Does not support Host Headers (See below for a solution)
Full support for Host Headers (WWW Service)
Does not support ODBC logging
Full support for ODBC logging
Does...
The following code will allow you to talk to a printer (running on a specific IP Address) to query its current status.
OLEPRNLib is a COM object that appears to be installed on XP and greater machines.
On my machine I made a reference on the COM tab of the Add Reference dialog to “oleprn 1.0 Type Library“ which lived in “c:\Windows\System32\oleprn.dll“
using System;
using OLEPRNLib;
namespace PrinterStatus
{
///
/// Summary description for Class1.
///
class Class1
{
///
/// The main entry point for the application.
///
[STAThread]
static void Main(string[] args)
...
I have been working on a C++ project to create a new property page that will show up in Active Directory Users & Computers when you view the properties of a user account. This new property page will allow you to edit the FTP Root (msIIS-FTPRoot) and FTP Directory (msIIS-FTPDir) for users so that if you have configured the IIS FTP Service to run using Active Directory Isolation Mode you can simply use the GUI to view or modify these attributes.
For more details on these Active Directory attributes see the following:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/a_msiis_ftproot.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/adschema/adschema/a_msiis_ftpdir.asp
This is the custom property page as of today...
UrlScan is a security tool that screens all incoming requests to the server by filtering the requests based on rules that are set by the administrator.
Filtering requests helps secure the server by ensuring that only valid requests are processed.
UrlScan helps protect Web servers because most malicious attacks share a common characteristic they involve the use of a request that is unusual in some way.
For instance, the request might be extremely long, request an unusual action, be encoded using an alternate character set, or include character sequences that are rarely seen in legitimate requests.
By filtering unusual requests, UrlScan...
A common problem for administrators of IIS servers is configuring and troubleshooting SSL enabled websites. To assist in administrators efforts, Microsoft has designed a tool - SSL Diagnostics - to aid in quickly identifying configuration problems in the IIS metabase, certificates, or certificate stores. This tool allows users to review configuration information in a easy to read view mode or to run the tool silently with only the creation of a log file. During use, administrators can simulate the SSL handshake to find errors. They can also quickly "hot swap" certificates for testing purposes.These packages come in two forms: Express...
Authentication and Access Control Diagnostics 1.0 (more commonly known as AuthDiag) is a tool released by Microsoft aimed at aiding IT professionals and developers at more effectively finding the source of authentication and authorization failures.These users have often seen behavior from Internet Information Services (IIS) that doesn't seem appropriate or random when users authenticate to the IIS server. The complex world of authentication types and the various levels of security permissions necessary to allow a user to access the server causes many hours of labor for those tasked with troubleshooting these problems.AuthDiag 1.0 offers a robust tool that offers a...
The Internet Information Services (IIS) debug tools are designed to help determine which requests have caused IIS to crash and to log specific information when a request does not respond in an expected time period. This toolkit is made up of 2 main tools:
IIS Crash/Hang Agent: tracks all requests as they enter IIS and leave IIS and will log requests that are still being processed if IIS terminates unexpectedly. This tool also allows an administrator to configure a command line to run whenever a request takes too long to respond indicating a potential hang.
IIS Dump: The default command line...
The Webalizer is a fast, free web server log file analysis program. It produces highly detailed, easily configurable usage reports in HTML format, for viewing with a standard web browser.
Features:
Is written in C to be extremely fast and highly portable. On a 200Mhz pentium machine, over 10,000 records can be processed in one second, with a 40 Megabyte file taking roughly 15 seconds (over 150,000 records).
Supports standard Common Logfile Format server logs. In addition, several variations of the Combined Logfile Format are supported, allowing statistics to be generated for referring sites and browser types as well. Now also...
AWStats is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically.
This log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from all major server tools like Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar, IIS (W3C log format) and a lot of other web, proxy, wap, streaming servers, mail servers...
Analog shows you the usage patterns on your web server by analyzing your Log Files. It is a very simple package to get going and has a good following, you can simply customize which reports are generated and there are a number of people who provide additional files such as Search Engines, and Spiders so the product can keep up to date with web bots etc.
Ultra-fast
Scalable
Highly configurable
Reports in 32 languages
Works on any operating system
Free software ( Licence is now GPL)
For more details see - http://www.analog.cx/
For a sample report see - http://www.chiark.greenend.org.uk/~sret1/stats/
To generate even nicer...
I came across in interesting observation while looking at the Webmaster Guidelines page on google today.
Don't use "&id=" as a parameter in your URLs, as we don't include these pages in our index.
For more Google guidelines see http://www.google.com/intl/en/webmasters/guidelines.html
In Windows XP by default the programs displayed in the start menu will scroll, if you want to reset them to be displayed in multiple columns instead of scrolling do the following.
Right click the Start Menu, and then select Properties.
Choose the Start Menu tab, then click Customize.
Select the Advanced tab
Scroll down the list of Start Menu Items until you find the entry Scroll Programs and remove the check.
Click OK, and nthen click OK again.
What does this do and why would I want to know about it?
Redirection is a facility that will allow a user to request one URL and end up being redirected to another URL.
Why would you want this?
The site is down for maintenance and you would like to redirect all users to a specific page that lets them know this.
You have requests for a particular URL that is no longer valid and would like to redirect the users to the new URL.
click here for the rest of the article..
The IIS Admin Control Panel is a web based IIS Administration Tool that allows you to install, modify, delete WWW & FTP sites. Some of the other features include: modification of SMTP Setting, User & Group Management, Management of User Quotas, IIS statistical information, IIS 6 Application & Web Service Extensions Management.http://www.iis-resources.com/modules/AMS/article.php?storyid=421
The Microsoft SQL Server Report Pack for Internet Information Services (IIS) is a set of 12 Microsoft SQL Server 2000 Reporting Services reports that works with a sample database of information extracted from Microsoft Internet Information Services (IIS) log files. This database can be populated with your own data using the Log Parser included with the IIS 6.0 Resource Kit. You can use also the sample reports as templates for designing new reports.
This Report Pack includes the following reports:
Global StatisticsContains a top-level summary chart of visits and bandwidth for one or more sites with drillthough for each month.
Site SummaryContains...
The Microsoft SQL Server Report Pack for Microsoft Office SharePoint Portal Server 2003 is a set of 8 Microsoft SQL Server 2000 Reporting Services reports that work with a sample database of information extracted from a SharePoint Portal Server environment. This database can be populated from your own SharePoint Portal Server environment using the downloadable Data Extraction Program (DEP). The DEP will read the SharePoint Portal Server data via the object model. You also can use the sample reports as templates for designing new reports. This Report Pack includes the following reports:
Storage ReportShows a listing of the virtual servers and...
The Microsoft SQL Server 2005 Upgrade Advisor is a tool used by Database developers and administrators to analyze SQL Server 7.0 and SQL Server 2000 database servers in preparation for upgrading to SQL Server 2005. The Upgrade Advisor will allow users to analyze the configuration of their existing database services and database applications. As a result of this analysis, Upgrade Advisor will provide reports that identify deprecated features and necessary configuration changes that will impact their Database upgrade process. Upgrade Advisor will also provide links to documentation that describe these changes and necessary steps to complete the process.
http://www.microsoft.com/downloads/details.aspx?FamilyID=CF28DAF9-182E-4AC2-8E88-F2E936558BF2&displaylang=en
Top 10 Benefits of Data Protection Manager
Here are the ten most valuable benefits (plus one bonus benefit) that Data Protection Manager (DPM) can provide to your organization.
Recover files in minutes instead of hours
A typical file recovery from tape takes hours and can be costly. The typical medium data center may have 10 to 20 or more recoveries per month. DPM enables the same recoveries in minutes, saving money for the business and time for IT administrators. Additionally, faster recovery keeps information workers productive because they spend less downtime waiting for their files to be recovered.
Eliminate the backup window of your...
Increasingly, computer users are using different folders, drives, and even different computers (such as a laptop and a desktop) to store and retrieve files. There are new sources of files coming from every direction: digital cameras, e-mail, cell phones, portable media players, camcorders, PDAs, and laptops. Yet managing hundreds or thousands of files is still largely a manual operation. In some cases it is necessary to move files from one place to another; in other cases there is a need to keep two storage locations exactly in sync. Some users manage files manually, dragging and dropping from one place to...
IIS 4.0
IIS 5.0
IIS 5.1
IIS 6.0
Platform
NT4
Windows 2000
Windows XP Professional
Windows Server 2003 family
Architecture
32-bit
32-bit
32-bit and 64-bit
32-bit and 64-bit
Application process model
TCP/IP kernel
MTX.exe
TCP/IP kernel
DLLhost.exe (multiple DLL hosts in medium or high application isolation)
TCP/IP kernel
DLLhost.exe (multiple DLL hosts in medium or high application isolation)
HTTP.sys kernel
When IIS is running in IIS 5.0 isolation mode: Inetinfo.exe (in-proc processes) or DLLhost.exe (out-of-proc processes)
When IIS is running in worker process isolation mode: W3Wp.exe (multiple worker processes)
For more information on IIS isolation modes, see "Configuring Isolation Modes" in IIS Help, which is accessible from IIS Manager.
Metabase configuration
Binary
Binary
Binary
XML
Security
Windows authentication
SSL
Windows authentication
SSL
Kerberos
Windows authentication
SSL
Kerberos
Security wizard
Windows authentication
SSL
Kerberos
Security...
These application templates are tailored to address the needs and requirements for specific business processes or sets of tasks for organizations of any size. The applications are the first out-of-box custom scenarios for the Windows SharePoint Services platform, though they also provide a starting point for partners and developers looking to build deeper Windows SharePoint Services solutions.
Absence and Vacation Schedule
Board of Directors
Case Work Management
Change Management
Classroom Management
Competitive Intelligence
Employee Activities Site
Employee Timesheet and Scheduling
Employee Training
Event Coordination
Expense Reimbursement
Help Desk
HR Programs and Services
IT Developer Team Site
Legal Document Review Workflow
Loan Initiation Management
Marketing Campaigns
Meeting Management
New Product Development
Performance Review
Professional Svcs Contracts
Professional Svcs Site
Project Team Site
Public Official Activity
Public...
I found the following question on the IIS newsgroup and felt that I could offer one solution to the problem.
Question:
I am hosting a site for a small business, and I need to stop the site from being accessible for a little while.Is there a way that when I stop the site in IIS, that instead of the message saying that the 'site is under construction' that I can put up my own error message?What error # is it? And how can I get it to show that # when I stop the site automatically?
Answer:
Well my answer starts off with...
http://joel.net/code/dotnet_templates.aspx
SquishyFORUMS is written in C# using Microsoft's new .NET framework. It is a completely object oriented class library (API), which can be used from ANY type of application (web application, web service, console application, or even a windows application), for any type of 3-level application you can think of. It supports Bulletin Boards, eZines, Weblogs, and any sort of application where you need a set of top-level data controlled by administrators, a middle level of data controlled by registered users (in a bulletin board or eZine, this would be by site admins only, whereas in a bulletin board it would...
Increase your SQL Server performance by 100% - 500% simply and easily with this product.
Optimizing queries.
Tuning performance.
Rewriting applications.
Running jobs overnight.
Babysitting misbehaving batch processes.
http://www.quickshift.com/index.shtml
I have decided to create a new project for myself.
This project will be a free online wine cellar with forums and info on wineries, wines, and of course the ability to store your wine lists online.
The web application will be a c# web application that is to be custom written in asp.net using the .Net Framework V2.0
There may be a seperate windows application (if I get time) so that you can maintain your Wine Cellar off line and then syncromize with the online version.
Some features that the online cellar should support.
Intelligent addition of new records.
Charts and graphs of your...