When i re-publish my project to my host, and try to display my view i get this error about 50% of the times depending on how lucky i am

Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerAsyncWrapper'.

my view gets called by

    <div class="m-scene" id="main" style="margin-top: 1rem">
        <div class="m-header scene_element scene_element--fadein scene_element--delayed">
            <div class="containerTable">
                @Html.GetGridHtml(Model.Content, "table")

and this is my method in the controller that should return my view

    public ActionResult Skader(LeBlenderValue data)

        var jsonString = new WebClient { Encoding = System.Text.Encoding.UTF8 }.DownloadString("myStringHere");

        var dbObj = JsonConvert.DeserializeObject<List<SkaderModel>>(jsonString);

        var vm = new MonitorTableViewModel(){Skader = dbObj, gridData = data};
        return PartialView("~/Views/Partials/Monitor/Skader.cshtml", vm);

Related posts

Recent Viewed