Sunday, May 1, 2011

Subsonic REST 404 error

I'm trying to use the REST interface with Subsonic, but am not having any luck.

I have this in the web.config

<httpHandlers>
      <add type="SubSonic.WebUtility.RESTHandler, Subsonic" path=".xml" verb="*"/>
</httpHandlers>

and just to test that I have a version of Subsonic that has this functionality, this works fine (doesn't do anything but I get the Intellisense and it compiles fine):

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    Dim dr As New SubSonic.WebUtility.RESTHandler

End Sub

But when I try a URL like http://localhost:59271/CBVA35/schedule/list.xml, I get a 404 error.

From stackoverflow

0 comments:

Post a Comment