We are using the ArcGIS 10 web adf with C# in a web application. We just recently upgraded everything from 9.3 to 10 and moved all the hosted stuff over to a new (more powerful) server. Still on the same network.
During the Page_PreRender event, we get the full extent envelope of our map, which is fast, and then set our map's extent to it.
Code in question...
Envelope fullExtent = AgsHelper.GetExtent(Map1, ExtentType.Map);
Map1.Extent = fullExtent;
The second line there takes a really long time (like 30-40 seconds).
I can't claim to be an ArcGIS expert. I'm wondering if anyone has ideas of what I could look at or what it might be.
I decompiled the code that does the setting of the extent and took a look at the code, but I can't really tell much without being able to debug into it and I can't do that since I don't have a reflector license and my trial is up.
Pretty sure this is some sort of SDE or ArcGIS Server issue, I just don't know what it would be.
Thanks!