I get the following warning in chrome developer javascript console:
Uncaught SyntaxError: Unexpected token < http://.../Question.asmx/js (line 1)
Resource interpreted as script but transferred with MIME type text/html. http://.../Question.asmx/js
The HTML source code looks fine:
<script src="../../../Question.asmx/js" type="text/javascript"></script>
I use ASP ScriptManager to include those web services. They work fine, I was just wondering what exactly the problem is and, because I have an OCD problem, how to get rid of the warnings.
EDIT: There is no custom handler involved. It's just a standard WebService that I include by using the scriptmanager:
<asp:ScriptManager runat="server" ID="scm1" EnablePageMethods="true" EnablePartialRendering="true" >
<Services>
<asp:ServiceReference Path="~/Question.asmx" />
</Services>
</asp:ScriptManager>