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.

Comments are closed.