Asyncupload errors suddenly appearing

4 posts, 0 answers
  1. Steven
    Steven avatar
    32 posts
    Member since:
    Jul 2012

    Posted 16 May 2013 Link to this post

    1 week ago we pushed out a new release and have started seeing the following error a lot. It's been 8 weeks since our previous release and we are thinking an update has something to do with it. Any ideas what might be causing this? For the most part the uploads are successful so we don't know how to reproduce this error manually.
     

    This is what we are currently running
    Version: 2013.1.417.40

    Path: ...\Telerik.Web.UI_2013_1_417_Dev_hotfix\Bin40\Telerik.Web.UI.dll

    Runtime Version: v4.0.30319


    -----Original Message-----
    From: cmis@n3cn.org [mailto:cmis@n3cn.org]
    Sent: Monday, May 13, 2013 8:54 AM
    To: CMIS Error
    Subject: unHandledException in CMIS - Page:/_dialog/UploadPatientAttachment/UploadPatientAttachment.aspx?RadUrid=eefdd2b0-33ab-46e2-9545-f4ed8efcf1c6
     
    System.IO.FileNotFoundException: Could not find file 'C:\Applications\cmis.n3cn.org\Production\CaseManagement\App_Data\RadUploadTemp\vcfxlbc4.jsp'.
    File name: 'C:\Applications\cmis.n3cn.org\Production\CaseManagement\App_Data\RadUploadTemp\vcfxlbc4.jsp'
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.File.Move(String sourceFileName, String destFileName)
       at NCCCN.CMIS._dialog.UploadPatientAttachment.UploadPatientAttachment.buttonSubmit_Click(Object sender, EventArgs e) in C:\Websites\QA\CMISWeb\_dialog\UploadPatientAttachment\UploadPatientAttachment.aspx.cs:line 79
       at Telerik.Web.UI.RadButton.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
     
    Time: 5/13/2013 8:54:24 AM
     
    Source: mscorlib
  2. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 21 May 2013 Link to this post

    Hi Steven,

    Here is a short list of possible reasons:
    • Expiration time is too low and uploaded file has expired. This could happen if your customers submit uploaded form a few hours after they select file(s).
    • You restart the Application Pool. In this case Application Cache is cleared and files are removed from the temporary folder.

    All the best,
    Hristo Valyavicharski
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Steven
    Steven avatar
    32 posts
    Member since:
    Jul 2012

    Posted 31 May 2013 Link to this post


    Where would we set the Expiration time?

    My understanding then is if someone starts an upload that takes a long time, if they let it run in the background and then come back to it to hit submit, The temp file may have been purged?
  5. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 04 Jun 2013 Link to this post

    Hi Steven,

    Expiration time could be controlled by setting TemporaryFileExpiration property.
    Default value is 4 hours. If users doesn't submit form during this time the file will be removed.

    Regards,
    Hristo Valyavicharski
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top