Server Error in '/' Application.

Input string was not in a correct format.

Description: An unhandled exception occurred.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FormatException: Input string was not in a correct format.]
   System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +14542542
   System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +174
   IS.Foundation.DFS.Services.<>c.<GetAssetTranscodes>b__8_1(JToken t) in D:\a\1\s\src\Foundation\DFS\code\Services\DfsMetadataService.cs:101
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +241
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +453
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +69
   IS.Foundation.DFS.Services.<>c.<GetAssetTranscodes>b__8_0(JToken item) in D:\a\1\s\src\Foundation\DFS\code\Services\DfsMetadataService.cs:97
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +241
   System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +453
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +69
   IS.Foundation.DFS.Services.DfsMetadataService.GetAssetTranscodes(IEnumerable`1 assetIds, String accessKey) in D:\a\1\s\src\Foundation\DFS\code\Services\DfsMetadataService.cs:97
   IS.Foundation.DFS.Services.DfsMetadataService.GetTranscodedAssetFileSizes(String[] assetIds, String mediaFormatId, String accessKey) in D:\a\1\s\src\Foundation\DFS\code\Services\DfsMetadataService.cs:122
   IS.Feature.DownloadModule.Repositories.DownloadModuleRepository.TranscodeRequiredAssets(List`1 assets, List`1 assetListItems) in D:\a\1\s\src\Feature\Download Module\code\Repositories\DownloadModuleRepository.cs:309
   IS.Feature.DownloadModule.Repositories.DownloadModuleRepository.InitSections(DownloadModuleViewModel model) in D:\a\1\s\src\Feature\Download Module\code\Repositories\DownloadModuleRepository.cs:126
   IS.Feature.DownloadModule.Repositories.DownloadModuleRepository.GetModel() in D:\a\1\s\src\Feature\Download Module\code\Repositories\DownloadModuleRepository.cs:69
   IS.Feature.DownloadModule.Controllers.DownloadModuleController.DownloadModule() in D:\a\1\s\src\Feature\Download Module\code\Controllers\DownloadModuleController.cs:30
   lambda_method(Closure , ControllerBase , Object[] ) +87
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +229
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() +80
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +466
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +524


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0