Adding ASMX and ASHX support to Sharepoint 2010

Sharepoint under the hood supports both handlers and old style webservices if you really need these you can add the support into your site byt simply unblocking the file extensions.  If you havn’t unblocked the extensions you will get the following error ‘The file you are attempting to save or retrieve has been blocked from this Web site by the server administrators.’


To unblock file types do the following

* Open ‘Sharepoint 2010 Central Adminstration’

* Click ‘Managed Web Application’

* Highlight the web application that needs the support

* Click ‘Blocked File Types’ on the ribbon

At the top of the list you will see the 2 file types simply delete them and click ok

You will now be able to use handlers and web services.

This entry was posted in .NET, .NET Version 3.5, Error Solving, Share Point 2010, Visual Studio, Visual Studio 2010.

One Response to Adding ASMX and ASHX support to Sharepoint 2010

  1. Gogo says:

    You saved my day:)
    Thanks a lot!

Leave a Reply

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


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>