How to remove invalid control characters

Last Reply on Feb 10, 2014 03:48 AM By Mudassar

Posted on Feb 07, 2014 10:24 PM

can someone help me please??

I used many methods but not getting the output, till yesterday it was working but cant understand now whats happening??

i enter the right data but still it returns this error:

"Invalid control characters"

see my code;

public string officelist(string uname, string pwd, long id)
  WebReference,CommonWSEndPointService eps = new
  string url = "xxxxxxxxxxxxxxx?wsdl";
  HttpWebrequest  req  =  (HttpWebRequest)WebRequest.Create(url);
  req.connection = eps.m291524(uname,pwd, id);
string conn = req.connection;
return con;


Posted on Feb 10, 2014 03:45 AM

If it is in Web Service and that's not developed by you then yes. You need to contact the company and ask them to help you.

They will guide you and let you know the issue

Posted on Feb 10, 2014 03:48 AM

If its in your code I can help but any third party service I cannot