WordPress Http Error 404.0 – Not Found

Jeff’s Blog

I recently used Web Platform Installer to install Web Deploy 3 on IIS 8 so I could remotely develop a PHP site in WebMatrix. After installing and setting up a publishing profile in WebMatrix, a quick test showed a 404 returned by IIS error when attempting to connect with Web Deploy. I confirmed that the IIS Web Management Service (WMSvc) was started and configured properly. I also confirm proper IIS Manager permissions for the user I was using to connect with Web Deploy. WMSvc tracing showed IIS was returning a 404 error code when attempting to access https://servername:8172/MsDeploy.axd – the Web Deploy handler in IIS. After much troubleshooting, I stumbled across a stackoverflow post that described the fix. Even though I had installed Web Deploy via the Web Platform Installer, it appears it didn’t actual install the Web Deploy Handler. To resolve this, I manually ran the MSI installer for Web Deploy and selected the appropriate components. After a restart of WMSvc, I was able to successfully connect to IIS from WebMatrix via Web Deploy.

The Web Deploy Windows Installer can be downloaded here:

Post navigation

Leave a Reply Cancel reply

You’re a legend, this helped me find the root cause of my issue also – thanks heaps!

I just went to control panel, found web deploy, changed the install and opted to fully install the handler – god knows why it misses this off on the initial install! There’s logic somewhere i’m sure.

Thanks Jeff & Matt, The Jeff’s original fix and Matt’s short cut helped for a quick resolution to this issue for me.

Thanks. Uninstall / Install / Custom / Select Everything / Restart … Working

I was ripping my hair out wasting hours on steps out there that did not work! Even MS’ own website sux in finding a resolution. YOUR information is the only that worked! Thanks for sharing!

Thank You, that worked!! The strange thing is the Web Platform Installer installed Web Deploy 3.5 which would not work. This was version 2.0 which fixed the problem. I almost didn’t install when I saw the version differences but after fighting this half the day yesterday I decided, why not?! Glad I tried it. Don’t know why but it worked.

This was like a God-sent fix! Thanks guys!

thank you. This blog has fixed the issue. My case has been resolved by restarting wmsvc.

I’ve been sat for 2 hours trying to solve this.

Month: September 2010

ASP.NET Routing gives 404 error

I really like the new .NET 4 (3.5) routing, it is very simple and straight forward to implement – just add some MapPageRoute to your global.asax and then some RouteData.Values to your aspx files 🙂

Anyway it was simple until last night when I was adding routing to an old VB.NET WebSite project. I just could not get it to work, I kept getting HTTP 404 errors:

Error Summary
HTTP Error 404.0 – Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Detailed Error Information
Module IIS Web Core
Notification MapRequestHandler
Handler StaticFile
Error Code 0x80070002

Finally I figured out that I had some stuff missing in my web.config to get this to work, ie making sure the routing module runs.



This is probably not a problem for new projects created in Visual Studio 2010 but obviously my old web.config needed some fixing.

Thanks to this blog post by Ashic Mahtab.

Filter by Label in Gmail

I have just started playing around with Filters in Gmail. This is one thing that took me some time to figure out, how to filter by label. It turns out it was quite easy, it seems you can use any search string in the “Has the words” field of your filter. To get a label you simply put “label:your-label-name” in there.

You will get a warning: “Warning: Filter searches containing “label:”, “in:”, or “is:” criteria are not recommended, as these criteria will never match incoming mail.”
I think this makes sense as incoming email would not have a label.

Leave a Reply

Your email address will not be published. Required fields are marked *