IIS - Click Once The remote server returned an error: (404) Not Found.

I use IIS to deploy my click once application. It first diplayed an error that a file of type isl couldnt be found. I add that extension to the mime headers and it let that file download. But now it is stuck at a file with extension EXE. No matter what MIME header i add, it still says the 404 not found.
I even tried * to indicate that all file extensions can be downloaded.
LVL 21
surajgupthaAsked:
Who is Participating?
 
jsakhtarConnect With a Mentor Commented:
So it puts a .deploy extension at the end of all the files which allows web servers to handle otherwise restricted file types like exe.
0
 
jsakhtarCommented:
Have it add the ".deploy" extenstion in the click-once settings of your project.

Publish/Options/Use Deploy Extension = checked
0
 
surajgupthaAuthor Commented:
Why do we need to check this?
0
 
surajgupthaAuthor Commented:
coool. Thanks. You are sure of this?
0
 
jsakhtarCommented:
That is it's purpose yes.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.