Posted on: 2/14/2015 1:17:15 AM | Views : 497

Okay,
So here's the landscape. I'm using .Net Membership with Master pages and for some reason my script keeps on complaining that my webservice is undefined.
My webservice is very simple:
Imports System.Web Imports System.Web.Services Imports System.Xml Imports System.Web.Services.Protocols Imports System.Web.Script.Services Imports System.ComponentModel Namespace Uploads <ScriptService> _ Public Class AuthorisationWS Inherits WebService <WebMethod> _ Public Shared Function MyAuthorisationMethod(ByVal Password As String) As Boolean Dim loggedInUser = HttpContext.Current.User.Identity.Name If Membership.ValidateUser(loggedInUser, Password) Then Return True Else Return False End If End Function End Class End Namespace I've added the .asmx file to the script manager:

Go to the complete details ...