Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

Blank screen when viewing multisite management

« Go Back

Information

 
Article Number000102291
EnvironmentProduct: Sitefinity
Version: 7.x, 8.x, 9.x, 10.x, 11.x, 12.x
OS: All supported OS versions
Database: All supported Microsoft SQL Server versions
Question/Problem Description
When a user visits the multisite management, a blank screen is presented. An error with message ""Cannot read property 'htmlEncode' of null" is observed in the browser console.
Steps to Reproduce
Clarifying Information
Error Message"Cannot read property 'htmlEncode' of null
at Telerik.Sitefinity.Multisite.Web.UI.SitesView.eval (eval at compile (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl07_TSM&compress=0&_TSM_CombinedScripts_=%3b%3bTelerik.Sitefinity.Resources%3aen%3adc0bdfa0-c75b-4e7b-a5d9-2fa255cefa26%3ab162b7a1%3bTelerik.Sitefinity%3aen%3a0a3e639f-292e-470a-8763-97128c52fedb%3a993d8e92%3bTelerik.Sitefinity.Resources%3aen%3adc0bdfa0-c75b-4e7b-a5d9-2fa255cefa26%3ad4b35ef7%3a7ee0bb1f%3a83eb063b:1), <anonymous>:5:243)"
Defect/Enhancement Number
Cause
There is a corrupted entry in the sf_sites table.
Resolution
1. Check the entries in the sf_sites table and find the corrupted one
SELECT *
FROM sf_sites
The corrupted site will have NULL or empty string values for most of the columns (including the 'nme' column)

2. After identifying the corrupted entry delete the records associated with it:

    Ensure to create database backup before executing the below queries
DELETE FROM sf_sites_sf_permissions 
WHERE id = '<site id>'

DELETE FROM sf_permissions_inheritance_map 
WHERE child_object_id = '<site id>'

DELETE FROM sf_sites 
WHERE id = '<site id>'

3. Restart the site
Workaround
Notes
Attachment 
Last Modified Date3/25/2020 4:21 PM