Atalasoft
Welcome to Atalasoft Community Sign in | Join | Help
in

Problem with ImageCache in Webviewer

Last post 09 Feb 2008, 1:34 PM by Werdna. 3 replies.
Sort Posts: Previous Next
  •  30 Jan 2008, 3:25 PM 13060

    Problem with ImageCache in Webviewer

    We’ve got an imaging application that uses the Webviewer, version 5.0.2837.18515.

    We are partnered with another company and they use our website to display images, and our page is usually placed in an IFrame on their page.  Everything has been working fine, but there is one place in their web app that they allow users to select various documents and display all of the selected documents in the same page, probably in Iframes, one after the other.  This is when we start having a problem.  On various images we get an error message where the image normally is saying :

    An error has occurred.

    C:\SQL2005Conversion\XXXXX.jpg does not exist.

     The detailed error message is:

     size: {Width=102, Height=183} pos: {X=521,Y=521}

     
    atalagettile=true&atala_id=SinglePageViewer&atala_tx=512&atala_ty=512&atala_si=ImageCache%2fijya4pzwoay3j4452gcpfc55mainviewpanel_aspxSinglePageViewer_si_00015.jpg&atala_fi=0&atala_rnd=22625066&atala_z=0.9820261437908496&atala_ad=3&atala_tw=100&atala_th=180

     
    C:\SQL2005Conversion\MSFW\ImagingChristie20061\ImageCache\ijya4pzwoay3j4452gcpfc55mainviewpanel_aspxSinglePageViewer_si_00015.jpg does not exist.

     
       at Atalasoft.Imaging.WebControls.WebViewerControl.MapUrlPath(String urlToImage)
      at Atalasoft.Imaging.WebControls.WebImageViewer.c()
       at Atalasoft.Imaging.WebControls.WebImageViewer.a(Rectangle A_0)
       at Atalasoft.Imaging.WebControls.WebImageViewer.b()

    System.String MapUrlPath(System.String)

     

    I can’t find anything that would explain what is happening here.

    Any help would be appreciated.

     Here are the settings from our Web.config:

                 <add key="AtalasoftWebControls_Cache" value="ImageCache/"/>
               
    <
    add key="AtalasoftWebControls_DisableCache" value="false"/>

    Filed under: ,
  •  31 Jan 2008, 11:22 AM 13070 in reply to 13060

    Re: Problem with ImageCache in Webviewer

    The most important Web.config value for the Atalasoft cache is:

    <add key="AtalasoftWebControls_CacheLifeTime" value="60"/>

    What is yours set to?

    In general, it is best to set this value to same length of time your "Session timeout" is set to.  You can find this value by following these steps:

    1. Load up the IIS control panel
    2. Right click on the web application in question, and select "Properties"
    3. On the "Virtual Directory" tab, click the "Configuration" button
    4. On the "Application Configuration" dialog, select the "Options" tab, under "Enable session state" there should be a value marke "Session timeout"

    David Cilley
    My AJAX Imaging Blog
    Atalasoft Development Team
    Filed under: ,
  •  04 Feb 2008, 12:30 PM 13092 in reply to 13070

    Re: Problem with ImageCache in Webviewer

    I didn't have that setting, but added it and made it match the session value.  Still having same problem. 

    We have your gold level support, I'll start a case on it.
     

  •  09 Feb 2008, 1:34 PM 13162 in reply to 13092

    Re: Problem with ImageCache in Webviewer

    I see a lot of those errors as well.
    In my case, it happens when the user is viewing an image in image viewer and either does something to the imgage (thru provided UI tools) or navigates to another page and uses browser back button to navigate back to the image viewer.

View as RSS news feed in XML