Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > CMSDesk Widget Errors on Live Server View modes: 
User avatar
Member
Member
mr_phil - 8/1/2012 6:35:52 AM
   
CMSDesk Widget Errors on Live Server
After deploying to our live server CMSDesk can't load the standard widgets on the "My desk" and "On-line marketing" tabs, instead displaying errors such as:

[Error loading the Widget 'AnalyticsChartViewer']
Value cannot be null.
Parameter name: virtualPath

The live server is Windows Server 2003 and "NETWORK SERVICE" has modify permissions on the whole site.

All virtual objects were exported to disk before deployment.

The "Test files" test in Site Manager succeeds.

This problem didn't occur in my development environment. Win7+VS2008+Built-in Web server.

Any ideas please?

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 8/1/2012 7:53:18 AM
   
RE:CMSDesk Widget Errors on Live Server
Hello,

Could you please make sure you have those widgets available in the system? You can check this in CMSSiteManager / Development / Widgets. Please also check if the widgets are setup correctly by comparing them to other widgets, which are working fine. Please amke also sure the web parts are available, which are used in those widgets.

Best regards,
Boris Pocatko

User avatar
Member
Member
mr_phil - 8/2/2012 9:09:06 AM
   
RE:CMSDesk Widget Errors on Live Server
Thanks for the reply. The physical files were there but site manager didn't have any corresponding widget entries.

I think my problem was introduced because I chose to do a clean install of Kentico 6 and point it to a 5.5R2 database that had the 6.0 SQL upgrade script run on it.

I took this approach because a previous attempt at an upgrade left quite a bit of Kentico (uncustomised) code that wouldn't compile and I didn't feel comfortable amending it. There were UrlHelper namespace errors and some e-commerce-related errors because the API had changed.

I went back to my 5.5R2 project, ran the 6.0 upgrade executable, corrected the Kentico code and the correct widget entries were there.

Problem solved.