Empty admin dashboard when updating Kentico8.2 to Kentico9

javier saenz asked on August 17, 2016 16:17

Hello

I'm getting an error when I update Kentico8.2 to Kentico9, the admin dashboard is showing empty then the browser console shows me this issue:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) angular.js:9999
SyntaxError: Unexpected end of JSON input at Object.parse (native) at transformResponse (myURL/CMSPages/GetResource.ashx?scriptmodule=/CMS.ApplicationDashboard/Services/TileResource.js:1:1017) at transformData (myURL/CMSScripts/Vendor/Angular/angular.js:7374:20) at transformResponse (myURL/CMSScripts/Vendor/Angular/angular.js:8069:35) at wrappedErrback (myURL/CMSScripts/Vendor/Angular/angular.js:11511:96) at myURL/CMSScripts/Vendor/Angular/angular.js:11644:92 at Scope.$eval (myURL/CMSScripts/Vendor/Angular/angular.js:12612:44) at Scope.$digest (myURL/CMSScripts/Vendor/Angular/angular.js:12424:53) at Scope.$apply (myURL/CMSScripts/Vendor/Angular/angular.js:12716:44) at done (myURL/CMSScripts/Vendor/Angular/angular.js:8317:61)

I already tried to clear Browser Cache (clear cache hard reload in chrome), Cleared Kentico memory cache, restarted app, Added <runAllManagedModulesForAllRequests="true"> to the web.config Reverted and re-upgraded

Recent Answers


Brenden Kehren answered on August 17, 2016 17:04

Try clearing the cache on the server as well as your browser. This should resolve the issue. If it doesn't, resign your macros.

0 votesVote for this answer Mark as a Correct answer

javier saenz answered on August 17, 2016 17:46

I already cleared the cache on both sides. Also I resigned my macros and I still have the same problem. I'm thinking about a missing dll file but it seems to be ok, so I don't know what it could be. Thanks

0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on August 17, 2016 17:50

Does the Application list show all the apps and you are only missing tiles in the dashboard?

0 votesVote for this answer Mark as a Correct answer

javier saenz answered on August 17, 2016 17:55

Yes, the application list shows all the apps, but when I try to get into any of them it throws this error:
[NullReferenceException: Object reference not set to an instance of an object.] CMS.ApplicationDashboard.UserSettingsJsonDashboardItemsLoader.GetUserSpecificDashboardItems>b__1(UserDashboardSetting s) +3 System.Linq.WhereSelectListIterator2.MoveNext() +114 System.Collections.Generic.List1..ctor(IEnumerable1 collection) +240 System.Linq.Enumerable.ToList(IEnumerable1 source) +42 CMS.ApplicationDashboard.UserSettingsJsonDashboardItemsLoader.GetUserSpecificDashboardItems(UserInfo user) +321 CMS.ApplicationDashboard.ApplicationDashboardModuleHandlers.GetDashboardItems() +120 CMS.ApplicationDashboard.ApplicationDashboardModuleHandlers.RegisterBreadcrumbsPinJavaScript(Object sender, EventArgs e) +436 CMS.UIControls.CMSPage.OnPreRender(EventArgs e) +207 System.Web.UI.Control.PreRenderRecursiveInternal() +106 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4170

0 votesVote for this answer Mark as a Correct answer

Rui Wang answered on August 17, 2016 18:23

Can you try to build the site in Visual Studio and see if there are any API errors?

0 votesVote for this answer Mark as a Correct answer

Dawid Jachnik answered on August 18, 2016 09:02

I had the same error when updating 8.2>9.0. I just only clear the one column in the database through the sql query.

update CMS_UserSettings SET UserDashboardApplications=null Where UserID=XX

After this User has empty dashboard withour any error.

1 votesVote for this answer Mark as a Correct answer

javier saenz answered on August 18, 2016 16:02

@Rui, well I already built it and seems to be ok but the issue is still present.

@Dawid, the problem is that I need the dashboard with all apps, actually it's showing empty

0 votesVote for this answer Mark as a Correct answer

Ondrej Vasil answered on September 11, 2016 17:51

@javier I've encounter this issue and as far as I'm aware, the trick did sign out and sign in back again. Well I've also tried Dawid's suggestion.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.