Select to view content in your preferred language

Error 2032

3026
24
02-21-2012 10:54 AM
AshleyPeters
Frequent Contributor
All,

I receive error 2032 sporadically on my services when an application first loads. The error will clear if I refresh the page. I know others have had the same problem. Is there a resolution?

I'm using Windows Server 2008 R2 Standard.

Thanks!

Ashley
Tags (2)
0 Kudos
24 Replies
FaizanTayyab
Deactivated User
I am having the same issue and have tried all suggestion so far. The problem hasn't gone away. Tried the following and will see how things go from here

Server Options for Caching
When the Cache-Control header needs to be used on non-ASP pages, it may be necessary to use options in the server configuration to add this header automatically. Refer to your server documentation for the process of adding HTTP headers to server responses for a particular directory. For example, in IIS 4, follow these steps:
Invoke the Internet Services Manager.
Using the computer and services tree, open the Default Web Server (or web server in question) and find the directory containing the content that needs the Cache-Control header.
Bring up the Properties dialog for that directory.
Choose the HTTP Headers tab.
Click the Add button in the Custom HTTP Headers group and add "Cache-Control" for the header name and "no-cache" for the header value.
0 Kudos
AshleyPeters
Frequent Contributor
That sounds like the process I had to use to solve my 2032 error.
0 Kudos
AshleyPeters
Frequent Contributor
This is the link I referred to previously. Hopefully, it will help!


'>http://support.microsoft.com/kb/234067
0 Kudos
MattShetzer
Deactivated User
All,
I am still having this 2032 error on two different servers both running IIS with ArcServer v10 and all MXD/MSD published with v10 and the SFV 2.5. Both servers act exactly the same and when I refresh the page, the error goes away and all works as it should.  I've seen many posts through the forums as others have been struggling with this error as well.

I have taken the following steps as to try to resolve it with no luck.

1.  Modified the IIS settings on the HTTP Header to non-cache for the folder which contains the Flexviewer Code (Do I need to set non-caching to other folders as well ?)
2.  Changed the Server to Periodically check and repair data connections for idle instance every 30 minutes
3.  Restart all services at 6am daily.
4.  Added .SWZ files to the Mime per the FAQ for ArcGIS Viewer for Flex

It seems as if many are seeing this error with v2.4 and v2.5, but we didn't see it with prior versions.  If any one has any ideas of a solution that I haven't tried, I'd be very grateful.

Thank you,
Matt Shetzer
0 Kudos
AshleyPeters
Frequent Contributor
Try making the changes to the HTTP header for the default web site.
0 Kudos
MattShetzer
Deactivated User
Ashley,
Thank you for the help.

When I apply the no-cache to the Default web site, I receive an error 500 when I access the folder with the flex code.

Any idea why?

Thanks,
Matt

Try making the changes to the HTTP header for the default web site.
0 Kudos
AshleyPeters
Frequent Contributor
Matt,

Here's the instructions I followed from Microsoft's Support site. I am using Windows Server 2008 R2, so I couldn't follow these steps exactly, but hopefully they'll help.

When the Cache-Control header needs to be used on non-ASP pages, it may be necessary to use options in the server configuration to add this header automatically. Refer to your server documentation for the process of adding HTTP headers to server responses for a particular directory. For example, in IIS 4, follow these steps: �?�Invoke the Internet Services Manager.
�?�Using the computer and services tree, open the Default Web Server (or web server in question) and find the directory containing the content that needs the Cache-Control header.
�?�Bring up the Properties dialog for that directory.
�?�Choose the HTTP Headers tab.
�?�Click the Add button in the Custom HTTP Headers group and add "Cache-Control" for the header name and "no-cache" for the header value.

I hope this helps!
0 Kudos
MattShetzer
Deactivated User
Thanks Ashley,
I am running a 2008 RC2 server and a 2008 server. 

In the folder where the SFV lives I went to HTTP Response Headers and added the Cache-Control - no-cache value.  When I added this value to the Default Web Site, I received error 500 when I tried to access the site.

Did you add the no-cache value to other folders such as ArcGIS,arcgiscache, etc.. or just the Default Web Site.

When I added the Cache-Control value, my web.config file contains:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <httpProtocol>
            <customHeaders>
                <add name="Cache-Control" value="no-cache" />
            </customHeaders>
        </httpProtocol>
    </system.webServer>
</configuration>


Thanks,
Matt
0 Kudos
AshleyPeters
Frequent Contributor
Matt,

I added the cache-control to just the Default Web Site. Also, once I added this control, I was unhappy with the speed of the site, it slowed down considerably. I ended up using Cache-Control: must-revalidate instead. Completely forgot I made that change until I checked the server settings.

Ashley
0 Kudos
MattShetzer
Deactivated User
Thanks for the tip on the must-revalidate.  I was able to apply this to the Default Web Site without the error 500.  Hopefully this will be the fix.

Matt

Matt,

I added the cache-control to just the Default Web Site. Also, once I added this control, I was unhappy with the speed of the site, it slowed down considerably. I ended up using Cache-Control: must-revalidate instead. Completely forgot I made that change until I checked the server settings.

Ashley
0 Kudos