Skip to content Skip to sidebar Skip to footer

C# Jquery Object Reference Not Set To An Instance Of An Object

I have a webservice in c# and I am calling it from my jquery script. This is the webservice in c# [WebMethod] [ScriptMethod(UseHttpGet = true)] public void LoadService2Daily(string

Solution 1:

The URL which is being generated has square brackets, can you please check whether this will work without square brackets i.e without %5B and %5D(without url encoding)

http://localhost:4025/vmp_webservice.asmx/LoadService2Daily?fromDate=2014-05-25+00%3A00%3A00&toDate=2014-05-25+23%3A59%3A01&campaigns=default&campaigns=Support

Post a Comment for "C# Jquery Object Reference Not Set To An Instance Of An Object"