Smartclient takes 2 minutes to render a object -
08-13-2005
, 08:04 AM
HI,
I have made a smartclient by using the object tag to render a dotnet object
in a html page.
The code in the dll is
WebClient wc = new WebClient();
wc.Credentials = CredentialCache.DefaultCredentials;
System.IO.Stream sResponseStream;
sResponseStream= new MemoryStream(wc.DownloadData(strUrl));
return Image.FromStream(sResponseStream);
This takes around 2 seconds on normal machines. However on some machines
this takes around 2 minutes!!! Any idea why this could be happening ?
Regards
Aparna |