<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IActiveView.Output times out in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49646#M1279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like ArcMap / ArcEngine is having problems downloading the generated image. Check that the output directory of your ArcGIS Server has a virtual path that is accessible to your client. Also maybe check to see if your client is using a proxy server for outgoing internet connections?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Oct 2010 10:03:20 GMT</pubDate>
    <dc:creator>OttarViken_Valvåg</dc:creator>
    <dc:date>2010-10-21T10:03:20Z</dc:date>
    <item>
      <title>IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49634#M1267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use IMapDocument and its ActiveView.Output to export a bitmap from an MXD documen to a bitmap. This works just fine with an MXD with local data. However, when exporting from an MXD connected to an ArcGIS Server Map Service, the output method seems to time out, and nothing is exported to the bitmap.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the jobs folder on the arcgisserver, I can see new cache images are crated for the extent I exported. If I zoom out one level, and back in, I get the map image. So in other words I have to export to every extent twice to get an exported map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the reason for this? Is there a timeout setting I have yet to find? The code for exporting is pretty much what you see on different threads here. I do not believe it is the actual code used to export which is the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use ArcObjects 9.3. I've seen in version 10 there is an ITrackCancel2 interface which has a Timeout property, which might be something I'm looking for. But I hope there is a different way of allowing the Output to wait a bit longer for result from the MapServer service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Oct 2010 10:23:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49634#M1267</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-14T10:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49635#M1268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Bjørnar, it would be easier to comment if you did show us your code, even if it's copied from a sample.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 09:38:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49635#M1268</guid>
      <dc:creator>OttarViken_Valvåg</dc:creator>
      <dc:date>2010-10-15T09:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49636#M1269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If I call the following method twice, it works, but exporting the same image twice every time i need an image is not an option. Most of the time i will be using an MXD pointing to local data, and doubling the already long export time is not exactly ideal. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
