By dsandor at July 16, 2009 23:53
Filed Under:
If you publish a .NET application to an IIS 7 server click once deployment fails with HTTP 404 errors on .manifest, .application, and .deploy files.
After googling I found a blog article that went through a bunch of horribly poor suggestions involving giving administrative access to the IIS account and installing IIS 6 compatibility features on the server. In a word: unnecessary.
The solution is simple:
Add a script map into the application context that maps the .deploy, .manifest, and .application extentions to the aspnet_isapi script handler.

Request Path
*.manifest
Executable
%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
Name
(Whatever you want, I called mine ClickOnce1 - 3)

886842ad-740a-4e39-ab21-7c9e779a62c0|0|.0
Tags: