Question

I'm using II7 and bits down loader to deploy my application to customers. Can someone please tell me how to allow asmx files to be downloaded and not executed on IIS 7.

I tried to do this with the MIME type, but no luck.

Regards

Was it helpful?

Solution

In IIS manager navigate to your site. In the features view panel in the IIS area open the Handler Mappings. Remove *.asmx from the handler mappings.

OTHER TIPS

Simple solution would be to use compressed ZIP-archive. Write a little script to uncompress and deploy the files to their IIS folder -> Done!

You need to remove the handlers mappings for *.asmx files and as well as adding a MIME type for *.asmx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top