private Bitmap GetImageFromJpegExporter(tagRECT rect, CancelTracker trackCancel)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; string filename = Guid.NewGuid().ToString();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tagRECT exportRECT = _mapDocument.ActiveView.ExportFrame;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Create a new envelope object and populate it with the values from exportRECT.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // We need to do this because the exporter object requires an envelope object
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // instead of a tagRECT structure.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IEnvelope pPixelBoundsEnv = new EnvelopeClass();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pPixelBoundsEnv.PutCoords(exportRECT.left, exportRECT.top, exportRECT.right, exportRECT.bottom);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IExport export = new ExportJPEGClass
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resolution = 96,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ExportFileName = filename,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PixelBounds = pPixelBoundsEnv
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Stopwatch watch = new Stopwatch();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; watch.Start();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int hwnd = export.StartExporting();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _mapDocument.ActiveView.Output(hwnd, 96, ref rect, _mapDocument.ActiveView.Extent, trackCancel);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export.FinishExporting();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; export.Cleanup();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; watch.Stop();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Trace.WriteLine("Export took " + watch.ElapsedMilliseconds + " ms");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bitmap fromFileBitmap = new Bitmap(filename);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Copy fromFileBitmap because it keeps a lock on the file 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Bitmap returnBitmap = new Bitmap(fromFileBitmap);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fromFileBitmap.Dispose();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return returnBitmap;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; finally
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(File.Exists(filename))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; try
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File.Delete(filename);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch (Exception)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 21:55:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49636#M1269</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2021-12-10T21:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49637#M1270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is your mxd using an internet connection or a local connection to the AGS map service? You could test whether or not this makes a difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If exporting twice is what it takes to make things work, a workaround might be to cancel the first export operation after one second and then redoing the export.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 10:22:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49637#M1270</guid>
      <dc:creator>OttarViken_Valvåg</dc:creator>
      <dc:date>2010-10-15T10:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49638#M1271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I use a local connection to the mapservice. Canceling the operation after a little while is just as bad as exporting twice in my book. The second call will never be necessary if the data is local (fgdb), as the map image will be available in the first export.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been looking through the interfaces used by MapDocument to see if I can find a way to set any settings in case a mapservice/wms layer is in use, but no luck so far. There has to be some way to tell the map that we want to change settings on how it interacts with a remote source?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 10:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49638#M1271</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-15T10:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49639#M1272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can just loop through your layers and see which interfaces they implement. ArcGIS Server Map Services should be contained in IMapServerSublayer interfaces, and WMS layers should be IWMSLayer interfaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IMapServerSublayer_Interface/001200000m2p000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IMapServerSublayer_Interface/001200000m2p000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IWMSMapLayer_Interface/001200000rwt000000/"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#/IWMSMapLayer_Interface/001200000rwt000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 11:07:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49639#M1272</guid>
      <dc:creator>OttarViken_Valvåg</dc:creator>
      <dc:date>2010-10-15T11:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49640#M1273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Checking for those interfaces to determine if I should export the map once or twice does work. However, I feel this is a hack in the programming-by-coincidence category. Who's to say this is not an issue on a different ArcGIS server installation, or that on the next, I need to export three times because of some other delay?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any further information on how to fix what is going wrong here would be highly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjørnar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 11:54:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49640#M1273</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-15T11:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49641#M1274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you try to change your connection to ArcGIS Server to an internet connection?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 11:56:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49641#M1274</guid>
      <dc:creator>OttarViken_Valvåg</dc:creator>
      <dc:date>2010-10-15T11:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49642#M1275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No. Our server is not exposed to the internet, and the GIS guy left for the weekend and I have no ArcMap on a machine available to me&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 12:12:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49642#M1275</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-15T12:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49643#M1276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I changed the Output type of the service to MIME only instead of MIME + URL, and that did the trick. I get the image on the first attempt. What kind of consequences will this have on performance? From what I can see, the images generated to the argcisoutput directory has a very limited time of life, so the will not really serve as a proper cache.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 08:31:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49643#M1276</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-18T08:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49644#M1277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When using MIME access, the output image is stored as a .tmp file in the output directory, streamed to the client, and then deleted. When using url access, the output image is stored as an image file in the output directory, its url is returned to the client, and the image will reside in the output directory for 10 minutes. So the output directory never serves as a cache, it's just a means for returning dynamically generated images to the client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Using MIME access instead of URL access has no negative impact on performance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 08:06:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49644#M1277</guid>
      <dc:creator>OttarViken_Valvåg</dc:creator>
      <dc:date>2010-10-21T08:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49645#M1278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Ottar. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any luck/time finding out what is really going on, and why it doesn't work when using MIME + URL?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, we have pretty much the same problem when using a WMS layer in the mxd used by the client. We get the map image, but WMS layer is absent from the image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjørnar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 08:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49645#M1278</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-21T08:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49646#M1279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It sounds like ArcMap / ArcEngine is having problems downloading the generated image. Check that the output directory of your ArcGIS Server has a virtual path that is accessible to your client. Also maybe check to see if your client is using a proxy server for outgoing internet connections?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 10:03:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49646#M1279</guid>
      <dc:creator>OttarViken_Valvåg</dc:creator>
      <dc:date>2010-10-21T10:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49647#M1280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No issues with proxy. I checked the virtual path setup, and tested it. So did Toni, so it seems to be working as it should. I think the WMS issue is the most pressing matter at the moment.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Oct 2010 10:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49647#M1280</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-21T10:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: IActiveView.Output times out</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49648#M1281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just noticed something interesting; when having an MXD with a reference to a WMS layer, the export operation returns an empty image. However, a PNG for the requested area is created in the temp folder for my user. The output method fails in other words to draw that layer onto the hdc passed into the Output method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The case is the same with the ArcGIS Map Server request where I get an empty image the first time I export an image, and get it the next time. This was, as described in an earlier post, resolved by changing from MIME + URL to MIME for output type for the service. This temp file is also created when output is MIME only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is the Output method not rendering the WMS and ArcGIS Map layers to the hdc when it is obviously retrieving the image and should be able to do so?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bjørnar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 11:27:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/iactiveview-output-times-out/m-p/49648#M1281</guid>
      <dc:creator>BjørnarSundsbø</dc:creator>
      <dc:date>2010-10-27T11:27:21Z</dc:date>
    </item>
  </channel>
</rss>

