-
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
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)
- relates to
-
WT-10419 TotalWorks Demo Site
-
- Closed
-
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 .