Uploaded image for project: 'WORKTERRA'
  1. WORKTERRA
  2. WT-10500

Forms Libray > File Download shows server error.

    Details

    • Type: Support Activity
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BenAdmin
    • Labels:
      None
    • Support Task Type:
      Data Correction
    • Reported by:
      Harbinger
    • Company:
      TotalWorks
    • Module:
      BenAdmin - EDS
    • Issue Importance:
      Q2
    • Severity:
      Simple

      Description

      Company : TotalWorks

      Server error gets displayed on click of Download action button in forms library.

      Exception : Unauthorized request of file download. Current active companyID :=12368 does not match with requested download file company ID:=11837
      App Error Log : -
      Employee ID : 4756
      Action Name : DownloadFile
      Model : System.Web.Mvc.HandleErrorInfo
      Controller : Common
      Web Error Log : at WORKTERRA.Shared.Models.DownloadFormModel.ValidateRequestForDownload(String FilePath)
      at WORKTERRA.Shared.Models.DownloadFormModel.DownloadFile(String FileId, String FileName, String FileDescription, String DestinationPath, Boolean DownloadFromWebServer, Boolean IsDeviceCall, Boolean GetFileFromCurrentWebServer)
      at WORKTERRA.Shared.Controllers.CommonController.DownloadFile(String FileId, String FileName, String FileDescription, String DestinationPath, Boolean DownloadFromWebServer, Boolean GetFileFromCurrentWebServer, Boolean AppendGUIDtoFilename, Boolean RemoveGUIDfromFilename)
      at lambda_method(Closure , ControllerBase , Object[] )
      at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.<>c_DisplayClass15.b_12()
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
      at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
      at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

      CC : Jaideep VinchurkarHrishikesh DeshpandeSatya

        Attachments

          Issue Links

            Activity

            Hide
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment -

            this was because of wrong data present in database. when this company was created, must have used database of other companies. forms library files are still refereeing to the old company id. I have corrected data from back end. now it should work .

            Show
            jaideep.vinchurkar Jaideep Vinchurkar (Inactive) added a comment - this was because of wrong data present in database. when this company was created, must have used database of other companies. forms library files are still refereeing to the old company id. I have corrected data from back end. now it should work .

              People

              Assignee:
              prasadp Prasad Pise (Inactive)
              Reporter:
              prasadp Prasad Pise (Inactive)
              Developer:
              Jaideep Vinchurkar (Inactive)
              QA:
              Prasad Pise (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Time Spent - 1h Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - 1h Remaining Estimate - 1h
                  1h