Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bryan Spooner 2 posts 72 karma points
    Apr 18, 2018 @ 19:39
    Bryan Spooner
    0

    Cannot Create New Content - 500 Error in Content/PostSave

    Version 7.4.1

    The site has been in production for over a year and is relatively static. No new content has been added for a few months. Today we cannot add any new content without receiving the below error. We can however update any existing content. The problem is also happening on our dev server and local instances. I checked the SQL user and it is DB_owner.

    Any ideas?

    /umbraco/backoffice/UmbracoApi/Content/PostSave:1 Failed to load resource: the server responded with a status of 500 (Internal Server Error)

    An error occured One or more errors occurred.

    EXCEPTION DETAILS System.AggregateException: One or more errors occurred. [DEFAULTDIALOGSSTACKTRACE] at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at Umbraco.Web.WebApi.Binders.ContentItemBaseBinder`2.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext) at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken) at System.Web.Http.Controllers.HttpActionBinding._1.MoveNext()

  • Bryan Spooner 2 posts 72 karma points
    Apr 19, 2018 @ 12:04
    Bryan Spooner
    0

    The error is reported in angular.min.js?cdv=798372529:formatted:3310 with the specific line below.

        function dd(b, a, c, d, e, g) {
        function i(a, b) {
            var c = e.createElement("script")
              , d = function() {
                e.body.removeChild(c);
                b && b()
            };
            c.type = "text/javascript";
            c.src = a;
            Z ? c.onreadystatechange = function() {
                /loaded|complete/.test(c.readyState) && d()
            }
            : c.onload = c.onerror = d;
            e.body.appendChild(c);
            return d
        }
        return function(e, h, j, m, k, l, u, o) {
            function z() {
                p = -1;
                t && t();
                w && w.abort()
            }
            function r(a, d, e, f) {
                var j = (h.match(jb) || ["", g])[1];
                A && c.cancel(A);
                t = w = null;
                d = j == "file" ? e ? 200 : 404 : d;
                a(d == 1223 ? 204 : d, e, f);
                b.$$completeOutstandingRequest(q)
            }
            var p;
            b.$$incOutstandingRequestCount();
            h = h || b.url();
            if (I(e) == "jsonp") {
                var x = "_" + (d.counter++).toString(36);
                d[x] = function(a) {
                    d[x].data = a
                }
                ;
                var t = i(h.replace("JSON_CALLBACK", "angular.callbacks." + x), function() {
                    d[x].data ? r(m, 200, d[x].data) : r(m, p || -2);
                    delete d[x]
                })
            } else {
                var w = new a;
                w.open(e, h, !0);
                n(k, function(a, b) {
                    a && w.setRequestHeader(b, a)
                });
                w.onreadystatechange = function() {
                    if (w.readyState == 4) {
                        var a = w.getAllResponseHeaders()
                          , b = ["Cache-Control", "Content-Language", "Content-Type", "Expires", "Last-Modified", "Pragma"];
                        a || (a = "",
                        n(b, function(b) {
                            var c = w.getResponseHeader(b);
                            c && (a += b + ": " + c + "\n")
                        }));
                        r(m, p || w.status, w.responseType ? w.response : w.responseText, a)
                    }
                }
                ;
                if (u)
                    w.withCredentials = !0;
                if (o)
                    w.responseType = o;
                w.send(j || "")  // Error is on this line
            }
            if (l > 0)
                var A = c(z, l);
            else
                l && l.then && l.then(z)
        }
    }
    
Please Sign in or register to post replies

Write your reply to:

Draft