Select to view content in your preferred language

Silverlight 4 and Windows XP query issue

952
3
07-29-2010 08:06 AM
EverardoOmetto
Emerging Contributor
Hi,
My development environment is silverlight 4 with the last Silverlight 4 SDK available, Esri API ver. 1.2, ArcGIS 9.3.1, VS Express 2010 on Windows 7 OS.
Making different tests for some applications on different operating system I have uncovered an unexpected problem.

When I make a Query using QueryTask all work fine on Vista or windows 7 but on windows XP randomly but often the browser freeze (Explorer 7, 8 or Mozilla Firefox 3.6.x is the same), for approximately 10 minutes. After this time the result set is loaded on map.
I thought that the browser was in crash instead??? enough waiting for !

Can happen also that the same query the first time work fine and the second freeze the browser or a query that return 300 elements work fine while a quickly after poor query freeze.

I do not have errors on IIS log neither on ArcGis server log neither on Silverlight application.

I have tested this strange behavior on differents XP machine (all with SP 3 and the last updated and 2GB minumum of ram) and the result is always the same one.
Using FireBug I can view the request sended and the dimension of the response, at that point Firefox freeze for long time (with CPU load at 50%). After this "time hole", the graphics are displayed on map and the system resume the normal functionality. At this point also firebug continues with the next traffic trace.
Any query operation on application developed with Silverlight 3 do not have problems at all on XP machines.

This is a very strange behavior and worrisome panorama because a lot of people (see customers) still have XP machines. Also Silverlight 4 have a lot of news funcionality and a downversioning of rich applications to Silverlight 3 is not a simple way.

Any idea ?
Thanks for any help.
0 Kudos
3 Replies
DominiqueBroux
Esri Frequent Contributor
Did you test with ESRI SL API 2.0 as well?
0 Kudos
EverardoOmetto
Emerging Contributor
Hi,
not yet.
The problem is that the same application work perfectly on Vista and Windows 7 (different machines tested). The problems are only generated by query operations on Silverlight 4 applications on XP. Not problems at all with query on Silverlight 3 and Windows XP.

Maybe something is changed between ver. 1.2 and 2.0 ? But I never read nothing about this problem inside the news of ver. 2.0.
I have found also another thread (http://forums.silverlight.net/forums/p/184542/420830.aspx) in which it is spoken about a similar problem (Silverlight 4 on Windows XP) but generated this time by WebClient DownloadStringAsync().
It is exactly what happen in my tests (it is spoken about 12 minutes for instance).

No other has found similar problems?
Thanks to all in advance
0 Kudos
EverardoOmetto
Emerging Contributor
Hi,
I have followed the suggestion of Mr. Broux and the problem has been resolved ! YES
Then the results of my little inspection about query are:

1. Silverlight 4 and API 1.2 on Vista and Windows 7.....OK !
2. Silverlight 4 and API 1.2 on Windows XP....PROBLEMS !
3. Silverlight 4 and API 2.0 on ALL OS....OK !

Thanks to Mr. Broux and ESRI team.
0 Kudos