IIS 7.0 vs IIS 7.5

I found a very nice article explaining enhancements in IIS 7.5 over IIS 7.0  http://blogs.iis.net/mailant/archive/2009/10/22/general-availability-of-windows-7-amp-windows-server-2008-r2-with-iis-7-5.aspx


Kerberos failures on Win 2008 R2(IIS 7.5) KDC_ERR_ETYPE_NOSUPP

Symptoms We have migrated our web application from Windows 2003 server to Windows 2008 R2 server. The web application makes a call to another web service on a separate server. This call is failing with 401 unauthorized error. Cause By default, Data Encryption Standard (DES) encryption for Kerberos authentication is disabled in Windows 7 and…


Issues when using ASP.net delegation with client certificate mapping on IIS 7.0

Recently I came across an issue that I would like to share with everyone. We had a .net 3.5 web service hosted on IIS 7.0. We have configured it to accept a client certificate with a 1-to-1 mapping to a domain account. When presented with the cert the service appears to run as the account ok…


Back to installation issues

Recently I encountered two issues related to IIS 7 installation and would like to share my findings. In both the scenarios, IIS7.log and CBS.log helped a lot to find the actual cause of issue.   Problem 1:   We are trying to install IIS on Windows 2008 server but it fails with following error message:…


Using managed modules for unmanged resources

Customers have asked me many times if it is possible to use managed modules for unmanaged resources as well. The answer is “yes”. And its very simple and easy to do in IIS 7. All we need to do is to uncheck “Invoke only for requests to ASP.NET applications or managed handlers” option for the…


Migrating websites from IIS 6 to IIS 7 using WebDeploy 2.0

The Web Deployment Tool (Web Deploy) is a command-line tool that deploys content and configuration from a user-specified Web site or Web server to a user-specified destination. 1. Migrating a single site   Syntax: msdeploy -verb:sync -source:metakey=lm/w3svc/<website identifier>,computername=<source computer name> -dest:metakey=lm/w3svc/<website identifier> -enableLink:appPool > msdeploy_test.log -verbose -debug   Example: msdeploy -verb:sync -source:metakey=lm/w3svc/1,computername=xxxxx -dest:metakey=lm/w3svc/1 -enableLink:appPool >…


Errors seen while using MSbuild to deploy on a remote IIS server and their solutions

Error1: C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3588): Web deployment task failed.((2/8/2011 8:29:13 AM) An error occurred when the request was processed on the remote computer.) Failed to invoke or execute iisApp provider on the web server.  The Web Deployment Tool�s iisApp provider is either not enabled or failed to executed specific commands on the server.  Please contact…


Allowing non-admin users to deploy web applications on IIS 7 using web deploy 2.0

One of the main features of web deploy is integration with the IIS 7.0 Web Management Service (WMSVC) for remote deployment by non-administrators. Lets see how to do that. 1. Installing Web Management Service (WMSVC) Click Server Manager in the Start menu, select the Roles node in the left-hand tree view, and scan down to…


Deploying Web Applications on a remote IIS server using MSBuild

I have written down some important points that should be taken care while deploying applications. Hope it helps others trying to do that same. Ø  MSBuild arguments should be set correctly.   /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:MSDeployServiceURL=<web server name>:8172/msdeploy.axd /p:DeployIISAppPath=”<Website Name>/<Application Name>” /p:CreatePackageOnPublish=True /p:AllowUntrustedCertificate=True /p:UserName=<Domain name>\<User Name> /p:Password=<User Password>   Ø  Local Service should have Full Control on website…