Type error and Sys JavaScript

I am trying to follow a simple example of AJAX enabled WCF service like: http://www.pluralsight.com/community/blogs/fritz/archive/2008/01/31/50121.aspx

I am getting JavaScript errors. Type is undefined and Sys is undefined. Does this mean there is a problem with one of these .axd things? or something different? How do I troubleshoot Ajax scripting?

+1


source to share


1 answer


Ok. I think I have this one.

Added this to my web.config



<httpHandlers>
<add verb="GET,HEAD" path="ScriptResource.axd"           
     type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>    
</httpHandlers>

      

+2


source







All Articles