"Installation of one or more roles, role services, or features failed. Error: 0x800f0922" when installing IIS 8.0 Application Initialization.

The other day I got a case where customer was trying to install the Application Initialization feature on a Windows 2012 / IIS 8.0 machine.  IIS 8.0 Application Initialization http://www.iis.net/learn/get-started/whats-new-in-iis-8/iis-80-application-initialization However, this failed for customer. And it showed that it failed for me too.When attempting to install it from the Server Manager, the error looked…

6

Repeated login dialogs ending with a 401 when using Basic Authentication in IIS.

You have chosen to use Basic Authentication on your web application. You know that you have the correct username and password but still you (and/or your users) keeps getting the login window and after a few attempts to insert your credentials you will get the:   401 – Unauthorized: Access is denied due to invalid…

0

Failed while restarting W3SVC. Error code: 0x8007041d

  The scenario is this. You are in IIS Manager for IIS 6.0 and you are changing the ASP.Net version for your application (Application, Properties, the ASP.Net tab, ASP.Net version). You hit Apply or OK and you get the hourglass and then you wait. The site may also become unavailable until you restart the web…

0

A network analysis of passive (EPSV or PASV) FTP connection.

  Cases and questions somehow seems to come in bulk. Lately I have had several cases on FTP connections that uses EPSV or PASV. And there has been some confusion on how this works and what ports are being used. So below is, hopefully, an understandable explanation.   The network traces is taken on Windows…

2

How to download multiple files concurrently using WebClient and the DownloadFileAsync method.

  I had a case the other day where customer was using WebClient and the DownloadFileAsync method. Customer then issued 10 concurrent calls to the DownloadFileAsync method and expected all the files to be downloaded at the same time. However, only 2 files were concurrently downloading. 10 files were created on disk but only 2…

1

How to deploy your Windows Store app to Surface RT for testing.

A short post on how to test your Windows Store apps on your Surface RT.   This is not so hard but it took me a little while to find out how to do this so I thought I’d share this. The ‘problem’ is that you need a developer license on the target machine. This…

3

How to create and use CascadingDropDown from the ajaxToolkit.

A short demo on how to create/use CascadingDropDown from the “AjaxControlToolkit”. For this demo I will use the world of football since this lends itself well to cascading drop downs. A country has leagues, a league has teams and teams have players, players have statistics etc.   So let’s get to it. . First create…

0

IIS 7.5 – Unable to deploy second server to WFF farm, "Failed to upload assembly ‘Microsoft.Web.PlatformInstaller, Version=3.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ on remote agent"

I recently had a case where customer was setting up a web farm using the Web Farm Framework (WFF).   Customer could setup the controller and deploy the primary server. However, when attempting to deploy a secondary server into the farm, it failed with the following:   Failed to upload assembly ‘Microsoft.Web.PlatformInstaller, Version=3.0.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35′…

0

Adding printer with "Internet Printing" gives "Windows couldn’t connect to the printer. Check the printer name and try again."

The scenario is as follows, you have set up your Windows 2008 machine to be using “Internet Printing”. After having set this up you will have the following directory created on your machine:   C:\Windows\Web\Printers   In IIS manager you will have this directory setup as a virtual directory:     Now you try to…

0