Where am I going wrong in calling ASMX web methods from jquery?
I have a simple webmethod on an asp.net 2.0 application (using the 1.0 extensions not the 3.5 ajax extensions). I'm attempting to call the method from jQuery and when I do it as the countless examples show on the Internet and here on SO, I get an Internal Server Error message returned. Here's my current code: [WebMethod] [ScriptMethod(ResponseFormat=ResponseFormat.Json)] public string Select(string login) { UserProfile profile = UserProfile.GetUserProfile(login); return "{ FirstName: '" + profile.FirstName + "', " + "LastName: '" + profile.LastName + "', " + "EmailAddress: '" + profile