Groups > Asp .Net > ASP.NET XML Web Services > Re: Error msg coming while calling web service..




Error msg coming while calling web service..

Error msg coming while calling web service..
Fri, 28 Mar 2008 12:31:40 +000
Hi 

I have made a web service. This web service searches words in my data base. Now
when any search takes more than 1 min my web service throws an exception..

 System.Web.Services.Protocols.SoapException: Server was unable to process
request. ---> System.ArgumentException: The empty string '' is not a valid
name.
   at System.Xml.XmlTextWriter.ValidateName(String name, Boolean NCName)
   at System.Xml.XmlTextWriter.WriteQualifiedName(String localName, String ns)
   at
System.Web.Services.Protocols.Soap11ServerProtocolHelper.WriteFault(XmlWriter
writer, SoapException soapException, HttpStatusCode statusCode)
   at System.Web.Services.Protocols.SoapServerProtocol.WriteException(Exception
e, Stream outputStream)
   at System.Web.Services.Protocols.WebServiceHandler.WriteException(Exception
e)
   at System.Web.Services.Protocols.WebServiceHandler.Invoke()
   at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
 

I am not getting why I am getting this error. If anybody could help me ? If I am
unclear anywhere , Plz let me know ?

 

Thanks and Regards,
Post Reply
Re: Error msg coming while calling web service..
Mon, 31 Mar 2008 14:39:01 +000
Hi,

 

I got solution. As I said my query was taking time.. So I had to increase the
CommandTimeout of command object and that solved my problem.

Thanks and Regads
Post Reply
about | contact