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)
IIS 7 (3) blog.crowe.co.nz.Models.Category

IIS 7

IIS7.0 Web Dav Module Bug

There is a bug in the IIS7 Web Dav Module shown below

WebDav1

WebDav2

The bug is that if you have a file or folder with an ampersand “&” character it will cause an error when using Windows Explorer. We installed this on a Windows 2008 Server 32 bit version at work and opened it up to users.

When a user browsed a folder with a file or child folder that contained an ampersand they received the following message

error

The fix is to either install WebDav 7.5 for IIS 7.0 or to install a hotfix. This hotfix rollup resolves the following issues that occur when you use the WebDAV module for IIS 7.0:

  • The PROPFIND responses are truncated at 4 megabytes (MB).
  • Some characters are not escaped correctly in the PROPFIND responses.
  • Virtual Directory enumeration does not work as expected.
  • Plus signs are converted to spaces in PUT request URLs.
  • The WebDAV handler mapping is not added when you reinstall the WebDAV module.
  • Request filtering settings are not configured when you enable WebDAV by using the UI.

 

A hotfix rollup is available for the out-of-band WebDAV module for IIS 7.0
http://support.microsoft.com/default.aspx/kb/957001

 

WebDav 7.5 for IIS 7.0 Module : 32Bit Version
http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1621

 

WebDav 7.5 for IIS 7.0 Module : 64Bit Version
http://www.iis.net/downloads/default.aspx?tabid=34&i=1618&g=6

 

WebDav 7.5 for IIS 7.0 Documentation
http://go.microsoft.com/fwlink/?LinkId=105146


Code Camp in Christchurch, New Zealand in November 2007

I see that there is now offical talk of a Code Camp in Christchurch, New Zealand in November 2007 which is good to see. I hope for some confirmed dates soon.

This is great news as the Mainland as we call it (the South Island of New Zealand) has never had a Code Camp before.

For pre-registrations and more details see http://dot.net.nz/Default.aspx?tabid=108 

The theme of the code camp is Next generation, back to basics. 

New releases of C#, VB, .Net, ASP and SQL are iminent.  This code camp will focus on getting up to speed with all of this, plus cover migration stratigies and many non-technology specific topics such as Architecture and Development Life Cycle.  Hopefully something for everyone - noobs, gurus, youg and old.

I have been asked to speak on IIS 7 and will be providing a session on this somewhere over the two day event.

I also spoke to Daniel Wissa ( at TechEd 2007) who runs the Christchurch .NET user group with Peter Jones [MVP] about running a shared session some time this year on Windows Vista Gadget Development. The code camp may be a good time for this session as well.

 I am trying to get some sponser support as well - but I will keep it quiet until I know the result.


IIS7 Access Denied when using the IIS 7 Manager

While working on IIS 7 this morning I got the following error while trying to save some configuration settings to my Default Web Site

"
There was an error while performing this operation.

Details:

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
"

The error message displayed was not that friendly but I got a general idea - unable to save my changes!

There are a couple of clues :

  • Only occurs while saving - so sounds permissions related
  • The line in the status bar says "Configuration: 'Default Web Site' web.config".  What this means is that the UI is going to save the changes to the web.config file in the home directory of the 'default web site'

Apon checking the web.config file I noticed that the Read Only attribute was set, and this was causing the issue above, maybe the UI should check if the web.config file is marked as read only and warn the user - I will suggest this to the IIS product team.