views:

425

answers:

3

Hi there,

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

A: 

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.

AnthonyWJones
A: 

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

andynormancx
A: 

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

Alexander