Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 May : Exceptions after MSXML2_TLB upgrade

www.cryer.info
Managed Newsgroup Archive

Exceptions after MSXML2_TLB upgrade

Subject:Exceptions after MSXML2_TLB upgrade
Posted by:"Sham" (shamre..@inspirationmatters.com)
Date:Thu, 19 May 2005 18:14:20

Hi,

I built my app with MSXML2_TLB and seem to now be getting timeout errors. My
code was working fine for months and then suddenly it is giving "Max line
length exceeded errors". When I increased the maxLineLength I get other
exceptions being raised.

Do I have to recompile the indy components with MSXML2_TLB?

Code is:

    IdHTTP := TidHTTP.Create(nil);
    try
//      idHTTP.MaxLineLength := 10000000;
      IdHTTP.ConnectTimeout := 30000;
      httpXMLData := IdHTTP.Get(specificURL);
    except
      raise Exception.Create('HTTP Error at : ' + DateTimeToStr(now) + ' for
' + specificURL);
    end;

Sham.

Replies:

www.cryer.info
Managed Newsgroup Archive