I am writing a aspx page which simply calls a webservice. I already tried this when the webservice and the aspx page were on the same server.
However, now I am trying to call it from a different server.
But I am getting the following error:
BC30205: End of statement expected.
The line of code it is breaking out on is:
Dim WS As New programer-2.service1
programer-2 is the name of the server and service1 is thename fo the webservice. is it a problem with the hypen in the computer name???
IS there a workaround for this??
PLease let me know if you have any answers for me thanks.